]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/elf-s390-common.c
S/390: Fix ifunc missing runtime reloc
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Mon, 8 May 2017 17:10:42 +0000 (19:10 +0200)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Mon, 8 May 2017 17:43:20 +0000 (19:43 +0200)
commitd7ab4911f8aa3e1cd06ece40f74d0b4a532d6a10
tree08784b8961e54dd8c3f5eb0a80582c07d0b5b98c
parentf604c2a2a54ebf88e4a51986c7cdedffe7b3313a
S/390: Fix ifunc missing runtime reloc

This fixes a problem with a missing R_390_64 reloc against .data for a
function pointer to an ifunc function.

No regressions on s390x.

Pushed to mainline.

bfd/ChangeLog:

2017-05-08  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* elf-s390-common.c: Don't check non_got_ref flag.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
bfd/elf-s390-common.c
bfd/elf32-s390.c
bfd/elf64-s390.c