[PATCH] D15769: [ELF] - implemented R_386_TLS_IE_32 relocation.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 24 06:18:20 PST 2015
grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar.
R_386_TLS_IE_32 is generated in such sequence:
movl %gs:0,%eax
addl tls0 at gottpoff(%ebx),%eax
Urlich has the only mention of it as #define R_386_TLS_IE_32 /* GOT entry for static TLS block */ and no other info, so main source of information was gold output and source code mostly.
Patch has one problem I would like to discuss. Will add comment below.
http://reviews.llvm.org/D15769
Files:
ELF/InputSection.cpp
ELF/OutputSections.cpp
ELF/Target.cpp
ELF/Target.h
test/ELF/tls-opt-ie32le-i686.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15769.43596.patch
Type: text/x-patch
Size: 8410 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151224/0c99f8a7/attachment.bin>
More information about the llvm-commits
mailing list