diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-14 10:52:12 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-14 10:52:33 -0700 |
commit | ad9512030937e79e28d08108fde7adf18635c58b (patch) | |
tree | fac9d5e5d9cdb60c085bdffa84a3830f97e5c728 /bfd/elfnn-ia64.c | |
parent | 95b03e4ad68e7a90f5096b47df595636344b783a (diff) | |
download | gdb-ad9512030937e79e28d08108fde7adf18635c58b.zip gdb-ad9512030937e79e28d08108fde7adf18635c58b.tar.gz gdb-ad9512030937e79e28d08108fde7adf18635c58b.tar.bz2 |
mips: 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
* elfxx-mips.c (mips_elf_calculate_relocation): Don't generate
dynamic relocation if UNDEFWEAK_NO_DYNAMIC_RELOC is true.
(allocate_dynrelocs): Don't allocate dynamic relocations if
UNDEFWEAK_NO_DYNAMIC_RELOC is true.
Diffstat (limited to 'bfd/elfnn-ia64.c')
0 files changed, 0 insertions, 0 deletions