mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-22 02:49:28 +02:00
* made calls to seterrno position-independent
git-svn-id: trunk@24640 -
This commit is contained in:
parent
6eaefeed7f
commit
78f94ab035
@ -35,7 +35,7 @@ asm
|
|||||||
jnae .LSyscOK { Jump to error handler if error. }
|
jnae .LSyscOK { Jump to error handler if error. }
|
||||||
negq %rax
|
negq %rax
|
||||||
movq %rax,%rdi
|
movq %rax,%rdi
|
||||||
call seterrno
|
call seterrno@PLT
|
||||||
movq $-1,%rax
|
movq $-1,%rax
|
||||||
.LSyscOK:
|
.LSyscOK:
|
||||||
end;
|
end;
|
||||||
@ -57,7 +57,7 @@ asm
|
|||||||
jnae .LSyscOK { Jump to error handler if error. }
|
jnae .LSyscOK { Jump to error handler if error. }
|
||||||
negq %rax
|
negq %rax
|
||||||
movq %rax,%rdi
|
movq %rax,%rdi
|
||||||
call seterrno
|
call seterrno@PLT
|
||||||
movq $-1,%rax
|
movq $-1,%rax
|
||||||
.LSyscOK:
|
.LSyscOK:
|
||||||
end;
|
end;
|
||||||
@ -82,7 +82,7 @@ asm
|
|||||||
jnae .LSyscOK { Jump to error handler if error. }
|
jnae .LSyscOK { Jump to error handler if error. }
|
||||||
negq %rax
|
negq %rax
|
||||||
movq %rax,%rdi
|
movq %rax,%rdi
|
||||||
call seterrno
|
call seterrno@PLT
|
||||||
movq $-1,%rax
|
movq $-1,%rax
|
||||||
.LSyscOK:
|
.LSyscOK:
|
||||||
end;
|
end;
|
||||||
@ -110,7 +110,7 @@ asm
|
|||||||
jnae .LSyscOK { Jump to error handler if error. }
|
jnae .LSyscOK { Jump to error handler if error. }
|
||||||
negq %rax
|
negq %rax
|
||||||
movq %rax,%rdi
|
movq %rax,%rdi
|
||||||
call seterrno
|
call seterrno@PLT
|
||||||
movq $-1,%rax
|
movq $-1,%rax
|
||||||
.LSyscOK:
|
.LSyscOK:
|
||||||
end;
|
end;
|
||||||
@ -141,7 +141,7 @@ asm
|
|||||||
jnae .LSyscOK { Jump to error handler if error. }
|
jnae .LSyscOK { Jump to error handler if error. }
|
||||||
negq %rax
|
negq %rax
|
||||||
movq %rax,%rdi
|
movq %rax,%rdi
|
||||||
call seterrno
|
call seterrno@PLT
|
||||||
movq $-1,%rax
|
movq $-1,%rax
|
||||||
.LSyscOK:
|
.LSyscOK:
|
||||||
end;
|
end;
|
||||||
@ -175,7 +175,7 @@ asm
|
|||||||
jnae .LSyscOK { Jump to error handler if error. }
|
jnae .LSyscOK { Jump to error handler if error. }
|
||||||
negq %rax
|
negq %rax
|
||||||
movq %rax,%rdi
|
movq %rax,%rdi
|
||||||
call seterrno
|
call seterrno@PLT
|
||||||
movq $-1,%rax
|
movq $-1,%rax
|
||||||
.LSyscOK:
|
.LSyscOK:
|
||||||
end;
|
end;
|
||||||
@ -213,7 +213,7 @@ asm
|
|||||||
jnae .LSyscOK { Jump to error handler if error. }
|
jnae .LSyscOK { Jump to error handler if error. }
|
||||||
negq %rax
|
negq %rax
|
||||||
movq %rax,%rdi
|
movq %rax,%rdi
|
||||||
call seterrno
|
call seterrno@PLT
|
||||||
movq $-1,%rax
|
movq $-1,%rax
|
||||||
.LSyscOK:
|
.LSyscOK:
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user