summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/ia64/brk.S
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-10 08:50:27 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-10 08:50:27 +0000
commit7747ec45650949ca4712be8e2cbc0588c0922982 (patch)
treeb324408fd0476cd6dad217f144384884602a91ec /libc/sysdeps/linux/ia64/brk.S
parent89736cf64b4fac7eca7bd9ec0a56625a9c2e64b8 (diff)
Remove duplicate hidden __curbrk (ppc), make use of the hidden versions
Diffstat (limited to 'libc/sysdeps/linux/ia64/brk.S')
-rw-r--r--libc/sysdeps/linux/ia64/brk.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/ia64/brk.S b/libc/sysdeps/linux/ia64/brk.S
index 6d146a579..35547b74b 100644
--- a/libc/sysdeps/linux/ia64/brk.S
+++ b/libc/sysdeps/linux/ia64/brk.S
@@ -31,14 +31,15 @@
.align 8
__curbrk:
data8 0
+libc_hidden_data_def(__curbrk)
weak_alias (__curbrk, ___brk_addr)
-LEAF(__brk)
+LEAF(brk)
.regstk 1, 0, 0, 0
DO_CALL(__NR_brk)
cmp.ltu p6, p0 = ret0, in0
- addl r9 = @ltoff(__curbrk), gp
+ addl r9 = @ltoff(HIDDEN_JUMPTARGET(__curbrk)), gp
;;
ld8 r9 = [r9]
(p6) mov ret0 = ENOMEM
@@ -47,6 +48,5 @@ LEAF(__brk)
st8 [r9] = ret0
mov ret0 = 0
ret
-END(__brk)
-
-weak_alias (__brk, brk)
+END(brk)
+libc_hidden_def(brk)