aboutsummaryrefslogtreecommitdiff
path: root/gdb/exec.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-10-15 09:22:13 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-10-21 16:45:47 -0700
commit651dc8524324972b434fb766b2608b40be2d6025 (patch)
tree3d1382150298cbc4a26ca134aaa36320dc25dd25 /gdb/exec.h
parenta85711043cf5d517fd971065c946f750d7a95344 (diff)
downloadbinutils-users/hjl/got.zip
binutils-users/hjl/got.tar.gz
binutils-users/hjl/got.tar.bz2
Gold: Don't fail on R_X86_64_[REX_]GOTPCRELX relocationsusers/hjl/got
This patch updates gold to treat the R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX relocations proposed in https://groups.google.com/forum/#!topic/x86-64-abi/n9AWHogmVY0 the same as R_X86_64_GOTPCREL. FIXME: Gold should perform the transformations as suggested. elfcpp/ * x86_64.h (R_X86_64_GOTPCRELX): New. (R_X86_64_REX_GOTPCRELX): Likewise. gold/ * x86_64.cc (Target_x86_64<size>::Scan::get_reference_flags): Treat R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX the same as R_X86_64_GOTPCREL. (Target_x86_64<size>::Scan::local): Likewise. (Target_x86_64<size>::Scan::possible_function_pointer_reloc): Likewise. (Target_x86_64<size>::Scan::global): Likewise. (Target_x86_64<size>::Relocate::relocate): Likewise. (Target_x86_64<size>::Relocatable_size_for_reloc::get_size_for_reloc): Likewise.
Diffstat (limited to 'gdb/exec.h')
0 files changed, 0 insertions, 0 deletions