소스 검색

* 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 년 전
부모
커밋
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;