mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 00:19:25 +02:00
* More errno changes
This commit is contained in:
parent
4549d72802
commit
82f9961048
@ -37,11 +37,11 @@ procedure actualsyscall; assembler; {inline requires a dummy push IIRC}
|
|||||||
ret
|
ret
|
||||||
.LErrorcode:
|
.LErrorcode:
|
||||||
{$ifdef ErrnoWord}
|
{$ifdef ErrnoWord}
|
||||||
movw %bx,Errno
|
movw %ax,Errno
|
||||||
{$else}
|
{$else}
|
||||||
movl %ebx,Errno
|
movl %eax,Errno
|
||||||
{$endif}
|
{$endif}
|
||||||
// mov $-1,%eax
|
mov $-1,%eax
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function Do_SysCall(sysnr:LONGINT):longint; assembler; [public,alias:'FPC_DOSYS0'];
|
function Do_SysCall(sysnr:LONGINT):longint; assembler; [public,alias:'FPC_DOSYS0'];
|
||||||
|
Loading…
Reference in New Issue
Block a user