summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/crtn.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sh/crtn.S')
-rw-r--r--libc/sysdeps/linux/sh/crtn.S17
1 files changed, 17 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/sh/crtn.S b/libc/sysdeps/linux/sh/crtn.S
new file mode 100644
index 000000000..3a8761c1d
--- /dev/null
+++ b/libc/sysdeps/linux/sh/crtn.S
@@ -0,0 +1,17 @@
+ .file "crtn.S"
+
+ .section .init
+ mov r14,r15
+ lds.l @r15+,pr
+ rts
+ mov.l @r15+,r14
+.Lfe1:
+ .size _init,.Lfe1-_init
+
+ .section .fini
+ mov r14,r15
+ lds.l @r15+,pr
+ rts
+ mov.l @r15+,r14
+.Lfe2:
+ .size _fini,.Lfe2-_fini