mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +00:00
Add a few moreLocal/Global R_MIPS_GOT related fixups and
make the addend fixup code a bit more generic Patch by Jack Carter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145998 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1872,7 +1872,8 @@ unsigned MipsELFObjectWriter::GetRelocType(const MCValue &Target,
|
||||
case Mips::fixup_Mips_CALL16:
|
||||
Type = ELF::R_MIPS_CALL16;
|
||||
break;
|
||||
case Mips::fixup_Mips_GOT16:
|
||||
case Mips::fixup_Mips_GOT_Global:
|
||||
case Mips::fixup_Mips_GOT_Local:
|
||||
Type = ELF::R_MIPS_GOT16;
|
||||
break;
|
||||
case Mips::fixup_Mips_HI16:
|
||||
|
||||
Reference in New Issue
Block a user