diff options
| author | Mark Wielaard <[email protected]> | 2014-05-19 16:52:56 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2014-05-19 22:04:24 +0200 |
| commit | 028d0ab0cc1cb5f96ee48feef966b7d8d56c6a8e (patch) | |
| tree | a8217d678cede635782d0fe33413a3dc3ae206af /backends/ia64_init.c | |
| parent | 85482fc073442a056e0e3663eb454fa76d883271 (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/ia64_init.c')
| -rw-r--r-- | backends/ia64_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/ia64_init.c b/backends/ia64_init.c index ed56efaa..91da748d 100644 --- a/backends/ia64_init.c +++ b/backends/ia64_init.c @@ -1,5 +1,5 @@ /* Initialization of IA-64 specific backend library. - Copyright (C) 2002, 2003, 2005, 2006, 2007 Red Hat, Inc. + Copyright (C) 2002, 2003, 2005, 2006, 2007, 2014 Red Hat, Inc. This file is part of elfutils. Written by Ulrich Drepper <[email protected]>, 2002. @@ -61,6 +61,7 @@ ia64_init (elf, machine, eh, ehlen) HOOK (eh, machine_section_flag_check); HOOK (eh, register_info); HOOK (eh, return_value_location); + HOOK (eh, check_reloc_target_type); return MODVERSION; } |
