aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-04-15 06:06:42 +0000
committerAlan Modra <amodra@gmail.com>2005-04-15 06:06:42 +0000
commit6efba98792ca1c59e2b4ad94ad2b20ecc5715413 (patch)
treef6fe6ff84dd3d4cd8778255d8452b62eeb2e42b4 /gas
parentdcd5e849700fda794acd468ac3e2c6eb1db30486 (diff)
downloadgdb-6efba98792ca1c59e2b4ad94ad2b20ecc5715413.zip
gdb-6efba98792ca1c59e2b4ad94ad2b20ecc5715413.tar.gz
gdb-6efba98792ca1c59e2b4ad94ad2b20ecc5715413.tar.bz2
* gas/all/assign.s: New.
* gas/all/assign.d: New. * gas/all/gas.exp: Run it.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/all/assign.d6
-rw-r--r--gas/testsuite/gas/all/assign.s7
-rw-r--r--gas/testsuite/gas/all/gas.exp1
4 files changed, 20 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index cbeb46d..559f2d9 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -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
index 0000000..fce7466
--- /dev/null
+++ b/gas/testsuite/gas/all/assign.d
@@ -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
index 0000000..1a41406
--- /dev/null
+++ b/gas/testsuite/gas/all/assign.s
@@ -0,0 +1,7 @@
+ x = zzz
+ x = x+1
+ .long x
+
+ y = 1
+ y = y+zzz
+ .long y
diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp
index 0b087a5..e48aba6 100644
--- a/gas/testsuite/gas/all/gas.exp
+++ b/gas/testsuite/gas/all/gas.exp
@@ -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.