diff options
author | Sumit Garg <sumit.garg@linaro.org> | 2020-09-01 18:29:23 +0530 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2020-09-02 17:11:46 -1000 |
commit | af265eca8c95ba92718b37e62b5b4eeb2f17668c (patch) | |
tree | f52bdeaaef09657d4a6bc5ceab6fa00b445219aa | |
parent | cf6cab12ca7ff40ac484cdaf27ea91ed49b901b0 (diff) | |
download | openembedded-core-contrib-af265eca8c95ba92718b37e62b5b4eeb2f17668c.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]
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 996010f1b9ca98592e2c87e1adcb0c79b86517b7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-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 1d76ae7c1d..12ae44d4d1 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -437,7 +437,7 @@ def package_qa_hash_style(path, name, d, elf, messages): for line in phdrs.split("\n"): if "SYMTAB" in line: has_syms = True - if "GNU_HASH" or "DT_MIPS_XHASH" in line: + if "GNU_HASH" in line or "DT_MIPS_XHASH" in line: sane = True if ("[mips32]" in line or "[mips64]" in line) and d.getVar('TCLIBC') == "musl": sane = True |