summaryrefslogtreecommitdiffstats
path: root/backends/s390_init.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2019-02-15 14:39:57 +0100
committerMark Wielaard <[email protected]>2019-02-15 14:39:57 +0100
commit1e52d4ce3aa2093d12901d32fe07aae70211fe2a (patch)
tree01d1529ac98829606779f1768c8894c7894f312b /backends/s390_init.c
parent89f5c7b57e9fe3674f24192592bbe1eb747a2435 (diff)
s390: elflint should check if _GLOBAL_OFFSET_TABLE_ points to .got.elfutils-0.176
The _GLOBAL_OFFSET_TABLE_ symbol might point to the DT_PLTGOT, which is in the .got section, even if the symbol itself is associated with the .got.plt section. See https://sourceware.org/ml/binutils/2018-07/msg00200.html Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'backends/s390_init.c')
-rw-r--r--backends/s390_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/s390_init.c b/backends/s390_init.c
index ba8df45d..0004aeea 100644
--- a/backends/s390_init.c
+++ b/backends/s390_init.c
@@ -54,6 +54,7 @@ s390_init (Elf *elf __attribute__ ((unused)),
eh->name = "IBM S/390";
s390_init_reloc (eh);
HOOK (eh, reloc_simple_type);
+ HOOK (eh, check_special_symbol);
HOOK (eh, register_info);
HOOK (eh, return_value_location);
if (eh->class == ELFCLASS64)