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/syscall.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/syscall.S')
-rw-r--r-- | libc/sysdeps/linux/powerpc/syscall.S | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/libc/sysdeps/linux/powerpc/syscall.S b/libc/sysdeps/linux/powerpc/syscall.S index 71f711931..b85398416 100644 --- a/libc/sysdeps/linux/powerpc/syscall.S +++ b/libc/sysdeps/linux/powerpc/syscall.S @@ -18,14 +18,10 @@ #include <features.h> - .section ".text" - .globl syscall; - .type syscall,@function; - .align 2; - -.globl syscall; -.type syscall,@function; -.align 2; + .text + .globl syscall + .type syscall,@function + .align 2 syscall: mr 0,3 @@ -36,10 +32,7 @@ syscall: mr 7,8 sc bnslr; -#ifdef __PIC__ - b __syscall_error@plt -#else + b __syscall_error -#endif -.size syscall,.-syscall + .size syscall,.-syscall |