summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k/crtn.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/m68k/crtn.S')
-rw-r--r--libc/sysdeps/linux/m68k/crtn.S27
1 files changed, 6 insertions, 21 deletions
diff --git a/libc/sysdeps/linux/m68k/crtn.S b/libc/sysdeps/linux/m68k/crtn.S
index d29c02dec..2a29b8726 100644
--- a/libc/sysdeps/linux/m68k/crtn.S
+++ b/libc/sysdeps/linux/m68k/crtn.S
@@ -1,26 +1,11 @@
- .file "initfini.c"
-#APP
-
+#include "m68k_pic.S"
+
.section .init
-#NO_APP
- .align 2
- .globl _init
- .type _init, @function
-#NO_APP
- unlk %a6
+ FINI_GP
+ unlk %a6
rts
- .size _init, .-_init
-#APP
.section .fini
-#NO_APP
- .align 2
- .globl _fini
- .type _fini, @function
-#NO_APP
- unlk %a6
+ FINI_GP
+ unlk %a6
rts
- .size _fini, .-_fini
-#APP
-
- .ident "GCC: (GNU) 3.3.2"