summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-08 23:37:31 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-08 23:37:31 +0000
commitf983b69c2b45b16e20f3133e5e06d041c7774c07 (patch)
tree2e8400e4900b120e62ce9c390b60528ea7377b8f /libc/sysdeps
parent63b525301215877c698ae434c67e13a3b99e9b2f (diff)
oops, we want to jmp to the syscall handler, not call it
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/i386/clone.S2
-rw-r--r--libc/sysdeps/linux/i386/mmap64.S2
-rw-r--r--libc/sysdeps/linux/i386/syscall.S2
-rw-r--r--libc/sysdeps/linux/i386/vfork.S2
4 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/i386/clone.S b/libc/sysdeps/linux/i386/clone.S
index 81c81a789..fbbb7d4cf 100644
--- a/libc/sysdeps/linux/i386/clone.S
+++ b/libc/sysdeps/linux/i386/clone.S
@@ -115,7 +115,7 @@ __clone:
int $0x80
__error:
- call __syscall_error
+ jmp __syscall_error
.size __clone,.-__clone
diff --git a/libc/sysdeps/linux/i386/mmap64.S b/libc/sysdeps/linux/i386/mmap64.S
index dde3b9ae1..34cee1640 100644
--- a/libc/sysdeps/linux/i386/mmap64.S
+++ b/libc/sysdeps/linux/i386/mmap64.S
@@ -90,7 +90,7 @@ L_einval:
jmp __error
__error:
- call __syscall_error
+ jmp __syscall_error
.size mmap64,.-mmap64
diff --git a/libc/sysdeps/linux/i386/syscall.S b/libc/sysdeps/linux/i386/syscall.S
index 00e52c300..44eb00f49 100644
--- a/libc/sysdeps/linux/i386/syscall.S
+++ b/libc/sysdeps/linux/i386/syscall.S
@@ -49,6 +49,6 @@ syscall:
ret /* Return to caller. */
__error:
- call __syscall_error
+ jmp __syscall_error
.size syscall,.-syscall
diff --git a/libc/sysdeps/linux/i386/vfork.S b/libc/sysdeps/linux/i386/vfork.S
index 722044ec4..19c1210cb 100644
--- a/libc/sysdeps/linux/i386/vfork.S
+++ b/libc/sysdeps/linux/i386/vfork.S
@@ -27,7 +27,7 @@ __vfork:
ret
__error:
- call __syscall_error
+ jmp __syscall_error
.size __vfork,.-__vfork