]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
S/390: Issue error for overflowing relocs.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Thu, 5 Jan 2017 18:53:14 +0000 (19:53 +0100)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Sat, 7 Jan 2017 21:03:07 +0000 (22:03 +0100)
commit431e5de3f224e94fb0d061edb3a56d8e3c3f4403
tree3f97444a54610b059a19751130b114ee6c8417dc
parent0e123f69da7567042903c8e6e2ad0b03b0a66e55
S/390: Issue error for overflowing relocs.

Building PIE executable from non-PIC code results in broken binaries.
With this patch the problem is detected at link-time.

bfd/ChangeLog:

2017-01-07  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* elf64-s390.c (elf_s390_relocate_section): Issue error for
non-PLT relocs of shared libary symbol in exectuable.
bfd/elf64-s390.c