mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
[AArch64][3/3] LD support BFD_RELOC_AARCH64_TLSLD_ADR_PREL21
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2015-07-16 Jiong Wang <jiong.wang@arm.com>
|
||||
|
||||
* ld-aarch64/tls-tiny-ld.s: New file.
|
||||
* ld-aarch64/tls-tiny-ld.d: Ditto.
|
||||
* ld-aarch64/aarch64-elf.exp: Run new test.
|
||||
|
||||
2015-07-14 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* ld-elf/zlibbegin.rS: Updated to .debug_.* with the
|
||||
|
@ -146,6 +146,7 @@ run_dump_test "tls-tiny-desc"
|
||||
run_dump_test "tls-tiny-desc-ie"
|
||||
run_dump_test "tls-tiny-desc-le"
|
||||
run_dump_test "tls-tiny-ie"
|
||||
run_dump_test "tls-tiny-ld"
|
||||
run_dump_test "tlsle"
|
||||
run_dump_test "tlsle-symbol-offset"
|
||||
run_dump_test "gc-got-relocs"
|
||||
|
8
ld/testsuite/ld-aarch64/tls-tiny-ld.d
Normal file
8
ld/testsuite/ld-aarch64/tls-tiny-ld.d
Normal file
@ -0,0 +1,8 @@
|
||||
#source: tls-tiny-ld.s
|
||||
#ld: -T relocs.ld -shared
|
||||
#readelf: -Wr
|
||||
|
||||
Relocation section '\.rela\.dyn' at offset 0x10070 contains 2 entries:
|
||||
Offset Info Type Symbol's Value Symbol's Name \+ Addend
|
||||
0000000000000000 0000000000000000 R_AARCH64_NONE 0
|
||||
0000000000020008 0000000200000404 R_AARCH64_TLS_DTPMOD64 0000000000000000 dummy \+ 0
|
7
ld/testsuite/ld-aarch64/tls-tiny-ld.s
Normal file
7
ld/testsuite/ld-aarch64/tls-tiny-ld.s
Normal file
@ -0,0 +1,7 @@
|
||||
// Test file for AArch64 LD -- tlsldm
|
||||
|
||||
.text
|
||||
func:
|
||||
add x1, x2, x3
|
||||
// BFD_RELOC_AARCH64_TLSLD_ADR_PREL21
|
||||
adr x0, :tlsldm:dummy
|
Reference in New Issue
Block a user