[PATCH] D53906: [ELF] Allow configuring the TLS layout for an Android executable
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 1 17:25:18 PDT 2018
ruiu added a comment.
I don't know if moving the TSAN slot is feasible, but if it's feasible, I think I prefer the approach to always set 8 word alignment to the TLS segment on ARM/AArch64. That means on non-Android OSes there are 6 unused words between the TP and the beginning of the TLS segment per thread. I think that's acceptable given that by having that gap, we can avoid introducing a new ABI and a new static linker configuration/command line flag.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D53906
More information about the llvm-commits
mailing list