[Binutils][AARCH64]Add BFD_RELOC_AARCH64_TLSLE_LDST8/16/32/64_TPREL_LO12 support in assembler and linker

Renlin Li renlin.li@foss.arm.com
Wed Mar 28 14:52:00 GMT 2018


Hi all,

This patch is to add the following relocation support into binutils:
BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12,
BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC.
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,

Those relocations includes both ip64 and ilp32 variant.
Test cases are added.

This patch will resolve PR22970: https://sourceware.org/bugzilla/show_bug.cgi?id=22970

Binutils test Okay, Okay to commit?

Regards,
Renlin



More information about the Binutils mailing list