mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
[mips][mips64r6] Add relocations R_MIPS_PC21_S2, R_MIPS_PC26_S2
Differential Revision: http://reviews.llvm.org/D3824 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209655 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -193,6 +193,12 @@ unsigned MipsELFObjectWriter::GetRelocType(const MCValue &Target,
|
||||
case Mips::fixup_MICROMIPS_TLS_TPREL_LO16:
|
||||
Type = ELF::R_MICROMIPS_TLS_TPREL_LO16;
|
||||
break;
|
||||
case Mips::fixup_MIPS_PC21_S2:
|
||||
Type = ELF::R_MIPS_PC21_S2;
|
||||
break;
|
||||
case Mips::fixup_MIPS_PC26_S2:
|
||||
Type = ELF::R_MIPS_PC26_S2;
|
||||
break;
|
||||
}
|
||||
return Type;
|
||||
}
|
||||
|
Reference in New Issue
Block a user