[PATCH] D18839: [lld] [ELF/AArch64] Implement R_AARCH64_TLSDESC_* relocations

Adhemerval Zanella via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 6 12:08:56 PDT 2016


zatrazz created this revision.
zatrazz added reviewers: ruiu, rafael.
zatrazz added subscribers: llvm-commits, rengolin.
zatrazz set the repository for this revision to rL LLVM.
zatrazz added a project: lld.
Herald added a subscriber: aemerson.

This patch implements the aarch64 TLSDESC relocations:

 * R_AARCH64_TLSDESC_ADR_PAGE21,
 * R_AARCH64_TLSDESC_LD64_LO12_NC,
 * R_AARCH64_TLSDESC_ADD_LO12_NC
 * R_AARCH64_TLSDESC_CALL.

They are the minimum one generated in general TLS access for aarch64.

This patch depends on http://reviews.llvm.org/D18790.

Repository:
  rL LLVM

http://reviews.llvm.org/D18839

Files:
  ELF/Target.cpp
  test/ELF/aarch64-tls-desc.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18839.52831.patch
Type: text/x-patch
Size: 11022 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160406/e7870b62/attachment.bin>


More information about the llvm-commits mailing list