[PATCH] D31274: Remove an optimization to set the TLS module index to 1.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 23 16:51:47 PDT 2017


ruiu added a comment.

Thank you for reviewing. I now understand why this is needed. I'll retract this patch and try something else. I think the issue we have here is that there's no easy way to write just 1 to the GOT entry, so we add a R_ARM_TLS_DTPMOD32 relocation and do that later, which is not very intuitive. I'll try to see if I can implement a more direct way of doing it.


https://reviews.llvm.org/D31274





More information about the llvm-commits mailing list