x86: Don't generate GOT_symbol for PLT relocations
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 15374feda62b337e7833477e847d541f45ee7412..bad8473bf6699c616460ce64327023c9681e6f2d 100644 (file)
@@ -1,3 +1,14 @@
+2021-01-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/27178
+       * config/tc-i386.c (lex_got::gotrel): Add need_GOT_symbol.
+       Don't generate GOT_symbol for PLT relocations.
+       * testsuite/gas/i386/i386.exp: Run PR gas/27178 tests.
+       * testsuite/gas/i386/no-got.d: New file.
+       * testsuite/gas/i386/no-got.s: Likewise.
+       * testsuite/gas/i386/x86-64-no-got.d: Likewise.
+       * testsuite/gas/i386/x86-64-no-got.s: Likewise.
+
 2021-01-13  Alan Modra  <amodra@gmail.com>
 
        * Makefile.in: Regenerate.
This page took 0.022512 seconds and 4 git commands to generate.