1# mach: crisv32 2# ld: --section-start=.text=0 3# output: 0\n0\n4\n42\n 4# sim: --cris-naked 5 6; Check that we don't get signs of an initialized environment 7; when --cris-naked. 8 9 .include "testutils.inc" 10 .text 11 .global _start 12_start: 13 nop 14 nop 15start2: 16 move.d $r10,$r3 17 dumpr3 18 move.d $sp,$r3 19 dumpr3 20 lapc start2,$r3 21 dumpr3 22 move.d 0x42,$r3 23 dumpr3 24 quit 25