diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2015-06-03 20:39:30 +0000 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2015-06-03 20:39:30 +0000 |
commit | 4bcc13d98812d97a9e8e75c494b73587d64ee044 (patch) | |
tree | 34451dd3e65129e8f0fa08b668f6b5d9a148a866 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 90e0bd96ff732cfec9b5fdc10ad4279b1184a394 (diff) | |
download | llvm-4bcc13d98812d97a9e8e75c494b73587d64ee044.zip llvm-4bcc13d98812d97a9e8e75c494b73587d64ee044.tar.gz llvm-4bcc13d98812d97a9e8e75c494b73587d64ee044.tar.bz2 |
[ELF/AArch64] Fix correct TCB aligment calculation
This patch fixes the TLS local relocations alignment done by @238258.
As pointed out, the TLS size should not be considered, but rather the
TCB size based on maximum output segment alignment. Although it has
not shown in the TLS simple cases for test-suite, more comprehensible
tests with more local TLS variable showed wrong relocations values
being generated.
The local TLS testcase is expanded to add more tls variable (both
exported and static) initialized or not.
llvm-svn: 238960
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions