[1/2][GAS][AARCH64]Add BFD_RELOC_AARCH64_TLSLE_LDST8/16/32/64_TPREL_LO12 support...
authorRenlin Li <renlin.li@arm.com>
Wed, 28 Mar 2018 17:03:55 +0000 (18:03 +0100)
committerRenlin Li <renlin.li@arm.com>
Wed, 28 Mar 2018 17:03:55 +0000 (18:03 +0100)
commit84f1b9fb081372a726fd70dfd8258a707833caef
treef3fb203c6864d27bac6ed1bbddea99467b5d09b7
parente82e6b2b19eb796fed161b1658de6d5f763c18de
[1/2][GAS][AARCH64]Add BFD_RELOC_AARCH64_TLSLE_LDST8/16/32/64_TPREL_LO12 support in GAS.

This patch adds the following relocation support into binutils gas.
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.
33 files changed:
bfd/ChangeLog
bfd/bfd-in2.h
bfd/elfnn-aarch64.c
bfd/libbfd.h
bfd/reloc.c
gas/ChangeLog
gas/config/tc-aarch64.c
gas/testsuite/gas/aarch64/reloc-tprel_lo12-ldst16-ilp32.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.s [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12-ldst32-ilp32.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.s [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12-ldst64-ilp32.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.s [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12-ldst8-ilp32.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.s [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16-ilp32.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.s [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32-ilp32.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.s [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64-ilp32.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.s [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8-ilp32.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.s [new file with mode: 0644]
include/ChangeLog
include/elf/aarch64.h