1 if { ! [istarget nios2-*-*] } {
5 foreach test [lsort [glob -nocomplain $srcdir/$subdir/*.d]] {
6 run_dump_test [file rootname $test]
12 set test_name "NIOS2 Mixed R1 and R2 objects"
15 if ![ld_assemble $as "-march=r1 $srcdir/$subdir/${test}a.s" tmpdir/${test}a.o] {
16 unresolved "Build mixed1a.o"
20 if ![ld_assemble $as "-march=r2 $srcdir/$subdir/${test}b.s" tmpdir/${test}b.o] {
21 unresolved "Build mixed1b.o"
25 if { ![ld_link $ld tmpdir/$test "tmpdir/${test}a.o tmpdir/${test}b.o"] } {
26 if [string match "*architecture * is incompatible*" $link_output] {