diff options
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp')
-rw-r--r-- | llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp b/llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp index 4bc2c060a06..8ae72a7ddb5 100644 --- a/llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp +++ b/llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp @@ -22,6 +22,9 @@ void AArch64_ELFTargetObjectFile::Initialize(MCContext &Ctx, const TargetMachine &TM) { TargetLoweringObjectFileELF::Initialize(Ctx, TM); InitializeELF(TM.Options.UseInitArray); + // AARCH64 ELF ABI does not define static relocation type for TLS offset + // within a module. Do not generate AT_location for TLS variables. + SupportDebugThreadLocalLocation = false; } AArch64_MachoTargetObjectFile::AArch64_MachoTargetObjectFile() |