summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/insane.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 9605ac2bae..f856cf6a2b 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -340,9 +340,11 @@ def package_qa_textrel(path, name, d, elf, messages):
340 for line in phdrs.split("\n"): 340 for line in phdrs.split("\n"):
341 if textrel_re.match(line): 341 if textrel_re.match(line):
342 sane = False 342 sane = False
343 break
343 344
344 if not sane: 345 if not sane:
345 package_qa_add_message(messages, "textrel", "ELF binary '%s' has relocations in .text" % path) 346 path = package_qa_clean_path(path, d, name)
347 package_qa_add_message(messages, "textrel", "%s: ELF binary %s has relocations in .text" % (name, path))
346 348
347QAPATHTEST[ldflags] = "package_qa_hash_style" 349QAPATHTEST[ldflags] = "package_qa_hash_style"
348def package_qa_hash_style(path, name, d, elf, messages): 350def package_qa_hash_style(path, name, d, elf, messages):