mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
work around prc-tools problem by adding entry point without GOT reference.
This commit is contained in:
parent
3b4f49e9f2
commit
65ff0fc071
1 changed files with 18 additions and 0 deletions
|
@ -22,10 +22,28 @@
|
||||||
#include "pace_gen.h"
|
#include "pace_gen.h"
|
||||||
#include "palmmain.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
|
unsigned long
|
||||||
ArmletEntryPoint( const void *emulStateP,
|
ArmletEntryPoint( const void *emulStateP,
|
||||||
void *userData68KP,
|
void *userData68KP,
|
||||||
Call68KFuncType* call68KFuncP )
|
Call68KFuncType* call68KFuncP )
|
||||||
|
{
|
||||||
|
return realArmletEntryPoint( emulStateP,
|
||||||
|
userData68KP,
|
||||||
|
call68KFuncP );
|
||||||
|
}
|
||||||
|
|
||||||
|
unsigned long
|
||||||
|
realArmletEntryPoint( const void *emulStateP,
|
||||||
|
void *userData68KP,
|
||||||
|
Call68KFuncType* call68KFuncP )
|
||||||
{
|
{
|
||||||
PNOState* loc;
|
PNOState* loc;
|
||||||
PNOState state;
|
PNOState state;
|
||||||
|
|
Loading…
Reference in a new issue