[AArch64][2/6] LD support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC

Jiong Wang jiong.wang@arm.com
Wed Aug 19 12:32:00 GMT 2015


2015-08-19  Jiong Wang  <jiong.wang@arm.com>

bfd/
   * elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize
   BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC.
   (aarch64_reloc_got_type): Likewise.
   (elfNN_aarch64_final_link_relocate): Likewise.
   (elfNN_aarch64_relocate_section): Likewise.
   * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
   (_bfd_aarch64_elf_resolve_relocation): Likewise.

ld/testsuite/
   * ld-aarch64/emit-relocs-530.s: New testcase.
   * ld-aarch64/emit-relocs-92.s: Likewise.
   * ld-aarch64/emit-relocs-530.d: New expectation file.
   * ld-aarch64/emit-relocs-92.d: Likewise.
   * ld-aarch64/aarch64-elf.exp: Run new testcases.

OK for trunk?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-2.patch
Type: text/x-diff
Size: 5068 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150819/d89d94f7/attachment.bin>


More information about the Binutils mailing list