aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-02-14 22:58:34 +0000
committerIan Lance Taylor <ian@airs.com>1997-02-14 22:58:34 +0000
commit7b12877f0b5ee73ed0763213094a36f276dc1787 (patch)
treeea94aaf90afe4f15d803087fa95d28876f4fd17d /gas
parentd7bf6158eb08d2d5630e2aa63776268ecc2219c2 (diff)
downloadgdb-7b12877f0b5ee73ed0763213094a36f276dc1787.zip
gdb-7b12877f0b5ee73ed0763213094a36f276dc1787.tar.gz
gdb-7b12877f0b5ee73ed0763213094a36f276dc1787.tar.bz2
* gas/all/align.d, gas/all/align.s: New test.
* gas/all/gas.exp: Run it.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/gas/all/.Sanitize2
-rw-r--r--gas/testsuite/gas/all/align.d12
2 files changed, 14 insertions, 0 deletions
diff --git a/gas/testsuite/gas/all/.Sanitize b/gas/testsuite/gas/all/.Sanitize
index 99bad1e..e6e70ed 100644
--- a/gas/testsuite/gas/all/.Sanitize
+++ b/gas/testsuite/gas/all/.Sanitize
@@ -26,6 +26,8 @@ Do-first:
Things-to-keep:
+align.d
+align.s
gas.exp
cofftag.d
cofftag.s
diff --git a/gas/testsuite/gas/all/align.d b/gas/testsuite/gas/all/align.d
new file mode 100644
index 0000000..86ede61
--- /dev/null
+++ b/gas/testsuite/gas/all/align.d
@@ -0,0 +1,12 @@
+#objdump: -s -j .text
+#name: align
+
+# Test the alignment pseudo-op.
+
+.*: .*
+
+Contents of section .text:
+ 0000 ff00ff01 ff020202 ffff0303 04040404 ................
+ 0010 ffffffff 05050505 ff090a0a 0a0a0a0a ................
+ 0020 ff00ff01 ff020202 ffff0303 04040404 ................
+ 0030 ffffffff 05050505 ff090a0a 0a0a0a0a ................