[2/2][LD][AARCH64]Add BFD_RELOC_AARCH64_TLSLE_LDST8/16/32/64_TPREL_LO12 support in LD.
authorRenlin Li <renlin.li@arm.com>
Wed, 28 Mar 2018 17:06:05 +0000 (18:06 +0100)
committerRenlin Li <renlin.li@arm.com>
Wed, 28 Mar 2018 17:08:51 +0000 (18:08 +0100)
commite04ef02299ad4aae08da857e8535d98e8643a274
tree97641db4c9e6afb079d360cee7c57e8f135d55a1
parent84f1b9fb081372a726fd70dfd8258a707833caef
[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.
53 files changed:
bfd/ChangeLog
bfd/elfnn-aarch64.c
bfd/elfxx-aarch64.c
ld/ChangeLog
ld/testsuite/ld-aarch64/aarch64-elf.exp
ld/testsuite/ld-aarch64/emit-relocs-112-overflow.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-112-overflow.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-112.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-112.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-113.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-113.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-114-overflow.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-114-overflow.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-114.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-114.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-115.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-115.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-116-overflow.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-116-overflow.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-116.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-116.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-117.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-117.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-118-overflow.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-118-overflow.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-118.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-118.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-119.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-119.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-552-overflow.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-552-overflow.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-552.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-552.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-553.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-553.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-554-overflow.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-554-overflow.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-554.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-554.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-555.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-555.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-556-overflow.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-556-overflow.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-556.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-556.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-557.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-557.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-558-overflow.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-558-overflow.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-558.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-558.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-559.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-559.s [new file with mode: 0644]