diff options
Diffstat (limited to 'lib/Target/AArch64/AArch64TargetObjectFile.cpp')
| -rw-r--r-- | lib/Target/AArch64/AArch64TargetObjectFile.cpp | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/AArch64/AArch64TargetObjectFile.cpp b/lib/Target/AArch64/AArch64TargetObjectFile.cpp index 4bc2c060a0684..8ae72a7ddb573 100644 --- a/lib/Target/AArch64/AArch64TargetObjectFile.cpp +++ b/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()  | 
