[PATCH] D62577: [ELF] Support Local Dynamic style TLSDESC for x86-64
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 29 03:38:00 PDT 2019
MaskRay created this revision.
MaskRay added reviewers: grimar, ruiu.
Herald added subscribers: llvm-commits, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
Local Dynamic uses _TLS_MODULE_BASE_ at tlsdesc instead of a bunch of
foo at tlsdesc for each symbol. _TLS_MODULE_BASE_ is a special symbol that
makes _TLS_MODULE_BASE_ at tpoff = 0.
Make the symbol a parameter of getTlsTpOffset to special case _TLS_MODULE_BASE_.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D62577
Files:
ELF/InputSection.cpp
ELF/Writer.cpp
test/ELF/x86-64-tlsdesc-ld.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62577.201855.patch
Type: text/x-patch
Size: 4228 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190529/bf767dd8/attachment.bin>
More information about the llvm-commits
mailing list