[PATCH] D13550: [ELF2] Check for TLS mismatch in symbol resolution.
Igor Kudrin via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 8 03:55:35 PDT 2015
ikudrin created this revision.
ikudrin added reviewers: rafael, ruiu.
ikudrin added a subscriber: llvm-commits.
ikudrin added a project: lld.
The linker should generate an error if a TLS symbol is resolved for a non-TLS reference and vice versa.
The patch addresses [[https://llvm.org/bugs/show_bug.cgi?id=24244|PR24244]].
http://reviews.llvm.org/D13550
Files:
ELF/SymbolTable.cpp
ELF/SymbolTable.h
ELF/Symbols.h
test/elf2/Inputs/tls-mismatch.s
test/elf2/tls-mismatch.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13550.36843.patch
Type: text/x-patch
Size: 4847 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151008/a62e476e/attachment.bin>
More information about the llvm-commits
mailing list