PR gas/876
* gas/i386/i386.exp: Run space1.
* gas/i386/space1.l: New.
* gas/i386/space1.s: Likewise.
+2009-11-04 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gas/876
+ * gas/i386/i386.exp: Run space1.
+
+ * gas/i386/space1.l: New.
+ * gas/i386/space1.s: Likewise.
+
2009-11-03 Paul Brook <paul@codesourcery.com>
* gas/arm/vfp-neon-syntax.d: Update expected results.
return [regexp "targets:.*i386" [lindex $status 1]];
}
+# Common tests
+run_list_test "space1" "-al"
+
if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]] then {
global ASFLAGS
--- /dev/null
+.*: Assembler messages:
+.*:2: Error: .space specifies non-absolute value
+.*:3: Error: .space specifies non-absolute value
+.*:4: Error: .space specifies non-absolute value
+.*:5: Error: .space specifies non-absolute value
+.*:6: Error: .space specifies non-absolute value
+GAS LISTING .*
+
+
+[ ]*1[ ]+\.text
+[ ]*2[ ]+\.space foo
+[ ]*3[ ]+\.space foo\*4
+[ ]*4[ ]+\.space foo\+4
+[ ]*5[ ]+\.space foo-4
+[ ]*6[ ]+\.space foo << 4
--- /dev/null
+ .text
+ .space foo
+ .space foo*4
+ .space foo+4
+ .space foo-4
+ .space foo << 4