mirror of https://github.com/PCSX2/pcsx2.git
aligned_stack: fix attempt #1 for RecExit. Changed the jump to a call, which (I think!) should give GCC the stackframe setup it expects to see when trying to throw an exception.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/aligned_stack@2025 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
87cbaaf5ca
commit
9a1f3ae9f1
|
@ -58,6 +58,7 @@
|
|||
</Target>
|
||||
</Build>
|
||||
<Compiler>
|
||||
<Add option="-march=native" />
|
||||
<Add directory="../../include/Utilities" />
|
||||
<Add directory="../../include" />
|
||||
<Add directory="../../../3rdparty" />
|
||||
|
|
|
@ -88,8 +88,6 @@
|
|||
</Environment>
|
||||
</Build>
|
||||
<Compiler>
|
||||
<Add option="-march=pentium4" />
|
||||
<Add option="-march=i486" />
|
||||
<Add option="-Wno-format" />
|
||||
<Add option="-Wno-unused-parameter" />
|
||||
<Add option="-Wno-unused-value" />
|
||||
|
@ -420,7 +418,6 @@
|
|||
<Option compiler="gcc" use="0" buildCommand="gcc $options -S $includes -c $file -o $object" />
|
||||
</Unit>
|
||||
<Unit filename="../x86/ir5900tables.cpp" />
|
||||
<Unit filename="../x86/ix86-32/aR5900-32.S" />
|
||||
<Unit filename="../x86/ix86-32/iCore-32.cpp" />
|
||||
<Unit filename="../x86/ix86-32/iR5900-32.cpp" />
|
||||
<Unit filename="../x86/ix86-32/iR5900Arit.cpp" />
|
||||
|
|
|
@ -834,10 +834,15 @@ void CheckForBIOSEnd()
|
|||
xMOV( eax, &cpuRegs.pc );
|
||||
|
||||
xCMP( eax, 0x00200008 );
|
||||
xJE( ExitRec );
|
||||
xForwardJE8 CallExitRec;
|
||||
|
||||
xCMP( eax, 0x00100008 );
|
||||
xJE( ExitRec );
|
||||
xForwardJNE8 SkipExitRec;
|
||||
|
||||
CallExitRec.SetTarget();
|
||||
xCALL( ExitRec );
|
||||
|
||||
SkipExitRec.SetTarget();
|
||||
}
|
||||
|
||||
static int *s_pCode;
|
||||
|
|
Loading…
Reference in New Issue