mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 02:59:13 +02:00
* converted _FPC_libc21_haltproc into a pascal subroutine so stack alignment is kept
git-svn-id: trunk@43013 -
This commit is contained in:
parent
3e6e72118b
commit
719ff5fb4c
@ -103,9 +103,11 @@ asm
|
|||||||
hlt
|
hlt
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure _FPC_libc21_haltproc(e: longint); cdecl; assembler; public name '_haltproc';
|
procedure _FPC_libc21_haltproc(e: longint); cdecl; public name '_haltproc';
|
||||||
asm
|
begin
|
||||||
push e
|
libc_exit(e);
|
||||||
call libc_exit
|
{ we should never return from libc_exit }
|
||||||
hlt
|
asm
|
||||||
end;
|
hlt
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user