about summary refs log tree commit diff
path: root/crt/superh/crti.s
diff options
context:
space:
mode:
Diffstat (limited to 'crt/superh/crti.s')
-rw-r--r--crt/superh/crti.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/crt/superh/crti.s b/crt/superh/crti.s
new file mode 100644
index 00000000..0410ab63
--- /dev/null
+++ b/crt/superh/crti.s
@@ -0,0 +1,13 @@
+.section .init
+.global  _init
+.type    _init, @function
+_init:
+	sts.l pr, @-r15
+	nop
+
+.section .fini
+.global  _fini
+.type    _fini, @function
+_fini:
+	sts.l pr, @-r15
+	nop