summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/powerpc/brk.S
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-10 16:20:23 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-10 16:20:23 +0000
commit42c1ad48fa946f00d67d0b023f50e5d6d8fc293f (patch)
treef510bb36f58711b809103832fa826b0de13df593 /libc/sysdeps/linux/powerpc/brk.S
parent7747ec45650949ca4712be8e2cbc0588c0922982 (diff)
downloaduClibc-alpine-42c1ad48fa946f00d67d0b023f50e5d6d8fc293f.tar.bz2
uClibc-alpine-42c1ad48fa946f00d67d0b023f50e5d6d8fc293f.tar.xz
Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, most of global data relocations are back
Diffstat (limited to 'libc/sysdeps/linux/powerpc/brk.S')
-rw-r--r--libc/sysdeps/linux/powerpc/brk.S7
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/powerpc/brk.S b/libc/sysdeps/linux/powerpc/brk.S
index 95b4dfd0d..b06dc0c94 100644
--- a/libc/sysdeps/linux/powerpc/brk.S
+++ b/libc/sysdeps/linux/powerpc/brk.S
@@ -35,7 +35,6 @@ __curbrk: .skip 4
#else
.comm __curbrk, 4,4
#endif
-libc_hidden_data_def(__curbrk)
.text
.globl brk
@@ -52,12 +51,12 @@ brk:
mflr r4
bl _GLOBAL_OFFSET_TABLE_@local-4
mflr r5
- lwz r5,HIDDEN_JUMPTARGET(__curbrk)@got(r5)
+ lwz r5,__curbrk@got(r5)
mtlr r4
stw r3,0(r5)
#else
- lis r4,HIDDEN_JUMPTARGET(__curbrk)@ha
- stw r3,HIDDEN_JUMPTARGET(__curbrk)@l(r4)
+ lis r4,__curbrk@ha
+ stw r3,__curbrk@l(r4)
#endif
cmplw r6,r3
addi r1,r1,16