mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-26 09:18:56 +00:00
finish up support for callw: PR7195
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107826 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -33,6 +33,7 @@ static unsigned getFixupKindLog2Size(unsigned Kind) {
|
||||
default: llvm_unreachable("invalid fixup kind!");
|
||||
case X86::reloc_pcrel_1byte:
|
||||
case FK_Data_1: return 0;
|
||||
case X86::reloc_pcrel_2byte:
|
||||
case FK_Data_2: return 1;
|
||||
case X86::reloc_pcrel_4byte:
|
||||
case X86::reloc_riprel_4byte:
|
||||
@@ -47,6 +48,7 @@ static bool isFixupKindPCRel(unsigned Kind) {
|
||||
default:
|
||||
return false;
|
||||
case X86::reloc_pcrel_1byte:
|
||||
case X86::reloc_pcrel_2byte:
|
||||
case X86::reloc_pcrel_4byte:
|
||||
case X86::reloc_riprel_4byte:
|
||||
case X86::reloc_riprel_4byte_movq_load:
|
||||
|
Reference in New Issue
Block a user