diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-01-25 01:54:23 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-01-25 01:54:23 +0000 |
commit | 0561a81ee7b2a73af914c22ed00fd5703674e351 (patch) | |
tree | de4c97e646a168317a1061a6858cd9bc6c5c66cf /lib/libc/arch/hppa | |
parent | afdd1322a4e265f569e4b6d3630e2dff9d32bfd5 (diff) |
simplify, maaan!
Diffstat (limited to 'lib/libc/arch/hppa')
-rw-r--r-- | lib/libc/arch/hppa/sys/brk.S | 9 | ||||
-rw-r--r-- | lib/libc/arch/hppa/sys/sbrk.S | 10 | ||||
-rw-r--r-- | lib/libc/arch/hppa/sys/sigprocmask.S | 8 |
3 files changed, 8 insertions, 19 deletions
diff --git a/lib/libc/arch/hppa/sys/brk.S b/lib/libc/arch/hppa/sys/brk.S index e7bb78a605a..beb1c47336a 100644 --- a/lib/libc/arch/hppa/sys/brk.S +++ b/lib/libc/arch/hppa/sys/brk.S @@ -1,4 +1,4 @@ -/* $OpenBSD: brk.S,v 1.4 2000/01/12 00:08:41 mickey Exp $ */ +/* $OpenBSD: brk.S,v 1.5 2000/01/25 01:54:22 mickey Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -36,7 +36,7 @@ #ifdef SYSLIBC_SCCS .space .text .subspa $code$ - .asciz "$OpenBSD: brk.S,v 1.4 2000/01/12 00:08:41 mickey Exp $" + .asciz "$OpenBSD: brk.S,v 1.5 2000/01/25 01:54:22 mickey Exp $" .align 4 #endif @@ -58,13 +58,10 @@ ENTRY(brk) SYSCALL(break) - comb,<>,n r0, t1, brk$err ldw HPPA_FRAME_ARG(0)(sp), arg0 ldil L%curbrk, t1 - stw arg0, R%curbrk(t1) -brk$err bv r0(rp) - nop + stw arg0, R%curbrk(t1) EXIT(brk) .end diff --git a/lib/libc/arch/hppa/sys/sbrk.S b/lib/libc/arch/hppa/sys/sbrk.S index 832054f157e..493f0ad1608 100644 --- a/lib/libc/arch/hppa/sys/sbrk.S +++ b/lib/libc/arch/hppa/sys/sbrk.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sbrk.S,v 1.4 2000/01/12 00:08:42 mickey Exp $ */ +/* $OpenBSD: sbrk.S,v 1.5 2000/01/25 01:54:22 mickey Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -36,7 +36,7 @@ #ifdef SYSLIBC_SCCS .space .text .subspa $code$ - .asciz "$OpenBSD: sbrk.S,v 1.4 2000/01/12 00:08:42 mickey Exp $" + .asciz "$OpenBSD: sbrk.S,v 1.5 2000/01/25 01:54:22 mickey Exp $" .align 4 #endif @@ -56,16 +56,12 @@ ENTRY(sbrk) SYSCALL(break) - comb,<>,n r0, t1, brk$err - ldil L%curbrk, t1 ldw R%curbrk(t1), arg0 ldw HPPA_FRAME_ARG(0)(sp), arg1 + bv r0(rp) stw arg1, R%curbrk(t1) -brk$err - bv r0(rp) - nop EXIT(sbrk) .end diff --git a/lib/libc/arch/hppa/sys/sigprocmask.S b/lib/libc/arch/hppa/sys/sigprocmask.S index 659981a3130..4d5dae1c8a2 100644 --- a/lib/libc/arch/hppa/sys/sigprocmask.S +++ b/lib/libc/arch/hppa/sys/sigprocmask.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sigprocmask.S,v 1.5 2000/01/12 00:08:42 mickey Exp $ */ +/* $OpenBSD: sigprocmask.S,v 1.6 2000/01/25 01:54:22 mickey Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -36,7 +36,7 @@ #ifdef SYSLIBC_SCCS .space .text .subspa $code$ - .asciz "$OpenBSD: sigprocmask.S,v 1.5 2000/01/12 00:08:42 mickey Exp $" + .asciz "$OpenBSD: sigprocmask.S,v 1.6 2000/01/25 01:54:22 mickey Exp $" .align 4 #endif @@ -56,10 +56,6 @@ sigprocmask$nblock sigprocmask$call SYSCALL(sigprocmask) - add,= r0, t1, t1 - bv,n r0(rp) - nop - ldw HPPA_FRAME_ARG(2)(sp), arg2 add,= r0, arg2, arg2 stw ret0, 0(arg2) |