mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 20:14:06 +08:00
x86-64: Add ilp32-12 to check R_X86_64_32 for x32
* testsuite/ld-x86-64/ilp32-12.d: New file. * testsuite/ld-x86-64/ilp32-12.s: Likewise. * testsuite/ld-x86-64/x86-64.exp: Run ilp32-12.
This commit is contained in:
parent
3f335b75d8
commit
983d5689cc
@ -1,3 +1,9 @@
|
||||
2021-05-26 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* testsuite/ld-x86-64/ilp32-12.d: New file.
|
||||
* testsuite/ld-x86-64/ilp32-12.s: Likewise.
|
||||
* testsuite/ld-x86-64/x86-64.exp: Run ilp32-12.
|
||||
|
||||
2021-05-14 Nelson Chu <nelson.chu@sifive.com>
|
||||
|
||||
* testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
|
||||
|
7
ld/testsuite/ld-x86-64/ilp32-12.d
Normal file
7
ld/testsuite/ld-x86-64/ilp32-12.d
Normal file
@ -0,0 +1,7 @@
|
||||
#as: --x32
|
||||
#ld: -shared -melf32_x86_64
|
||||
#readelf: -SW
|
||||
|
||||
#...
|
||||
+\[ [0-9]\] .debug_loclists .*
|
||||
#pass
|
5
ld/testsuite/ld-x86-64/ilp32-12.s
Normal file
5
ld/testsuite/ld-x86-64/ilp32-12.s
Normal file
@ -0,0 +1,5 @@
|
||||
.section .rodata
|
||||
.L1:
|
||||
.byte 0
|
||||
.section .debug_loclists,"",@progbits
|
||||
.long .L1 - 0x1dfae
|
@ -521,6 +521,7 @@ run_dump_test "ilp32-8"
|
||||
run_dump_test "ilp32-9"
|
||||
run_dump_test "ilp32-10"
|
||||
run_dump_test "ilp32-11"
|
||||
run_dump_test "ilp32-12"
|
||||
run_dump_test "ia32-1"
|
||||
run_dump_test "ia32-2"
|
||||
run_dump_test "ia32-3"
|
||||
|
Loading…
Reference in New Issue
Block a user