diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-14 11:02:20 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-14 11:02:37 -0700 |
commit | 5056ba1d4df19006b873bc8e752f85fcc712b65b (patch) | |
tree | 6334cca66804f26e73414a5f4a87782bb19aa90e /bfd/elf32-microblaze.c | |
parent | 60c1b909dfcc984f3aecb70032e90a34d71b44bc (diff) | |
download | gdb-5056ba1d4df19006b873bc8e752f85fcc712b65b.zip gdb-5056ba1d4df19006b873bc8e752f85fcc712b65b.tar.gz gdb-5056ba1d4df19006b873bc8e752f85fcc712b65b.tar.bz2 |
m68k: 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-m68k.c (elf_m68k_check_relocs): Don't allocate dynamic
relocations if UNDEFWEAK_NO_DYNAMIC_RELOC is true.
(elf_m68k_adjust_dynamic_symbol): Don't make symbol dynamic if
UNDEFWEAK_NO_DYNAMIC_RELOC is true.
(elf_m68k_relocate_section): Don't generate dynamic relocation
if UNDEFWEAK_NO_DYNAMIC_RELOC is true.
Diffstat (limited to 'bfd/elf32-microblaze.c')
0 files changed, 0 insertions, 0 deletions