mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 17:29:33 +02:00
* 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 -
This commit is contained in:
parent
05fc3bc427
commit
a266d73409
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
Function fpc_SetJmp (Var S : Jmp_buf) : longint;assembler;[Public, alias : 'FPC_SETJMP'];compilerproc;
|
Function fpc_SetJmp (Var S : Jmp_buf) : longint;assembler;[Public, alias : 'FPC_SETJMP'];compilerproc;
|
||||||
asm
|
asm
|
||||||
|
moveq.l #0, d0
|
||||||
end;
|
end;
|
||||||
|
|
||||||
Procedure fpc_longJmp (Var S : Jmp_buf; value : longint); assembler;[Public, alias : 'FPC_LONGJMP'];compilerproc;
|
Procedure fpc_longJmp (Var S : Jmp_buf; value : longint); assembler;[Public, alias : 'FPC_LONGJMP'];compilerproc;
|
||||||
|
Loading…
Reference in New Issue
Block a user