]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/ChangeLog
Add R_X86_64_[REX_]GOTPCRELX support to gas and ld
[thirdparty/binutils-gdb.git] / gas / ChangeLog
index d2d0da41d10a4a56995669069491f34b882af4e1..f9d87bad16614a3bc9df3a8fad0b196769b26a28 100644 (file)
@@ -1,3 +1,14 @@
+2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (tc_i386_fix_adjustable): Handle
+       BFD_RELOC_X86_64_GOTPCRELX and BFD_RELOC_X86_64_REX_GOTPCRELX.
+       (tc_gen_reloc): Likewise.
+       (i386_validate_fix): Generate BFD_RELOC_X86_64_GOTPCRELX or
+       BFD_RELOC_X86_64_REX_GOTPCRELX if fx_tcbit2 is set.
+       * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Also return
+       true for BFD_RELOC_X86_64_GOTPCRELX and
+       BFD_RELOC_X86_64_REX_GOTPCRELX.
+
 2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
 
        * config/tc-i386.c (tc_i386_fix_adjustable): Handle