diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-03-10 08:50:27 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-03-10 08:50:27 +0000 |
commit | 7747ec45650949ca4712be8e2cbc0588c0922982 (patch) | |
tree | b324408fd0476cd6dad217f144384884602a91ec /libc/sysdeps/linux/powerpc/brk.S | |
parent | 89736cf64b4fac7eca7bd9ec0a56625a9c2e64b8 (diff) |
Remove duplicate hidden __curbrk (ppc), make use of the hidden versions
Diffstat (limited to 'libc/sysdeps/linux/powerpc/brk.S')
-rw-r--r-- | libc/sysdeps/linux/powerpc/brk.S | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/powerpc/brk.S b/libc/sysdeps/linux/powerpc/brk.S index 2fd8e5518..95b4dfd0d 100644 --- a/libc/sysdeps/linux/powerpc/brk.S +++ b/libc/sysdeps/linux/powerpc/brk.S @@ -52,12 +52,12 @@ brk: mflr r4 bl _GLOBAL_OFFSET_TABLE_@local-4 mflr r5 - lwz r5,__curbrk@got(r5) + lwz r5,HIDDEN_JUMPTARGET(__curbrk)@got(r5) mtlr r4 stw r3,0(r5) #else - lis r4,__curbrk@ha - stw r3,__curbrk@l(r4) + lis r4,HIDDEN_JUMPTARGET(__curbrk)@ha + stw r3,HIDDEN_JUMPTARGET(__curbrk)@l(r4) #endif cmplw r6,r3 addi r1,r1,16 @@ -70,6 +70,4 @@ brk: .size brk,.-brk libc_hidden_def(brk) -/* won't help too much, HIDDEN_JUMPTARGET should be used here as well, now the reloc remains */ -libc_hidden_data_def(__curbrk) #endif |