浏览代码

* 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 13 年之前
父节点
当前提交
a266d73409
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;