From f983b69c2b45b16e20f3133e5e06d041c7774c07 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 8 Jul 2005 23:37:31 +0000 Subject: oops, we want to jmp to the syscall handler, not call it --- libc/sysdeps/linux/i386/clone.S | 2 +- libc/sysdeps/linux/i386/mmap64.S | 2 +- libc/sysdeps/linux/i386/syscall.S | 2 +- libc/sysdeps/linux/i386/vfork.S | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libc') 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 -- cgit v1.2.3