diff options
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2005-06-10 18:25:35 +0000 |
---|---|---|
committer | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2005-06-10 18:25:35 +0000 |
commit | 569b0e03fb08ea519434d26ee77aeb3a9cdeedf3 (patch) | |
tree | ce7bae583cdc2d0d15ac3f64f5f4d8ac8c13c2d3 /libc/sysdeps/linux/powerpc/brk.S | |
parent | 79cdbec85c2c0154c8d5c6abeedee2f088300e0d (diff) |
Remove TEXTREL relocations for ARM.
Hide __syscall_error from outside libc.
From Peter Mazinger.
Diffstat (limited to 'libc/sysdeps/linux/powerpc/brk.S')
-rw-r--r-- | libc/sysdeps/linux/powerpc/brk.S | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/libc/sysdeps/linux/powerpc/brk.S b/libc/sysdeps/linux/powerpc/brk.S index b914ce814..c0b436d96 100644 --- a/libc/sysdeps/linux/powerpc/brk.S +++ b/libc/sysdeps/linux/powerpc/brk.S @@ -24,10 +24,10 @@ #ifdef __NR_brk .comm __curbrk,4,4 - .section ".text" -.globl __brk; -.type __brk, @function; -.align 2; + .text + .globl __brk + .type __brk,@function + .align 2 __brk: stwu r1,-16(r1) @@ -51,13 +51,11 @@ __brk: li r3,0 blelr+ li r3,ENOMEM -#ifdef __PIC__ - b __syscall_error@plt -#else + b __syscall_error -#endif -.size __brk,.-__brk -.weak brk; -brk=__brk + .size __brk,.-__brk + + .weak brk + brk=__brk #endif |