The linker should generate an error if a TLS symbol is resolved for a non-TLS reference and vice versa.
The patch addresses PR24244.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D13550
[ELF2] Check for TLS mismatch in symbol resolution. ClosedPublic Authored by ikudrin on Oct 8 2015, 3:55 AM.
Details Summary The linker should generate an error if a TLS symbol is resolved for a non-TLS reference and vice versa.
Diff Detail Event Timelineikudrin updated this object. ruiu edited edge metadata. Comment ActionsLGTM
This revision is now accepted and ready to land.Oct 8 2015, 2:48 PM Closed by commit rL249817: [ELF2] Check for TLS mismatch in symbol resolution. (authored by ikudrin). · Explain WhyOct 9 2015, 3:00 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 36843 ELF/SymbolTable.h
ELF/SymbolTable.cpp
ELF/Symbols.h
test/elf2/tls-mismatch.s
|
Move Message to the beginning of the parameter list.