summaryrefslogtreecommitdiffstats
path: root/backends/ppc64_init.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2017-02-15 14:30:27 +0100
committerMark Wielaard <[email protected]>2017-03-24 17:34:33 +0100
commitb1042ce216eaef96099f263fb81141dbdec004fd (patch)
tree07692fa3099233546ab9e1415a03ea599c08767b /backends/ppc64_init.c
parente22cc80923f94e54c9384421904461958899db5b (diff)
backends: Add support for EM_PPC64 GNU_ATTRIBUTES.
ppc64 and ppc64le ELF files can also contain a power specific .gnu.attributes section. Add support for those and recognize the new GNU_Power_ABI_FP Single-precision hard float value. 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 2ba82327..11d3a77f 100644
--- a/backends/ppc64_init.c
+++ b/backends/ppc64_init.c
@@ -67,6 +67,7 @@ ppc64_init (Elf *elf __attribute__ ((unused)),
HOOK (eh, syscall_abi);
HOOK (eh, core_note);
HOOK (eh, auxv_info);
+ HOOK (eh, check_object_attribute);
HOOK (eh, abi_cfi);
/* gcc/config/ #define DWARF_FRAME_REGISTERS. */
eh->frame_nregs = (114 - 1) + 32;