mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
ARM: Enable use of relocation type tlsldo in debug info for tls data.
This fixes PR18554. Reviewers: Renato Golin, Keith Walker git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200735 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -51,3 +51,9 @@ getTTypeGlobalReference(const GlobalValue *GV, Mangler *Mang,
|
||||
MCSymbolRefExpr::VK_ARM_TARGET2,
|
||||
getContext());
|
||||
}
|
||||
|
||||
const MCExpr *ARMElfTargetObjectFile::
|
||||
getDebugThreadLocalSymbol(const MCSymbol *Sym) const {
|
||||
return MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_ARM_TLSLDO,
|
||||
getContext());
|
||||
}
|
||||
|
Reference in New Issue
Block a user