* 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 cbeb46d..559f2d9 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 0b087a5..e48aba6 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.