This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Fix PR gas/827
Now that the testsuite runs have finished, I'm committing this.
Fails on h8300-rtems for some unknown reason.
* gas/all/assign.s: New.
* gas/all/assign.d: New.
* gas/all/gas.exp: Run it.
Index: gas/testsuite/gas/all/assign.d
===================================================================
RCS file: gas/testsuite/gas/all/assign.d
diff -N gas/testsuite/gas/all/assign.d
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ gas/testsuite/gas/all/assign.d 15 Apr 2005 06:04:48 -0000
@@ -0,0 +1,6 @@
+#objdump : -r
+#name : assignment tests
+
+#...
+.*zzz.*
+.*zzz.*
Index: gas/testsuite/gas/all/assign.s
===================================================================
RCS file: gas/testsuite/gas/all/assign.s
diff -N gas/testsuite/gas/all/assign.s
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ gas/testsuite/gas/all/assign.s 15 Apr 2005 06:04:48 -0000
@@ -0,0 +1,7 @@
+ x = zzz
+ x = x+1
+ .long x
+
+ y = 1
+ y = y+zzz
+ .long y
Index: gas/testsuite/gas/all/gas.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/all/gas.exp,v
retrieving revision 1.26
diff -u -p -r1.26 gas.exp
--- gas/testsuite/gas/all/gas.exp 11 Apr 2005 22:32:22 -0000 1.26
+++ gas/testsuite/gas/all/gas.exp 15 Apr 2005 06:04:48 -0000
@@ -195,6 +195,7 @@ if { ([istarget "i*86-*-*pe*"] && ![ist
gas_test "fastcall.s" "" "" "fastcall labels"
}
+run_dump_test assign
run_dump_test sleb128
# .quad is 16 bytes on i960.
--
Alan Modra
IBM OzLabs - Linux Technology Centre