summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/lm32/crti.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/lm32/crti.S')
-rw-r--r--libc/sysdeps/linux/lm32/crti.S17
1 files changed, 17 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/lm32/crti.S b/libc/sysdeps/linux/lm32/crti.S
new file mode 100644
index 000000000..8ceb15be9
--- /dev/null
+++ b/libc/sysdeps/linux/lm32/crti.S
@@ -0,0 +1,17 @@
+.section .init
+.global _init
+.type _init,@function
+.align 4
+
+_init:
+ addi sp, sp, -4
+ sw (sp+4), ra
+
+.section .fini
+.global _fini
+.type _fini,@function
+.align 4
+
+_fini:
+ addi sp, sp, -4
+ sw (sp+4), ra