mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-06 19:10:18 +02:00
* use an indirect jmp in fpc_longjmp
git-svn-id: trunk@24877 -
This commit is contained in:
parent
07b9019c94
commit
0de550c2c9
@ -42,11 +42,10 @@ asm
|
||||
jnz @@L1
|
||||
inc ax
|
||||
@@L1:
|
||||
mov dx, word [bx + Jmp_buf.ip]
|
||||
mov bp, word [bx + Jmp_buf.bp]
|
||||
mov sp, word [bx + Jmp_buf.sp]
|
||||
// we should also clear the fpu
|
||||
// fninit no must be done elsewhere PM
|
||||
// or we should reset the control word also
|
||||
jmp dx
|
||||
jmp word [bx + Jmp_buf.ip]
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user