summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/crtn.S
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-05 01:44:16 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-05 01:44:16 +0000
commit53d9845ae7cc45776bb1d084ccf54ae58186ff5c (patch)
tree0fbcf1d38fb348339311418e08b103ef0dcf4ab4 /libc/sysdeps/linux/mips/crtn.S
parentb09209baf021713ef92767b90a73124f857e7c2a (diff)
Continue the conversion to using per-arch crti.S and crtn.S
Diffstat (limited to 'libc/sysdeps/linux/mips/crtn.S')
-rw-r--r--libc/sysdeps/linux/mips/crtn.S45
1 files changed, 45 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/mips/crtn.S b/libc/sysdeps/linux/mips/crtn.S
new file mode 100644
index 000000000..7a5e4db6e
--- /dev/null
+++ b/libc/sysdeps/linux/mips/crtn.S
@@ -0,0 +1,45 @@
+ .file 1 "initfini.c"
+ .section .mdebug.abi32
+ .previous
+ .abicalls
+#APP
+
+ .section .init
+#NO_APP
+ .align 2
+ .globl _init
+ .ent _init
+ .type _init, @function
+#NO_APP
+ lw $31,28($sp)
+ #nop
+ .set noreorder
+ .set nomacro
+ j $31
+ addu $sp,$sp,32
+ .set macro
+ .set reorder
+
+ .end _init
+#APP
+
+ .section .fini
+#NO_APP
+ .align 2
+ .globl _fini
+ .ent _fini
+ .type _fini, @function
+#NO_APP
+ lw $31,28($sp)
+ #nop
+ .set noreorder
+ .set nomacro
+ j $31
+ addu $sp,$sp,32
+ .set macro
+ .set reorder
+
+ .end _fini
+#APP
+
+ .ident "GCC: (GNU) 3.3.2"