aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S16
1 files changed, 7 insertions, 9 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S b/sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S
index 1610745524..3b135c8e86 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S
@@ -17,10 +17,8 @@
02111-1307 USA. */
#include <sysdep.h>
-
.text
- .globl __syscall_error
-ENTRY(syscall)
+ENTRY (syscall)
mov %o0, %g1
mov %o1, %o0
mov %o2, %o1
@@ -28,10 +26,10 @@ ENTRY(syscall)
mov %o4, %o3
mov %o5, %o4
ta 0x10
- bcc 1f
- mov %o7, %g1
- call __syscall_error
- mov %g1, %o7
-1: retl
+ bcs __syscall_error_handler
+ nop
+ retl
nop
-END(syscall)
+ SYSCALL_ERROR_HANDLER
+
+PSEUDO_END (syscall)