diff options
Diffstat (limited to 'lib/libc/arch/hppa64/sys/brk.S')
-rw-r--r-- | lib/libc/arch/hppa64/sys/brk.S | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/libc/arch/hppa64/sys/brk.S b/lib/libc/arch/hppa64/sys/brk.S index fd7022d8729..cc2bae54616 100644 --- a/lib/libc/arch/hppa64/sys/brk.S +++ b/lib/libc/arch/hppa64/sys/brk.S @@ -1,4 +1,4 @@ -/* $OpenBSD: brk.S,v 1.3 2006/01/05 22:19:49 kettenis Exp $ */ +/* $OpenBSD: brk.S,v 1.4 2011/04/21 14:12:20 jsing Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -38,29 +38,29 @@ minbrk SYSENTRY(brk) #ifdef PIC - addil LT%minbrk, r19 - ldd RT%minbrk(r1), t1 - ldd 0(t1), t2 + addil LT%minbrk, %r19 + ldd RT%minbrk(%r1), arg4 + ldd 0(arg4), arg5 #else - ldil L%minbrk, t1 - ldd R%minbrk(t1), t2 + ldil L%minbrk, arg4 + ldd R%minbrk(arg4), arg5 #endif - sub,<< t2, arg0, r0 - copy t2, arg0 - std arg0, HPPA_FRAME_ARG(0)(sp) + sub,<< arg5, %arg0, %r0 + copy arg5, %arg0 + std %arg0, HPPA_FRAME_ARG(0)(%sp) SYSCALL(break) - ldd HPPA_FRAME_ARG(0)(sp), arg0 + ldd HPPA_FRAME_ARG(0)(%sp), %arg0 #ifdef PIC - addil LT%__curbrk, r19 - ldd RT%__curbrk(r1), t1 - bv r0(rp) - std arg0, 0(t1) + addil LT%__curbrk, %r19 + ldd RT%__curbrk(%r1), arg4 + bv %r0(%rp) + std %arg0, 0(arg4) #else - ldil L%__curbrk, t1 - bv r0(rp) - std arg0, R%__curbrk(t1) + ldil L%__curbrk, arg4 + bv %r0(%rp) + std %arg0, R%__curbrk(arg4) #endif SYSEXIT(brk) |