mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
ARM: add tlsldo relocation
Add support for the symbol(tlsldo) relocation. This is required in order to solve PR18554. Reviewed by R. Golin, A. Korobeynikov. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199644 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -250,6 +250,9 @@ unsigned ARMELFObjectWriter::GetRelocTypeInner(const MCValue &Target,
|
||||
case MCSymbolRefExpr::VK_ARM_PREL31:
|
||||
Type = ELF::R_ARM_PREL31;
|
||||
break;
|
||||
case MCSymbolRefExpr::VK_ARM_TLSLDO:
|
||||
Type = ELF::R_ARM_TLS_LDO32;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case ARM::fixup_arm_ldst_pcrel_12:
|
||||
|
Reference in New Issue
Block a user