summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/lm32/crtn.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/lm32/crtn.S')
-rw-r--r--libc/sysdeps/linux/lm32/crtn.S11
1 files changed, 11 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/lm32/crtn.S b/libc/sysdeps/linux/lm32/crtn.S
new file mode 100644
index 000000000..93643ac43
--- /dev/null
+++ b/libc/sysdeps/linux/lm32/crtn.S
@@ -0,0 +1,11 @@
+.section .init
+
+ lw ra, (sp+4)
+ addi sp, sp, 4
+ ret
+
+.section .fini
+
+ lw ra, (sp+4)
+ addi sp, sp, 4
+ ret