diff options
Diffstat (limited to 'crt/mipsn32/crtn.s')
-rw-r--r-- | crt/mipsn32/crtn.s | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/crt/mipsn32/crtn.s b/crt/mipsn32/crtn.s new file mode 100644 index 00000000..dccd7e89 --- /dev/null +++ b/crt/mipsn32/crtn.s @@ -0,0 +1,12 @@ +.set noreorder +.section .init + ld $gp, 16($sp) + ld $ra, 24($sp) + j $ra + addu $sp, $sp, 32 + +.section .fini + ld $gp, 16($sp) + ld $ra, 24($sp) + j $ra + addu $sp, $sp, 32 |