Tiny cleanups.

This commit is contained in:
Ulrich Drepper 1997-05-31 00:46:24 +00:00
parent f97d5b5f4d
commit 3acff87e5b
2 changed files with 4 additions and 4 deletions

View file

@ -38,7 +38,7 @@ __errno = errno
.globl __syscall_error .globl __syscall_error
.ent __syscall_error .ent __syscall_error
__syscall_error: __syscall_error:
ldgp gp, 0(t12) ldgp gp, 0(pv)
lda sp, -16(sp) lda sp, -16(sp)
.frame sp, 16, ra, 0 .frame sp, 16, ra, 0
stq ra, 0(sp) stq ra, 0(sp)
@ -53,7 +53,7 @@ __syscall_error:
jsr ra, __errno_location jsr ra, __errno_location
/* Store the error value. */ /* Store the error value. */
ldl t0, 8(sp) ldq t0, 8(sp)
stl t0, 0(v0) stl t0, 0(v0)
/* And kick back a -1. */ /* And kick back a -1. */

View file

@ -62,10 +62,10 @@ LEAF(__syscall, 0)
mov a5, a4 mov a5, a4
call_pal PAL_callsys /* Invoke system call */ call_pal PAL_callsys /* Invoke system call */
bne a3, error bne a3, $error
ret ret
error: $error:
#ifndef PROF #ifndef PROF
br gp, 2f br gp, 2f
2: ldgp gp, 0(gp) 2: ldgp gp, 0(gp)