summaryrefslogtreecommitdiffstats
path: root/backends/arm_init.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2014-05-19 16:52:56 +0200
committerMark Wielaard <[email protected]>2014-05-19 22:04:24 +0200
commit028d0ab0cc1cb5f96ee48feef966b7d8d56c6a8e (patch)
treea8217d678cede635782d0fe33413a3dc3ae206af /backends/arm_init.c
parent85482fc073442a056e0e3663eb454fa76d883271 (diff)
backends: Add ebl_check_reloc_target_type.
And implement for arm and ia64. Both have special section types that are valid targets for a reloc. Both refer to unwind data. elflint now just calls ebl_check_reloc_target_type instead of hard coding the expected section types. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'backends/arm_init.c')
-rw-r--r--backends/arm_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/arm_init.c b/backends/arm_init.c
index 14b26356..92e6cd51 100644
--- a/backends/arm_init.c
+++ b/backends/arm_init.c
@@ -63,6 +63,7 @@ arm_init (elf, machine, eh, ehlen)
HOOK (eh, check_object_attribute);
HOOK (eh, return_value_location);
HOOK (eh, abi_cfi);
+ HOOK (eh, check_reloc_target_type);
/* We only unwind the core integer registers. */
eh->frame_nregs = 16;