diff options
author | Sumit Garg <sumit.garg@linaro.org> | 2020-09-01 18:29:23 +0530 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-02 16:00:46 +0100 |
commit | c1b2e1b424407f33bfb082d9992d8b553f4735cd (patch) | |
tree | 98effb3bb44063281d38bb9d17724228bf4eb571 /meta | |
parent | f50b17b556cc7b1c99f3d9f75f19d50f23df303d (diff) | |
download | poky-c1b2e1b424407f33bfb082d9992d8b553f4735cd.tar.gz |
insane: fix gnu-hash-style check
Fix gnu-hash-style check that always returned True after commit [1]
leading to false positive presence of "GNU_HASH" in objdump output.
Fixes: 9ff90bf04a4c ("mips: Enable gnu-hash-style on glibc") [1]
(From OE-Core rev: 996010f1b9ca98592e2c87e1adcb0c79b86517b7)
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
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 ee19ef673e..c32bf25124 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -438,7 +438,7 @@ def package_qa_hash_style(path, name, d, elf, messages): | |||
438 | for line in phdrs.split("\n"): | 438 | for line in phdrs.split("\n"): |
439 | if "SYMTAB" in line: | 439 | if "SYMTAB" in line: |
440 | has_syms = True | 440 | has_syms = True |
441 | if "GNU_HASH" or "DT_MIPS_XHASH" in line: | 441 | if "GNU_HASH" in line or "DT_MIPS_XHASH" in line: |
442 | sane = True | 442 | sane = True |
443 | if ("[mips32]" in line or "[mips64]" in line) and d.getVar('TCLIBC') == "musl": | 443 | if ("[mips32]" in line or "[mips64]" in line) and d.getVar('TCLIBC') == "musl": |
444 | sane = True | 444 | sane = True |