s390: elflint should check if _GLOBAL_OFFSET_TABLE_ points to .got. elfutils-0.176
authorMark Wielaard <mark@klomp.org>
Fri, 15 Feb 2019 13:39:57 +0000 (14:39 +0100)
committerMark Wielaard <mark@klomp.org>
Fri, 15 Feb 2019 13:39:57 +0000 (14:39 +0100)
commit1e52d4ce3aa2093d12901d32fe07aae70211fe2a
tree01d1529ac98829606779f1768c8894c7894f312b
parent89f5c7b57e9fe3674f24192592bbe1eb747a2435
s390: elflint should check if _GLOBAL_OFFSET_TABLE_ points to .got.

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 <mark@klomp.org>
backends/ChangeLog
backends/s390_init.c
backends/s390_symbol.c