[lld] r350681 - [ARM][AArch64] Increase TLS alignment to reserve space for Android's TCB
Joerg Sonnenberger via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 9 05:42:26 PST 2019
On Wed, Jan 09, 2019 at 12:09:59AM -0000, Ryan Prichard via llvm-commits wrote:
> To reconcile this disagreement about TLS memory layout, set the minimum
> alignment for executable TLS segments to 8 words on ARM/AArch64, which
> reserves at least 8 words of memory after the TP (2 for the ABI-specified
> TCB and 6 for alignment padding). For simplicity, and because lld doesn't
> know when it's targeting Android, increase the alignment regardless of
> operating system.
I find this commit somewhat ironic given the discussion in D56215...
Joerg
More information about the llvm-commits
mailing list