diff options
author | Richard Henderson <rth@twiddle.net> | 2012-09-28 10:51:01 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2012-09-28 10:51:01 -0700 |
commit | c18b7473cb88e49d9f59ac2b1d2c68692202313d (patch) | |
tree | b7730742be5192d423c275b972d44e49d413a484 /ports/sysdeps/unix/sysv/linux/alpha/syscall.S | |
parent | b31606c0e1d9f04e2498b7c8262f7de87daa7ce7 (diff) | |
download | glibc-c18b7473cb88e49d9f59ac2b1d2c68692202313d.tar.gz glibc-c18b7473cb88e49d9f59ac2b1d2c68692202313d.tar.xz glibc-c18b7473cb88e49d9f59ac2b1d2c68692202313d.zip |
alpha: Fix all users of SYSCALL_ERROR_HANDLER
The fix begun in 64e65bc1 was incomplete. Fixed by adding a new SYSCALL_ERROR_FALLTHRU macro.
Diffstat (limited to 'ports/sysdeps/unix/sysv/linux/alpha/syscall.S')
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/alpha/syscall.S | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/syscall.S b/ports/sysdeps/unix/sysv/linux/alpha/syscall.S index 830b10acb6..5cec3800e7 100644 --- a/ports/sysdeps/unix/sysv/linux/alpha/syscall.S +++ b/ports/sysdeps/unix/sysv/linux/alpha/syscall.S @@ -62,16 +62,9 @@ LEAF(__syscall, 0) ldq a5,0(sp) /* arg6 -> a5 */ call_pal PAL_callsys /* Invoke system call */ - bne a3, $error + bne a3, SYSCALL_ERROR_LABEL ret -$error: -#ifndef PROF - br gp, 2f -2: ldgp gp, 0(gp) -#endif - SYSCALL_ERROR_HANDLER - -END(__syscall) +PSEUDO_END(__syscall) weak_alias (__syscall, syscall) |