From 569b0e03fb08ea519434d26ee77aeb3a9cdeedf3 Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Fri, 10 Jun 2005 18:25:35 +0000 Subject: Remove TEXTREL relocations for ARM. Hide __syscall_error from outside libc. From Peter Mazinger. --- libc/sysdeps/linux/powerpc/brk.S | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'libc/sysdeps/linux/powerpc/brk.S') 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 -- cgit v1.2.3