diff options
author | konglin1 <lingling.kong@intel.com> | 2024-07-01 23:01:12 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-07-01 23:08:31 -0700 |
commit | eb5d719dd774afd445dbf2be891868cf1973058c (patch) | |
tree | ee4e79f92ecd017a275c0570bbdfd8adec976024 /ld/lexsup.c | |
parent | aa0c55a9669b7321f5b088ee4833ddad11dfa7b1 (diff) | |
download | gdb-eb5d719dd774afd445dbf2be891868cf1973058c.zip gdb-eb5d719dd774afd445dbf2be891868cf1973058c.tar.gz gdb-eb5d719dd774afd445dbf2be891868cf1973058c.tar.bz2 |
x86-64: Verify that TLS IE works with APX NF
Verify that
{nf} add %reg1, foo@gottpoff(%rip), %reg2
{nf} add foo@gottpoff(%rip), %reg, %reg2
work correctly with ld and gold.
gas/
* testsuite/gas/i386/x86-64-gottpoff.d: Updated.
* testsuite/gas/i386/x86-64-gottpoff.s: Add tests for
"{nf} add %reg1, foo@gottpoff(%rip), %reg2" and
"{nf} add foo@gottpoff(%rip), %reg, %reg2".
gold/
* testsuite/x86_64_ie_to_le.s: Add tests for
"{nf} add %reg1, foo@gottpoff(%rip), %reg2" and
"{nf} add foo@gottpoff(%rip), %reg, %reg2".
* testsuite/x86_64_ie_to_le.sh: Updated.
ld/
* testsuite/ld-x86-64/tlsbindesc.s: Add R_X86_64_CODE_6_GOTTPOFF
for APX NF tests.
* testsuite/ld-x86-64/tlsbindesc.d: Updated.
* testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
Co-Authored-By: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'ld/lexsup.c')
0 files changed, 0 insertions, 0 deletions