projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
initial version of mips (o32) port, based on work by Richard Pennington (rdp)
[musl]
/
crt
/
mips
/
crtn.s
diff --git a/crt/mips/crtn.s
b/crt/mips/crtn.s
new file mode 100644
(file)
index 0000000..
506a04b
--- /dev/null
+++ b/
crt/mips/crtn.s
@@ -0,0
+1,13
@@
+.set noreorder
+
+.section .init
+ lw $gp,24($sp)
+ lw $ra,28($sp)
+ j $ra
+ addu $sp,$sp,32
+
+.section .fini
+ lw $gp,24($sp)
+ lw $ra,28($sp)
+ j $ra
+ addu $sp,$sp,32