summaryrefslogtreecommitdiffstats
path: root/backends/ppc64_init.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2014-07-04 14:30:48 +0200
committerMark Wielaard <[email protected]>2014-07-04 14:30:48 +0200
commita95c4ad24cf83b2b0273fee73162bf476cebec8f (patch)
treea50510b5ef12ec3ea8a68bf73e38f0e5f818ae17 /backends/ppc64_init.c
parent16e2d351bf31d0ce09ce9632ff196cbd973b656b (diff)
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 <[email protected]> Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'backends/ppc64_init.c')
-rw-r--r--backends/ppc64_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/ppc64_init.c b/backends/ppc64_init.c
index e52231c9..7ea2b236 100644
--- a/backends/ppc64_init.c
+++ b/backends/ppc64_init.c
@@ -61,6 +61,7 @@ ppc64_init (elf, machine, eh, ehlen)
HOOK (eh, machine_flag_check);
HOOK (eh, copy_reloc_p);
HOOK (eh, check_special_symbol);
+ HOOK (eh, check_st_other_bits);
HOOK (eh, bss_plt_p);
HOOK (eh, return_value_location);
HOOK (eh, register_info);