summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)"