+2004-08-24 Jan Beulich <jbeulich@novell.com>
+
+ * gas/all/altmacro.[sd]: Split out part from here...
+ * gas/all/altmac2.[sd]: ... to here.
+ * gas/all/excl.s: New.
+ * gas/all/gas.exp: Suppress both tests for a few targets known to
+ break. Run the new (split out) test only when the target doesn't
+ use '!' as a comment character.
+
2004-08-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
* gas/mips/branch-swap.s: New testcase.
* gas/mips/branch-swap.d: New testcase.
* gas/mips/mips.exp: Run the testcase.
--- /dev/null
+#as: --alternate
+#objdump: -s -j .data
+#name: alternate macro syntax (escape)
+
+# Test the alternate macro syntax.
+
+.*: .*
+
+Contents of section .data:
+ 0000 3e3c21.*
}
}
-run_dump_test altmacro
+# '<' and '>' appear to have special meanings on the excluded targets
+case $target_triplet in {
+ { a29k-*-* } { }
+ { frv-*-* } { }
+ { hppa*-*-* } { }
+ { m32r-*-* } { }
+ { mmix-*-* } { }
+ { *c4x*-*-* } { }
+ { *c54x*-*-* } { }
+ default {
+ run_dump_test altmacro
+ # The second test is valid only when '!' is not a comment
+ # character (it is allowed to be a line comment character).
+ if { [lindex [gas_run excl.s "-o /dev/null" ""] 0] eq "" } {
+ run_dump_test altmac2
+ }
+ }
+}
# This test is for any COFF target.
# We omit m88k COFF because it uses weird pseudo-op names.