summaryrefslogtreecommitdiff
path: root/lib/libc/arch/powerpc/sys/sbrk.S
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1999-03-12 04:37:21 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1999-03-12 04:37:21 +0000
commit161e497b88568532b94151c2f6b2e0a2fcebc5b4 (patch)
tree417a3edcd46815d17a2e26b8ad531580a88f3ece /lib/libc/arch/powerpc/sys/sbrk.S
parent70e499b75a4474bff42c68f00994bfc1163959b7 (diff)
Fixes to the currently unused PIC support in the powerpc asm files.
contact rahnds@openbsd.org before attempting to use this funcationality.
Diffstat (limited to 'lib/libc/arch/powerpc/sys/sbrk.S')
-rw-r--r--lib/libc/arch/powerpc/sys/sbrk.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/arch/powerpc/sys/sbrk.S b/lib/libc/arch/powerpc/sys/sbrk.S
index 0cf807a5d6a..9a990d8fc8b 100644
--- a/lib/libc/arch/powerpc/sys/sbrk.S
+++ b/lib/libc/arch/powerpc/sys/sbrk.S
@@ -20,7 +20,7 @@ PREFIX2(sbrk,break)
#else
mflr 10
bl _GLOBAL_OFFSET_TABLE_@local-4
- mflr 4
+ mflr 9
mtlr 10
lwz 6,_ASM_LABEL(curbrk)@got(9)
#endif