diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-05-05 20:25:54 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-05-05 20:25:54 +0000 |
| commit | 81273c721c3afa879e33be627d00fdeca6b9ce6a (patch) | |
| tree | c7df3c485a76c2b76de0b7867d99dd0530dc42bc /llvm/test/CodeGen/SPARC/exception.ll | |
| parent | 60b40b8fec56d4d0131f01985e9a10b31d772841 (diff) | |
| download | bcm5719-llvm-81273c721c3afa879e33be627d00fdeca6b9ce6a.tar.gz bcm5719-llvm-81273c721c3afa879e33be627d00fdeca6b9ce6a.zip | |
Remove isTlsLocalDynamicRel and isTlsInitialExecRel.
This feels a bit hackish, but I think it is still an improvement.
The way a tls address is computed in the various architectures is not
that different. For example, for local dynamic we need the base of the
tls (R_TLSLD or R_TLSLD_PC), and the offset of that particular symbol
(R_ABS).
Given the similarity, we can just use the expressions instead of
having two additional target hooks.
llvm-svn: 302279
Diffstat (limited to 'llvm/test/CodeGen/SPARC/exception.ll')
0 files changed, 0 insertions, 0 deletions

