]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Add basic tests for d10v-elf simulator.
authorAndrew Cagney <cagney@redhat.com>
Tue, 9 Sep 1997 02:22:07 +0000 (02:22 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 9 Sep 1997 02:22:07 +0000 (02:22 +0000)
sim/testsuite/d10v-elf/exit47.s [new file with mode: 0644]
sim/testsuite/d10v-elf/loop.s [new file with mode: 0644]

diff --git a/sim/testsuite/d10v-elf/exit47.s b/sim/testsuite/d10v-elf/exit47.s
new file mode 100644 (file)
index 0000000..e37682f
--- /dev/null
@@ -0,0 +1,8 @@
+       .text
+       .align 2
+       .globl _start
+_start:
+       # exit (47)
+       ldi r6, 1
+       ldi r2, 47
+       trap 15
diff --git a/sim/testsuite/d10v-elf/loop.s b/sim/testsuite/d10v-elf/loop.s
new file mode 100644 (file)
index 0000000..e1371e4
--- /dev/null
@@ -0,0 +1,6 @@
+       .text
+       .globl _start
+
+_start:
+       bra _start
+       nop