diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-09-20 05:37:04 +0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-09-20 05:44:35 +0800 |
commit | 8015b1b0c1a1d3a581099c4855f95e4adfa3c0ad (patch) | |
tree | e4a0f30c6e0a6edff9b102efa8aaef0da89960fd /gdb/python/py-cmd.c | |
parent | bb067ddfca63ee2d0472d71129a7bde268128110 (diff) | |
download | binutils-8015b1b0c1a1d3a581099c4855f95e4adfa3c0ad.zip binutils-8015b1b0c1a1d3a581099c4855f95e4adfa3c0ad.tar.gz binutils-8015b1b0c1a1d3a581099c4855f95e4adfa3c0ad.tar.bz2 |
x86-64: Never make R_X86_64_GOT64 section relative
R_X86_64_GOT64 relocation should never be made section relative. Change
tc_i386_fix_adjustable to return 0 for BFD_RELOC_X86_64_GOT64.
gas/
PR gas/32189
* config/tc-i386.c (tc_i386_fix_adjustable): Return 0 for
BFD_RELOC_X86_64_GOT64.
* testsuite/gas/i386/reloc64.d: Updated.
* testsuite/gas/i386/reloc64.s: Add more tests for R_X86_64_GOT64
and R_X86_64_GOTOFF64.
ld/
PR gas/32189
* testsuite/ld-x86-64/x86-64.exp: Run PR gas/32189 test.
* testsuite/ld-x86-64/pr32189.s: New file.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'gdb/python/py-cmd.c')
0 files changed, 0 insertions, 0 deletions