summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumit Garg <sumit.garg@linaro.org>2020-09-01 18:29:23 +0530
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-10 19:07:40 +0100
commit572cfbabc23634b6bd1bf343cebdeec9ef9abd25 (patch)
tree7a5c02301914aa809724dd300442132c3fe849bb
parent1f42bb0cb08a649acc59d372fbc1b2729129ec34 (diff)
downloadpoky-572cfbabc23634b6bd1bf343cebdeec9ef9abd25.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: af265eca8c95ba92718b37e62b5b4eeb2f17668c) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/insane.bbclass2
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):
437 for line in phdrs.split("\n"): 437 for line in phdrs.split("\n"):
438 if "SYMTAB" in line: 438 if "SYMTAB" in line:
439 has_syms = True 439 has_syms = True
440 if "GNU_HASH" or "DT_MIPS_XHASH" in line: 440 if "GNU_HASH" in line or "DT_MIPS_XHASH" in line:
441 sane = True 441 sane = True
442 if ("[mips32]" in line or "[mips64]" in line) and d.getVar('TCLIBC') == "musl": 442 if ("[mips32]" in line or "[mips64]" in line) and d.getVar('TCLIBC') == "musl":
443 sane = True 443 sane = True