diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-14 11:03:26 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-14 11:03:37 -0700 |
commit | 112fef4084ff0bdd6dd9aacca85f5fe62e1a5423 (patch) | |
tree | 2184f891c0b33df3128fe5a3d5c6a552aa762d50 /gdb/solib-target.c | |
parent | 5056ba1d4df19006b873bc8e752f85fcc712b65b (diff) | |
download | binutils-112fef4084ff0bdd6dd9aacca85f5fe62e1a5423.zip binutils-112fef4084ff0bdd6dd9aacca85f5fe62e1a5423.tar.gz binutils-112fef4084ff0bdd6dd9aacca85f5fe62e1a5423.tar.bz2 |
microblaze: 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-microblaze.c (microblaze_elf_relocate_section): Don't
generate dynamic relocation if UNDEFWEAK_NO_DYNAMIC_RELOC is
true.
(allocate_dynrelocs): Discard dynamic relocations if
UNDEFWEAK_NO_DYNAMIC_RELOC is true.
Diffstat (limited to 'gdb/solib-target.c')
0 files changed, 0 insertions, 0 deletions