[PATCH] D17980: [lld] [ELF/AArch64] Add GD to IE TLS relax optimization
Adhemerval Zanella via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 8 20:10:38 PST 2016
zatrazz created this revision.
zatrazz added reviewers: ruiu, rafael.
zatrazz added subscribers: grimar, emaste, rengolin, llvm-commits.
zatrazz set the repository for this revision to rL LLVM.
zatrazz added a project: lld.
Herald added a subscriber: aemerson.
This patch add the TLS Global-Dynamic to Initial-Exec TLS optimization
for AArch64. Similar of GD to LE, the idea is to optimize TLS access
to global symbols that can preempted by emitting a GOT entry and
a dynamic relocation (R_AARCH64_TLS_TPREL64).
With this patch, the R_AARCH64_TLSDESC* implementation [1]
(still in review), and a small one for aarch64 to fix the relativeRel
definition (which I plan to send for review shortly) I can bootstrap
and run all the lld tests without failure.
Repository:
rL LLVM
http://reviews.llvm.org/D17980
Files:
ELF/Target.cpp
test/ELF/Inputs/aarch64-tls-ie.s
test/ELF/aarch64-tls-gdie.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17980.50102.patch
Type: text/x-patch
Size: 5068 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160309/9397472b/attachment.bin>
More information about the llvm-commits
mailing list