mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-17 18:12:01 +01:00
work around prc-tools problem by adding entry point without GOT reference.
This commit is contained in:
parent
38c638d671
commit
1f79b176ea
1 changed files with 18 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue