work around prc-tools problem by adding entry point without GOT reference.

This commit is contained in:
ehouse 2004-09-28 01:06:14 +00:00
parent 38c638d671
commit 1f79b176ea

View file

@ -22,10 +22,28 @@
#include "pace_gen.h"
#include "palmmain.h"
unsigned long
realArmletEntryPoint( const void *emulStateP,
void *userData68KP,
Call68KFuncType* call68KFuncP );
/* With arm-palmos-gcc, there can't be any .GOT references in the entry point
(since those values get put inline BEFORE the function rather than
after.) */
unsigned long
ArmletEntryPoint( const void *emulStateP,
void *userData68KP,
Call68KFuncType* call68KFuncP )
{
return realArmletEntryPoint( emulStateP,
userData68KP,
call68KFuncP );
}
unsigned long
realArmletEntryPoint( const void *emulStateP,
void *userData68KP,
Call68KFuncType* call68KFuncP )
{
PNOState* loc;
PNOState state;