Browse Source

* rtl/m68k/setjump.inc:
correctly dummy out setjump as "d0 <> 0" means that longjmp was executed (and d0 could be set from the calling function)

git-svn-id: trunk@22797 -

svenbarth 12 years ago
parent
commit
a266d73409
1 changed files with 1 additions and 0 deletions
  1. 1 0
      rtl/m68k/setjump.inc

+ 1 - 0
rtl/m68k/setjump.inc

@@ -18,6 +18,7 @@
 
 Function fpc_SetJmp (Var S : Jmp_buf) : longint;assembler;[Public, alias : 'FPC_SETJMP'];compilerproc;
 asm
+  moveq.l #0, d0
 end;
 
 Procedure fpc_longJmp (Var S : Jmp_buf; value : longint); assembler;[Public, alias : 'FPC_LONGJMP'];compilerproc;