[PATCH] [lld] [ELF/AArch64] Fix local TLS relocations
Adhemerval Zanella
adhemerval.zanella at linaro.org
Tue May 26 05:19:24 PDT 2015
Hi ruiu, shankar.easwaran,
This patch fixes the R_AARCH64_TLSLE_ADD_TPREL_HI12 and R_AARCH64_TLSLE_ADD_TPREL_LO12_NC
handling by using the correct offset by using the target layout along with
aarch64 alignments requirements.
It fixes the TLS test-suite SingleSource failures for aarch64:
* SingleSource/UnitTests/Threads/2010-12-08-tls.execution_time
* SingleSource/UnitTests/Threads/tls.execution_time
http://reviews.llvm.org/D10030
Files:
lib/ReaderWriter/ELF/AArch64/AArch64RelocationHandler.cpp
lib/ReaderWriter/ELF/AArch64/AArch64RelocationHandler.h
lib/ReaderWriter/ELF/AArch64/AArch64TargetHandler.cpp
lib/ReaderWriter/ELF/AArch64/AArch64TargetHandler.h
test/elf/AArch64/local-tls.test
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10030.26505.patch
Type: text/x-patch
Size: 7999 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150526/396c6d85/attachment.bin>
More information about the llvm-commits
mailing list