diff options
author | Renlin Li <renlin.li@arm.com> | 2018-03-28 18:06:05 +0100 |
---|---|---|
committer | Renlin Li <renlin.li@arm.com> | 2018-03-28 18:08:51 +0100 |
commit | e04ef02299ad4aae08da857e8535d98e8643a274 (patch) | |
tree | 97641db4c9e6afb079d360cee7c57e8f135d55a1 /ld/testsuite/ld-aarch64/aarch64-elf.exp | |
parent | 84f1b9fb081372a726fd70dfd8258a707833caef (diff) | |
download | binutils-gdb-e04ef02299ad4aae08da857e8535d98e8643a274.tar.gz |
[2/2][LD][AARCH64]Add BFD_RELOC_AARCH64_TLSLE_LDST8/16/32/64_TPREL_LO12 support in LD.
This patch adds the following relocation support into binutils bfd linker.
BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12,
BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12_NC,
BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12,
BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12_NC,
BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12,
BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12_NC,
BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12,
BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC.
Those relocations includes both ip64 and ilp32 variant.
Diffstat (limited to 'ld/testsuite/ld-aarch64/aarch64-elf.exp')
-rw-r--r-- | ld/testsuite/ld-aarch64/aarch64-elf.exp | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/ld/testsuite/ld-aarch64/aarch64-elf.exp b/ld/testsuite/ld-aarch64/aarch64-elf.exp index de99a8b233b..1bbc0648578 100644 --- a/ld/testsuite/ld-aarch64/aarch64-elf.exp +++ b/ld/testsuite/ld-aarch64/aarch64-elf.exp @@ -99,8 +99,22 @@ run_dump_test "emit-relocs-89" run_dump_test "emit-relocs-90" run_dump_test "emit-relocs-90-overflow" run_dump_test "emit-relocs-92" -run_dump_test_lp64 "emit-relocs-257" -run_dump_test_lp64 "emit-relocs-257-be" + +run_dump_test "emit-relocs-112" +run_dump_test "emit-relocs-112-overflow" +run_dump_test "emit-relocs-113" +run_dump_test "emit-relocs-114" +run_dump_test "emit-relocs-114-overflow" +run_dump_test "emit-relocs-115" +run_dump_test "emit-relocs-116" +run_dump_test "emit-relocs-116-overflow" +run_dump_test "emit-relocs-117" +run_dump_test "emit-relocs-118" +run_dump_test "emit-relocs-118-overflow" +run_dump_test "emit-relocs-119" + +run_dump_test "emit-relocs-257" +run_dump_test "emit-relocs-257-be" # 258 is tested in 257 # 259 is tested in 257 run_dump_test_lp64 "emit-relocs-258-dyn-bad" @@ -197,6 +211,18 @@ run_dump_test_lp64 "emit-relocs-536" run_dump_test_lp64 "emit-relocs-537" run_dump_test_lp64 "emit-relocs-537-overflow" run_dump_test_lp64 "emit-relocs-538" +run_dump_test_lp64 "emit-relocs-552" +run_dump_test_lp64 "emit-relocs-552-overflow" +run_dump_test_lp64 "emit-relocs-553" +run_dump_test_lp64 "emit-relocs-554" +run_dump_test_lp64 "emit-relocs-554-overflow" +run_dump_test_lp64 "emit-relocs-555" +run_dump_test_lp64 "emit-relocs-556" +run_dump_test_lp64 "emit-relocs-556-overflow" +run_dump_test_lp64 "emit-relocs-557" +run_dump_test_lp64 "emit-relocs-558" +run_dump_test_lp64 "emit-relocs-558-overflow" +run_dump_test_lp64 "emit-relocs-559" run_dump_test "reloc-overflow-bad" |