From 65ff0fc071dc6d18ad35c1c576b09555f8646983 Mon Sep 17 00:00:00 2001 From: ehouse Date: Tue, 28 Sep 2004 01:06:14 +0000 Subject: [PATCH] work around prc-tools problem by adding entry point without GOT reference. --- palm/pnolet.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/palm/pnolet.c b/palm/pnolet.c index 08c0564a8..81e6e3896 100644 --- a/palm/pnolet.c +++ b/palm/pnolet.c @@ -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;