about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/brk.S2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a960af80e0..874913edd9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-06  Greg McGary  <greg@mcgary.org>
+
+	* sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
+	Get low part of &__curbrk with @l.
+
 2000-06-06  Ulrich Drepper  <drepper@redhat.com>
 
 	* iconvdata/iso-2022-kr.c: Add __builtin_expect in many places.
diff --git a/sysdeps/unix/sysv/linux/powerpc/brk.S b/sysdeps/unix/sysv/linux/powerpc/brk.S
index 3147bafaee..69dd0ee6e8 100644
--- a/sysdeps/unix/sysv/linux/powerpc/brk.S
+++ b/sysdeps/unix/sysv/linux/powerpc/brk.S
@@ -37,7 +37,7 @@ ENTRY(__brk)
 	stw     r3,0(r5)
 #else
 	lis     r4,__curbrk@ha
-	stw     r3,__curbrk@sdarel(r4)
+	stw     r3,__curbrk@l(r4)
 #endif
 	cmplw   r6,r3
 	addi    r1,r1,16