about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/powerpc/brk.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/brk.S')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/brk.S28
1 files changed, 14 insertions, 14 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/brk.S b/sysdeps/unix/sysv/linux/powerpc/brk.S
index f4a3f3bcec..16f5215fd4 100644
--- a/sysdeps/unix/sysv/linux/powerpc/brk.S
+++ b/sysdeps/unix/sysv/linux/powerpc/brk.S
@@ -1,5 +1,5 @@
 /* brk system call for Linux/ppc.
-   Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -24,25 +24,25 @@
 	.comm	__curbrk,4,4
 	.section ".text"
 ENTRY(__brk)
-	stwu    %r1,-16(%r1)
-	stw	%r3,8(%r1)
+	stwu    r1,-16(r1)
+	stw	r3,8(r1)
 	DO_CALL(SYS_ify(brk))
-	lwz     %r6,8(%r1)
+	lwz     r6,8(r1)
 #ifdef PIC
-	mflr    %r4
+	mflr    r4
 	bl      _GLOBAL_OFFSET_TABLE_@local-4
-	mflr    %r5
-	lwz     %r5,__curbrk@got(%r5)
-	mtlr    %r4
-	stw     %r3,0(%r5)
+	mflr    r5
+	lwz     r5,__curbrk@got(r5)
+	mtlr    r4
+	stw     r3,0(r5)
 #else
-	stw     %r3,__curbrk@sdarel(%r13)
+	stw     r3,__curbrk@sdarel(r13)
 #endif
-	cmplw   %r6,%r3
-	addi    %r1,%r1,16
-	li	%r3,0
+	cmplw   r6,r3
+	addi    r1,r1,16
+	li	r3,0
 	blelr+
-	li      %r3,ENOMEM
+	li      r3,ENOMEM
 	b	JUMPTARGET(__syscall_error)
 END (__brk)