summaryrefslogtreecommitdiff
path: root/tests/cris/crt.s
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cris/crt.s')
-rw-r--r--tests/cris/crt.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/cris/crt.s b/tests/cris/crt.s
new file mode 100644
index 0000000000..af027d7475
--- /dev/null
+++ b/tests/cris/crt.s
@@ -0,0 +1,13 @@
+ .data
+_stack_start:
+ .space 8192, 0
+_stack_end:
+ .text
+ .global _start
+_start:
+ move.d _stack_end, $sp
+ jsr main
+ nop
+ moveq 0, $r10
+ jump exit
+ nop