diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-14 10:54:50 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-14 10:55:06 -0700 |
commit | 60c1b909dfcc984f3aecb70032e90a34d71b44bc (patch) | |
tree | f7cf70ec7be1c01162e3fd86ec876829b697f47c /COPYING.LIB | |
parent | db41f6eb5234ea3c74c1ce4798cf9923d4a45a98 (diff) | |
download | gdb-60c1b909dfcc984f3aecb70032e90a34d71b44bc.zip gdb-60c1b909dfcc984f3aecb70032e90a34d71b44bc.tar.gz gdb-60c1b909dfcc984f3aecb70032e90a34d71b44bc.tar.bz2 |
hppa: Check UNDEFWEAK_NO_DYNAMIC_RELOC
Don't generate dynamic relocation against weak undefined symbol if it
is resolved to zero. FIXME: UNDEFWEAK_NO_DYNAMIC_RELOC may need to be
checked in more places.
PR ld/22269
* elf32-hppa.c (ensure_undef_dynamic): Don't make undefined
symbol dynamic if UNDEFWEAK_NO_DYNAMIC_RELOC is true.
(allocate_dynrelocs): Discard dynamic relocations if
UNDEFWEAK_NO_DYNAMIC_RELOC is true.
(elf32_hppa_relocate_section): Don't generate dynamic
relocation if UNDEFWEAK_NO_DYNAMIC_RELOC is true.
Diffstat (limited to 'COPYING.LIB')
0 files changed, 0 insertions, 0 deletions