summaryrefslogtreecommitdiff
path: root/src/elflint.c
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2014-07-04 14:30:48 +0200
committerMark Wielaard <mjw@redhat.com>2014-07-04 14:30:48 +0200
commita95c4ad24cf83b2b0273fee73162bf476cebec8f (patch)
treea50510b5ef12ec3ea8a68bf73e38f0e5f818ae17 /src/elflint.c
parent16e2d351bf31d0ce09ce9632ff196cbd973b656b (diff)
downloadelfutils-a95c4ad24cf83b2b0273fee73162bf476cebec8f.tar.gz
Add ppc64le ELFv2 abi support to backends and elflint.
The big endian vs little endian changes are already handled by detecting the EI_DATA data encoding. And the function descriptors are already not used when we see there is no .opd section. This change adds new checks for st_other bits, new relocations and recognizes DT_PPC64_OPT. Signed-off-by: Menanteau Guy <menantea@linux.vnet.ibm.com> Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'src/elflint.c')
-rw-r--r--src/elflint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/elflint.c b/src/elflint.c
index 5568c65c..d6a47748 100644
--- a/src/elflint.c
+++ b/src/elflint.c
@@ -799,7 +799,8 @@ section [%2d] '%s': symbol %zu: function in COMMON section is nonsense\n"),
&& strcmp (name, "__fini_array_end") != 0
&& strcmp (name, "__bss_start") != 0
&& strcmp (name, "__bss_start__") != 0
- && strcmp (name, "__TMC_END__") != 0))
+ && strcmp (name, "__TMC_END__") != 0
+ && strcmp (name, ".TOC.") != 0))
ERROR (gettext ("\
section [%2d] '%s': symbol %zu: st_value out of bounds\n"),
idx, section_name (ebl, idx), cnt);