* gas/all/assign.s: New.
authorAlan Modra <amodra@gmail.com>
Fri, 15 Apr 2005 06:06:42 +0000 (06:06 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 15 Apr 2005 06:06:42 +0000 (06:06 +0000)
* gas/all/assign.d: New.
* gas/all/gas.exp: Run it.

gas/testsuite/ChangeLog
gas/testsuite/gas/all/assign.d [new file with mode: 0644]
gas/testsuite/gas/all/assign.s [new file with mode: 0644]
gas/testsuite/gas/all/gas.exp

index cbeb46d56787c04804eca70ab59bf1392145945a..559f2d9fef47368b2ffa062ef8e39015292184a6 100644 (file)
@@ -1,3 +1,9 @@
+2005-04-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * gas/all/assign.s: New.
+       * gas/all/assign.d: New.
+       * gas/all/gas.exp: Run it.
+
 2005-04-13  Maciej W. Rozycki  <macro@linux-mips.org>
 
        * gas/mips/ldstla-32.s: Exclude offsets that are now meant to fail
diff --git a/gas/testsuite/gas/all/assign.d b/gas/testsuite/gas/all/assign.d
new file mode 100644 (file)
index 0000000..fce7466
--- /dev/null
@@ -0,0 +1,6 @@
+#objdump : -r
+#name : assignment tests
+
+#...
+.*zzz.*
+.*zzz.*
diff --git a/gas/testsuite/gas/all/assign.s b/gas/testsuite/gas/all/assign.s
new file mode 100644 (file)
index 0000000..1a41406
--- /dev/null
@@ -0,0 +1,7 @@
+ x = zzz
+ x = x+1
+ .long x
+
+ y = 1
+ y = y+zzz
+ .long y
index 0b087a57093ddf31d7eccbb15eb9db9ae1f5c430..e48aba6c0fbf30b83c0943819bf0abdcb1c9e0ab 100644 (file)
@@ -195,6 +195,7 @@ if {  ([istarget "i*86-*-*pe*"] && ![istarget "i*86-*-openbsd*"]) \
   gas_test "fastcall.s" ""   "" "fastcall labels"
 }
 
+run_dump_test assign
 run_dump_test sleb128
 
 # .quad is 16 bytes on i960.