+2007-04-20 Alan Modra <amodra@bigpond.net.au>
+
+ * gas/ppc/range64.s: New.
+ * gas/ppc/range64.l: New.
+ * gas/ppc/range.s: New.
+ * gas/ppc/range.l: New.
+ * gas/ppc/ppc.exp (run_list_test): New. Use to run new tests.
+
2007-04-20 Richard Earnshaw <rearnsha@arm.com>
* gas/arm/mapshort.s: Add a small .data section.
# Some PowerPC tests
#
+proc run_list_test { name opts } {
+ global srcdir subdir
+ set testname "ppc $name"
+ set file $srcdir/$subdir/$name
+ gas_run ${name}.s $opts ">&dump.out"
+ if { [regexp_diff "dump.out" "${file}.l"] } then {
+ fail $testname
+ verbose "output is [file_contents "dump.out"]" 2
+ return
+ }
+ pass $testname
+}
+
# These tests are currently ELF specific, only because nobody has
# converted them to look for XCOFF relocations.
run_dump_test "test1elf64"
run_dump_test "power4"
run_dump_test "cell"
+ run_list_test "range64" "-a64"
} elseif { [istarget powerpc*-*aix*] } then {
run_dump_test "test1xcoff32"
} elseif { [istarget powerpc*-*-*bsd*] \
run_dump_test "altivec"
run_dump_test "booke"
run_dump_test "e500"
+ run_list_test "range" "-a32"
}
}
--- /dev/null
+.*: Assembler messages:
+.*:3: Error: operand out of domain \(-1 is not a multiple of 4\)
+.*:4: Error: operand out of domain \(2 is not a multiple of 4\)
+.*:5: Error: operand out of range.*
+.*:6: Error: operand out of range.*
+.*:7: Error: operand out of range.*