PR19083 S/390: Fix garbage collection of some GOT relocs.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Mon, 12 Oct 2015 08:21:51 +0000 (10:21 +0200)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Mon, 12 Oct 2015 08:22:49 +0000 (10:22 +0200)
commitef05be83b7e1e10e7cba51aeafc879ca3a66826d
tree323e087992b5a98f13c8e38f03a165f2c4602d88
parentda76f7d33ffb3725dadd828f61427f421d1f6ac3
PR19083 S/390: Fix garbage collection of some GOT relocs.

bfd/ChangeLog:

2015-10-12  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

PR ld/19083
* elf32-s390.c (elf_s390_gc_sweep_hook): Do not reduce got
refcount for relocs not really requiring a got slot.
* elf64-s390.c (elf_s390_gc_sweep_hook): Likewise.
bfd/ChangeLog
bfd/elf32-s390.c
bfd/elf64-s390.c