diff options
Diffstat (limited to 'sim/testsuite/sim/cris/asm/bare1.ms')
-rw-r--r-- | sim/testsuite/sim/cris/asm/bare1.ms | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sim/testsuite/sim/cris/asm/bare1.ms b/sim/testsuite/sim/cris/asm/bare1.ms new file mode 100644 index 00000000000..6c7d0d2394a --- /dev/null +++ b/sim/testsuite/sim/cris/asm/bare1.ms @@ -0,0 +1,24 @@ +# mach: crisv32 +# ld: --section-start=.text=0 +# output: 0\n0\n4\n42\n +# sim: --cris-naked + +; Check that we don't get signs of an initialized environment +; when --cris-naked. + + .include "testutils.inc" + .text + .global _start +_start: + nop + nop +start2: + move.d $r10,$r3 + dumpr3 + move.d $sp,$r3 + dumpr3 + lapc start2,$r3 + dumpr3 + move.d 0x42,$r3 + dumpr3 + quit |