aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-target.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-10-14 10:23:48 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-10-14 10:24:04 -0700
commitddb7fd0f7b43e4c755c4b8c7752948e050363525 (patch)
tree183ada9421a7f19d252ed59f68cfcf47e2121a9d /gdb/solib-target.c
parent62cd30f167be56e68cb0a37789d400b47bbdbc6c (diff)
downloadbinutils-ddb7fd0f7b43e4c755c4b8c7752948e050363525.zip
binutils-ddb7fd0f7b43e4c755c4b8c7752948e050363525.tar.gz
binutils-ddb7fd0f7b43e4c755c4b8c7752948e050363525.tar.bz2
aarch64: 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 * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Don't generate dynamic relocation if UNDEFWEAK_NO_DYNAMIC_RELOC is true. (elfNN_aarch64_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