mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 18:29:28 +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
|
||||
.LErrorcode:
|
||||
{$ifdef ErrnoWord}
|
||||
movw %bx,Errno
|
||||
movw %ax,Errno
|
||||
{$else}
|
||||
movl %ebx,Errno
|
||||
movl %eax,Errno
|
||||
{$endif}
|
||||
// mov $-1,%eax
|
||||
mov $-1,%eax
|
||||
end;
|
||||
|
||||
function Do_SysCall(sysnr:LONGINT):longint; assembler; [public,alias:'FPC_DOSYS0'];
|
||||
|
Loading…
Reference in New Issue
Block a user