x86-64: Generate branch with PLT32 relocation
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 97b3581aec61016f4124903d319c6ba0420d283c..e66e8cee68cc44ec4c3b6a256d721fa43fbb7f9f 100644 (file)
@@ -1,3 +1,18 @@
+2018-02-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/22791
+       * config/tc-i386.c (need_plt32_p): New function.
+       (output_jump): Generate BFD_RELOC_X86_64_PLT32 if possible.
+       (md_estimate_size_before_relax): Likewise.
+       * testsuite/gas/i386/reloc64.d: Updated.
+       * testsuite/gas/i386/x86-64-jump.d: Likewise.
+       * testsuite/gas/i386/x86-64-mpx-branch-1.d: Likewise.
+       * testsuite/gas/i386/x86-64-mpx-branch-2.d: Likewise.
+       * testsuite/gas/i386/x86-64-relax-2.d: Likewise.
+       * testsuite/gas/i386/x86-64-relax-3.d: Likewise.
+       * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
+       * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
+
 2018-02-13  Maciej W. Rozycki  <macro@mips.com>
 
        * testsuite/gas/mips/loongson-3a-2.d: Rename test.
This page took 0.02615 seconds and 4 git commands to generate.