+2005-11-07 Alan Modra <amodra@bigpond.net.au>
+
+ * gas/i386/divide.s: Test line comment starting with '/'.
+ * gas/i386/divide.d: Pass --divide to gas.
+ * gas/i386/intelok.d: Likewise.
+ * gas/i386/i386.exp (divide): Run for all targets.
+
2005-11-07 Arnold Metselaar <arnold.metselaar@planet.nl>
* gas/z80/z80.exp: Added "suffix" test.
start:
.long 1,2,3,a,b
- a=(.-start)/4-1
+/ This comment should still be allowed with --divide,
+/ but the divide must remain a divide in the next line
+a=(.-start)/4-1 # comment
b=(.-start)/4
return [regexp "targets:.*i386" $nm_help]
}
-
if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]] then {
global ASFLAGS
run_dump_test "suffix"
run_dump_test "immed32"
run_dump_test "equ"
-
- if {![istarget "*-*-aix*"]
- && (![is_elf_format] || [istarget "*-*-linux*"]
- || [istarget "*-*-netbsd*"]
- || [istarget "*-*-freebsd*"]
- || [istarget "*-*-netware*"]
- || [istarget "*-*-vxworks*"])} {
- # Don't run this test on targets where '/' starts comments.
- run_dump_test "divide"
- }
-
+ run_dump_test "divide"
run_dump_test "padlock"
run_dump_test "crx"
run_list_test "cr-err" ""