Preserve addend for R_386_GOT32 and R_X86_64_GOT32
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 5d5672e9d558aad964c03d7ca54302861b17d563..272f8fe49f586a69698086fe3e95b839ed763029 100644 (file)
@@ -1,3 +1,15 @@
+2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/19600
+       * config/tc-i386.c (md_apply_fix): Preserve addend for
+       BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
+       * testsuite/gas/i386/addend.d: New file.
+       * testsuite/gas/i386/addend.s: Likewise.
+       * testsuite/gas/i386/x86-64-addend.d: Likewise.
+       * testsuite/gas/i386/x86-64-addend.s: Likewise.
+       * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
+       * testsuite/gas/i386/reloc32.d: Updated.
+
 2016-05-20  Maciej W. Rozycki  <macro@imgtec.com>
 
        * config/tc-mips.c (append_insn): Correct the encoding of a
This page took 0.023854 seconds and 4 git commands to generate.