Skip to content

Commit 71af685

Browse files
committed
mips: fix mips32 linux-syscall cc stack behavior
1 parent 0493db0 commit 71af685

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

arch/mips/arch_mips.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -2575,6 +2575,11 @@ class MipsLinuxSyscallCallingConvention: public CallingConvention
25752575
{
25762576
return false;
25772577
}
2578+
2579+
virtual bool IsStackReservedForArgumentRegisters() override
2580+
{
2581+
return true;
2582+
}
25782583
};
25792584

25802585
class MipsLinuxRtlResolveCallingConvention: public CallingConvention

0 commit comments

Comments
 (0)