aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-target.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-10-14 10:53:43 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-10-14 10:53:56 -0700
commitdb41f6eb5234ea3c74c1ce4798cf9923d4a45a98 (patch)
tree0455fd512dd3f3f272623ca9c2a36ea91d65ee6d /gdb/solib-target.c
parentad9512030937e79e28d08108fde7adf18635c58b (diff)
downloadbinutils-db41f6eb5234ea3c74c1ce4798cf9923d4a45a98.zip
binutils-db41f6eb5234ea3c74c1ce4798cf9923d4a45a98.tar.gz
binutils-db41f6eb5234ea3c74c1ce4798cf9923d4a45a98.tar.bz2
ia64: 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-ia64.c (elfNN_ia64_check_relocs): Don't allocate dynamic relocation if UNDEFWEAK_NO_DYNAMIC_RELOC is true. (allocate_fptr): Don't allocate function pointer if UNDEFWEAK_NO_DYNAMIC_RELOC is true. (allocate_dynrel_entries): Don't allocate dynamic relocation if UNDEFWEAK_NO_DYNAMIC_RELOC is true. (set_got_entry): Don't set GOT entry if UNDEFWEAK_NO_DYNAMIC_RELOC is true. (set_pltoff_entry): Don't set PLTOFF entry if UNDEFWEAK_NO_DYNAMIC_RELOC is true. (elfNN_ia64_relocate_section): Don't install dynamic relocation UNDEFWEAK_NO_DYNAMIC_RELOC is true.
Diffstat (limited to 'gdb/solib-target.c')
0 files changed, 0 insertions, 0 deletions