Adds handling of all the relocation types for general-dynamic thread local storage.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Renamed the test and fixed several places where I used global-dynamic instead of`general-dynamic`.
Added run steps to the test to run on BE as well as LE.
ELF/InputSection.cpp | ||
---|---|---|
634 ↗ | (On Diff #148449) | Should R_TLSGD be renamed to R_TLSGD_END (likewise for R_TLSLD) to match the other RelExprs that subtract the got size off of the TargetVA? I could do this in a separate nfc patch. |
Comment Actions
The test function is the typical General-Dynamic access sequence clang will produce. The other 2 functions are sort of tacked on simply as a way to test that we evaluate the other 2 relocations that I add but aren't used in the 'test' function.