This patch adds the target call back relaxTlsLdToLe to support TLS relaxation from local dynamic to local exec model.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lld/ELF/Arch/PPC64.cpp | ||
---|---|---|
178–189 ↗ | (On Diff #152744) | I'm little confused by this part of the comment because these instructions are not really related to this function. Maybe just explaining the first four instructions is better? |
198 ↗ | (On Diff #152744) | What is this? |
200 ↗ | (On Diff #152744) | nit: you don't need {} after case if you don't define any variable inside it, as {} is added to introduce a new local variable scope. |
225 ↗ | (On Diff #152744) | ditto |
lld/ELF/Arch/PPC64.cpp | ||
---|---|---|
185 ↗ | (On Diff #152939) | I think this comment should be // addis r3, r13, 0 |
lld/ELF/Relocations.cpp | ||
210 ↗ | (On Diff #152939) | At this point haven't we already returned if the RelExpr is a R_TLSLD_HINT? (likewise for R_TLSLD_GOT_FROM_END and R_TLSLD_PC). |
lld/ELF/Relocations.h | ||
47 ↗ | (On Diff #152939) | This should be put in sorted order. |