diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-14 10:25:33 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-14 10:25:48 -0700 |
commit | a3cd202aae50abe5a571fb8c186b6b6af68edce2 (patch) | |
tree | e01ff6c0970a03aab3ba5f323c6f0e08982f7f0d /gdb/solib-target.c | |
parent | ddb7fd0f7b43e4c755c4b8c7752948e050363525 (diff) | |
download | binutils-a3cd202aae50abe5a571fb8c186b6b6af68edce2.zip binutils-a3cd202aae50abe5a571fb8c186b6b6af68edce2.tar.gz binutils-a3cd202aae50abe5a571fb8c186b6b6af68edce2.tar.bz2 |
tile: 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-tilepro.c (allocate_dynrelocs): Discard dynamic
relocations if UNDEFWEAK_NO_DYNAMIC_RELOC is true.
(tilepro_elf_relocate_section): Don't generate dynamic
relocation if UNDEFWEAK_NO_DYNAMIC_RELOC is true.
* elfxx-tilegx.c (allocate_dynrelocs): Discard dynamic
relocations if UNDEFWEAK_NO_DYNAMIC_RELOC is true.
(tilegx_elf_relocate_section): Don't generate dynamic
relocation if UNDEFWEAK_NO_DYNAMIC_RELOC is true.
Diffstat (limited to 'gdb/solib-target.c')
0 files changed, 0 insertions, 0 deletions