aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-01-13 05:42:11 -0800
committerH.J. Lu <hjl.tools@gmail.com>2021-01-13 05:42:27 -0800
commit844bf810cf9feebe50772c29d72256ec3c872270 (patch)
tree8f5b2e5910362329d797430702357726d8763e9a /ld
parent5347ed60c50b79958f83963bd7d01da0372c339b (diff)
downloadgdb-844bf810cf9feebe50772c29d72256ec3c872270.zip
gdb-844bf810cf9feebe50772c29d72256ec3c872270.tar.gz
gdb-844bf810cf9feebe50772c29d72256ec3c872270.tar.bz2
x86: Don't generate GOT_symbol for PLT relocations
Don't generate the _GLOBAL_OFFSET_TABLE_ symbol for PLT relocations since it isn't needed. 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.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions