mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 14:59:32 +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. }
|
||||
negq %rax
|
||||
movq %rax,%rdi
|
||||
call seterrno
|
||||
call seterrno@PLT
|
||||
movq $-1,%rax
|
||||
.LSyscOK:
|
||||
end;
|
||||
@ -57,7 +57,7 @@ asm
|
||||
jnae .LSyscOK { Jump to error handler if error. }
|
||||
negq %rax
|
||||
movq %rax,%rdi
|
||||
call seterrno
|
||||
call seterrno@PLT
|
||||
movq $-1,%rax
|
||||
.LSyscOK:
|
||||
end;
|
||||
@ -82,7 +82,7 @@ asm
|
||||
jnae .LSyscOK { Jump to error handler if error. }
|
||||
negq %rax
|
||||
movq %rax,%rdi
|
||||
call seterrno
|
||||
call seterrno@PLT
|
||||
movq $-1,%rax
|
||||
.LSyscOK:
|
||||
end;
|
||||
@ -110,7 +110,7 @@ asm
|
||||
jnae .LSyscOK { Jump to error handler if error. }
|
||||
negq %rax
|
||||
movq %rax,%rdi
|
||||
call seterrno
|
||||
call seterrno@PLT
|
||||
movq $-1,%rax
|
||||
.LSyscOK:
|
||||
end;
|
||||
@ -141,7 +141,7 @@ asm
|
||||
jnae .LSyscOK { Jump to error handler if error. }
|
||||
negq %rax
|
||||
movq %rax,%rdi
|
||||
call seterrno
|
||||
call seterrno@PLT
|
||||
movq $-1,%rax
|
||||
.LSyscOK:
|
||||
end;
|
||||
@ -175,7 +175,7 @@ asm
|
||||
jnae .LSyscOK { Jump to error handler if error. }
|
||||
negq %rax
|
||||
movq %rax,%rdi
|
||||
call seterrno
|
||||
call seterrno@PLT
|
||||
movq $-1,%rax
|
||||
.LSyscOK:
|
||||
end;
|
||||
@ -213,7 +213,7 @@ asm
|
||||
jnae .LSyscOK { Jump to error handler if error. }
|
||||
negq %rax
|
||||
movq %rax,%rdi
|
||||
call seterrno
|
||||
call seterrno@PLT
|
||||
movq $-1,%rax
|
||||
.LSyscOK:
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user