Tiny cleanups.
authorUlrich Drepper <drepper@redhat.com>
Sat, 31 May 1997 00:46:24 +0000 (00:46 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 31 May 1997 00:46:24 +0000 (00:46 +0000)
sysdeps/unix/alpha/sysdep.S
sysdeps/unix/sysv/linux/alpha/syscall.S

index 9df3134..fc5cc04 100644 (file)
@@ -38,7 +38,7 @@ __errno = errno
        .globl __syscall_error
        .ent __syscall_error
 __syscall_error:
-       ldgp    gp, 0(t12)
+       ldgp    gp, 0(pv)
        lda     sp, -16(sp)
        .frame  sp, 16, ra, 0
        stq     ra, 0(sp)
@@ -53,7 +53,7 @@ __syscall_error:
        jsr     ra, __errno_location
 
        /* Store the error value.  */
-       ldl     t0, 8(sp)
+       ldq     t0, 8(sp)
        stl     t0, 0(v0)
 
        /* And kick back a -1.  */
index 75e1260..d25dd6b 100644 (file)
@@ -62,10 +62,10 @@ LEAF(__syscall, 0)
        mov     a5, a4
 
        call_pal PAL_callsys    /* Invoke system call */
-       bne     a3, error
+       bne     a3, $error
        ret
 
-error:
+$error:
 #ifndef PROF
        br      gp, 2f
 2:     ldgp    gp, 0(gp)