summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2007-02-12 09:23:14 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2007-02-12 09:23:14 +0000
commit698b37c48595106acf366a3cecc08ccad0bad3c4 (patch)
tree9e8f918d67518821f800df46e0b4ea4df3cbbc87 /libc/sysdeps
parent2f754da6a16605cd2ac2d03158b15a33a606615d (diff)
Remove #APP/#NO_APP since -std=gnu99 will make
gcc barf otherwise.
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/powerpc/crti.S9
-rw-r--r--libc/sysdeps/linux/powerpc/crtn.S11
2 files changed, 2 insertions, 18 deletions
diff --git a/libc/sysdeps/linux/powerpc/crti.S b/libc/sysdeps/linux/powerpc/crti.S
index 491642496..a6ea25003 100644
--- a/libc/sysdeps/linux/powerpc/crti.S
+++ b/libc/sysdeps/linux/powerpc/crti.S
@@ -1,8 +1,6 @@
.file "initfini.c"
-#APP
.section .init
-#NO_APP
.align 2
.globl _init
.type _init, @function
@@ -10,13 +8,11 @@ _init:
stwu 1,-32(1)
mflr 0
stw 0,36(1)
-#APP
.align 2
.section .fini
-#NO_APP
.align 2
.globl _fini
.type _fini, @function
@@ -24,8 +20,3 @@ _fini:
stwu 1,-32(1)
mflr 0
stw 0,36(1)
-#APP
- .align 2
-
-
- .ident "GCC: (GNU) 3.3.1 20030626 (Debian prerelease)"
diff --git a/libc/sysdeps/linux/powerpc/crtn.S b/libc/sysdeps/linux/powerpc/crtn.S
index 5de93ea8a..ba6d0e0c8 100644
--- a/libc/sysdeps/linux/powerpc/crtn.S
+++ b/libc/sysdeps/linux/powerpc/crtn.S
@@ -1,30 +1,23 @@
.file "initfini.c"
-#APP
.section .init
-#NO_APP
.align 2
.globl _init
.type _init, @function
-#NO_APP
+
lwz 0,36(1)
addi 1,1,32
mtlr 0
blr
.size _init, .-_init
-#APP
.section .fini
-#NO_APP
.align 2
.globl _fini
.type _fini, @function
-#NO_APP
+
lwz 0,36(1)
addi 1,1,32
mtlr 0
blr
.size _fini, .-_fini
-#APP
-
- .ident "GCC: (GNU) 3.3.1 20030626 (Debian prerelease)"