diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-14 11:04:32 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-14 11:04:45 -0700 |
commit | 31a53da5418528b9ba94bb80a97f0084f40e0c64 (patch) | |
tree | 831dd2e89ed32accad9618164c16a7c8dcd2b0cc /bfd/elf32-s390.c | |
parent | 112fef4084ff0bdd6dd9aacca85f5fe62e1a5423 (diff) | |
download | gdb-31a53da5418528b9ba94bb80a97f0084f40e0c64.zip gdb-31a53da5418528b9ba94bb80a97f0084f40e0c64.tar.gz gdb-31a53da5418528b9ba94bb80a97f0084f40e0c64.tar.bz2 |
nios2: 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-nios2.c (nios2_elf32_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 'bfd/elf32-s390.c')
0 files changed, 0 insertions, 0 deletions