diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-03-03 13:53:43 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-04 17:14:15 +0000 |
commit | bf6ce6ecc855bf9d7f7d9d301e38591d2ab87db2 (patch) | |
tree | e0a27af5c58e598e1dac2613593b0f9652db3efd /meta | |
parent | 2991089391bd55e55b7774903a6cb96d1eed82a1 (diff) | |
download | poky-bf6ce6ecc855bf9d7f7d9d301e38591d2ab87db2.tar.gz |
insane: Accomodate llvm-objdump
llvm-objdump emite MIPS_XHASH where as GNU objdump emits DT_MIPS_XHASH,
checking for shorted sequence makes this check work in both cases
mips-yoe-linux-objdump -p libx264.so.163 | grep XHASH
DT_MIPS_XHASH 0x00000168
mips-yoe-linux-llvm-objdump -p libx264.so.163 | grep XHASH
MIPS_XHASH 0x00000168
both are same things
(From OE-Core rev: 45390aee03ad0adfcabf6d96109e73136436acad)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/insane.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 3c8d49f13b..270b7860c7 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -429,7 +429,7 @@ def package_qa_hash_style(path, name, d, elf, messages): | |||
429 | for line in phdrs.split("\n"): | 429 | for line in phdrs.split("\n"): |
430 | if "SYMTAB" in line: | 430 | if "SYMTAB" in line: |
431 | has_syms = True | 431 | has_syms = True |
432 | if "GNU_HASH" in line or "DT_MIPS_XHASH" in line: | 432 | if "GNU_HASH" in line or "MIPS_XHASH" in line: |
433 | sane = True | 433 | sane = True |
434 | if ("[mips32]" in line or "[mips64]" in line) and d.getVar('TCLIBC') == "musl": | 434 | if ("[mips32]" in line or "[mips64]" in line) and d.getVar('TCLIBC') == "musl": |
435 | sane = True | 435 | sane = True |