mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
Fix incorrect relocation generation. Patch by Kristof Beyls.
Fixes PR11214. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147180 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -209,14 +209,7 @@ unsigned ARMELFObjectWriter::GetRelocTypeInner(const MCValue &Target,
|
||||
break;
|
||||
case ARM::fixup_arm_thumb_bl:
|
||||
case ARM::fixup_arm_thumb_blx:
|
||||
switch (Modifier) {
|
||||
case MCSymbolRefExpr::VK_ARM_PLT:
|
||||
Type = ELF::R_ARM_THM_CALL;
|
||||
break;
|
||||
default:
|
||||
Type = ELF::R_ARM_NONE;
|
||||
break;
|
||||
}
|
||||
Type = ELF::R_ARM_THM_CALL;
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user