S/390: Fix (some) PIE+undef weak failures
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Fri, 8 Dec 2017 16:23:56 +0000 (17:23 +0100)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Wed, 13 Dec 2017 12:35:01 +0000 (13:35 +0100)
commit10e7c0457cb7531f8b205e29e88b3e191cfa6037
tree9bcd9e9f6389372448de33b0e54b035a5a6a53c8
parent9937536c23ae005422cec23d38a6b7f6fa8e1f48
S/390: Fix (some) PIE+undef weak failures

This fixes these failures on 64 bit which currently occur when running
the Binutils testsuite with a default PIE compiler.

< FAIL: Build rdynamic-1
< FAIL: Build dynamic-1
< FAIL: Build pr22269-1

bfd/ChangeLog:

2017-12-13  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* elf64-s390.c (elf_s390_adjust_dynamic_symbol): Use
UNDEFWEAK_NO_DYNAMIC_RELOC.
(allocate_dynrelocs): Likewise.
(elf_s390_relocate_section): Check resolved_to_zero.
(elf_s390_finish_dynamic_symbol): Don't generate runtime reloc if
UNDEFWEAK_NO_DYNAMIC_RELOC.
bfd/elf64-s390.c
This page took 0.025661 seconds and 4 git commands to generate.