The binaries has relocation code inside text section which is not a
good practice however this is a known issue and we shouldn't bother
user with many warnings during the build for it as it might end
covering real issues.
Change-Id: Id027c7c7bd05bb7aa44150892d92f7ea49d2e3a8
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
# FIXME: All binaries lack GNU_HASH in elf binary but as we don't have
# the source we cannot fix it. Disable the insane check for now.
for p in d.getVar('PACKAGES', True).split():
- d.setVar("INSANE_SKIP_%s" % p, "ldflags")
+ d.setVar("INSANE_SKIP_%s" % p, "ldflags textrel")
}
# Ensure we get warnings if we miss something