[PATCH] D13615: [lld][elf2] Local Dynamic TLS
Michael Spencer via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 9 17:41:53 PDT 2015
Bigcheese created this revision.
Bigcheese added reviewers: ruiu, rafael.
Bigcheese added a subscriber: llvm-commits.
This patch isn't in a finished state, but I wanted some guidance on how to properly do the GOT parts. Right now it's hacked to just look for the TLSLD relocs. We're also going to run into an issue with GOT entries when we do global dynamic TLS. Each TLS symbol gets two entries, each with a different relocation.
I switched compareOutputSections to a numeric based compare because adding proper order for TLS to it over complicated the code.
http://reviews.llvm.org/D13615
Files:
ELF/OutputSections.cpp
ELF/OutputSections.h
ELF/Target.cpp
ELF/Target.h
ELF/Writer.cpp
test/elf2/section-layout.s
test/elf2/tls-dynamic.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13615.37010.patch
Type: text/x-patch
Size: 24817 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151010/1d47ab34/attachment.bin>
More information about the llvm-commits
mailing list