summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/crti.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/mips/crti.S')
-rw-r--r--libc/sysdeps/linux/mips/crti.S50
1 files changed, 50 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/mips/crti.S b/libc/sysdeps/linux/mips/crti.S
new file mode 100644
index 000000000..b0d523b2f
--- /dev/null
+++ b/libc/sysdeps/linux/mips/crti.S
@@ -0,0 +1,50 @@
+ .file 1 "initfini.c"
+ .section .mdebug.abi32
+ .previous
+ .abicalls
+#APP
+
+ .section .init
+#NO_APP
+ .align 2
+ .globl _init
+ .ent _init
+ .type _init, @function
+_init:
+ .frame $sp,32,$31 # vars= 0, regs= 2/0, args= 16, extra= 8
+ .mask 0x90000000,-4
+ .fmask 0x00000000,0
+ .set noreorder
+ .cpload $25
+ .set reorder
+ subu $sp,$sp,32
+ .cprestore 16
+ sw $31,28($sp)
+ sw $28,24($sp)
+#APP
+
+ .align 2
+ .end _init
+
+ .section .fini
+#NO_APP
+ .align 2
+ .globl _fini
+ .ent _fini
+ .type _fini, @function
+_fini:
+ .frame $sp,32,$31 # vars= 0, regs= 2/0, args= 16, extra= 8
+ .mask 0x90000000,-4
+ .fmask 0x00000000,0
+ .set noreorder
+ .cpload $25
+ .set reorder
+ subu $sp,$sp,32
+ .cprestore 16
+ sw $31,28($sp)
+ sw $28,24($sp)
+#APP
+ .align 2
+ .end _fini
+
+ .ident "GCC: (GNU) 3.3.2"