diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-07 15:11:12 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-11 13:57:33 -0700 |
commit | d666266806b4e04e41437ab1453b75d4419edabb (patch) | |
tree | 7cb298c796a1e6a5a2453be52fa28790f5902ebf /libiberty/bcopy.c | |
parent | daa640da38126f0ac3e0ac788c1ef58fa838a5c8 (diff) | |
download | binutils-gdb-d666266806b4e04e41437ab1453b75d4419edabb.tar.gz |
s390: Check UNDEFINED_WEAK_RESOLVED_TO_ZERO
Don't generate dynamic relocation against weak undefined symbol if
it is resolved to zero. FIXME: UNDEFINED_WEAK_RESOLVED_TO_ZERO may
need to be checked in more places.
PR ld/22269
* elf32-s390.c (allocate_dynrelocs): Discard dynamic
relocations if UNDEFINED_WEAK_RESOLVED_TO_ZERO is true.
(elf_s390_relocate_section): Don't generate dynamic relocation
if UNDEFINED_WEAK_RESOLVED_TO_ZERO is true.
* elf64-s390.c (allocate_dynrelocs): Discard dynamic
relocations if UNDEFINED_WEAK_RESOLVED_TO_ZERO is true.
(elf_s390_relocate_section): Don't generate dynamic relocation
if UNDEFINED_WEAK_RESOLVED_TO_ZERO is true.
Diffstat (limited to 'libiberty/bcopy.c')
0 files changed, 0 insertions, 0 deletions