From 78f94ab0350e40ed6651d083b381c733a0dafde2 Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Thu, 30 May 2013 12:23:50 +0000 Subject: [PATCH] * made calls to seterrno position-independent git-svn-id: trunk@24640 - --- rtl/linux/x86_64/syscall.inc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/rtl/linux/x86_64/syscall.inc b/rtl/linux/x86_64/syscall.inc index e073236936..328319234b 100644 --- a/rtl/linux/x86_64/syscall.inc +++ b/rtl/linux/x86_64/syscall.inc @@ -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;