[PATCH] D62106: [X86] Support -fno-plt __tls_get_addr calls

Rich Felker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 22 07:58:19 PDT 2019


dalias added a comment.

I'm not sure how LLVM internals work, but if it's anything like GCC's, I think you just need to make it take a register operand for the GOT address as an input/operand. Then the higher-level code should ensure it's available, and then you just use it in the code emitted. Touching higher-level code shouldn't be needed.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62106/new/

https://reviews.llvm.org/D62106





More information about the llvm-commits mailing list