diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-14 11:07:18 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-14 11:07:30 -0700 |
commit | 6ee6e05af482b356f9be4b0db877802fb47b2a12 (patch) | |
tree | 697f6c9fa95a7b8e9356dd2f6b41022a8171e2e7 /zlib/minigzip.c | |
parent | b27bb18f45a99330600ab57892c3620343425910 (diff) | |
download | gdb-6ee6e05af482b356f9be4b0db877802fb47b2a12.zip gdb-6ee6e05af482b356f9be4b0db877802fb47b2a12.tar.gz gdb-6ee6e05af482b356f9be4b0db877802fb47b2a12.tar.bz2 |
sh: 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-sh.c (allocate_dynrelocs): Discard dynamic relocations
if UNDEFWEAK_NO_DYNAMIC_RELOC is true.
(sh_elf_relocate_section): Don't generate dynamic relocation if
UNDEFWEAK_NO_DYNAMIC_RELOC is true.
Diffstat (limited to 'zlib/minigzip.c')
0 files changed, 0 insertions, 0 deletions