2002-05-23 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 23 May 2002 17:12:49 +0000 (17:12 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 23 May 2002 17:12:49 +0000 (17:12 +0000)
* gas/all/align2.d: New.
* gas/all/align2.s: New.

* gas/all/gas.exp: Run align2.

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

index 995ee396712690b462d34c171fb9865b0fd86cd7..99c0286081d583c36e4a9a8e708f48f92c715673 100644 (file)
@@ -1,3 +1,10 @@
+2002-05-23  H.J. Lu <hjl@gnu.org>
+
+       * gas/all/align2.d: New.
+       * gas/all/align2.s: New.
+
+       * gas/all/gas.exp: Run align2.
+
 2002-05-22  H.J. Lu <hjl@gnu.org>
 
        * gas/mips/elf-rel.d: Updated for the subsegs_finish change in
diff --git a/gas/testsuite/gas/all/align2.d b/gas/testsuite/gas/all/align2.d
new file mode 100644 (file)
index 0000000..165ed7f
--- /dev/null
@@ -0,0 +1,9 @@
+#objdump: -s -j .text
+#name: align2
+
+# Test the section alignment.
+
+.*: .*
+
+Contents of section .text:
+ 0000 ff[      0-9a-fA-F]*[    ]+.*
diff --git a/gas/testsuite/gas/all/align2.s b/gas/testsuite/gas/all/align2.s
new file mode 100644 (file)
index 0000000..106811d
--- /dev/null
@@ -0,0 +1,2 @@
+       .p2align 4,0
+       .byte 0xff
index 683c7461d231937db8a2a2fc8ac898276d7220b8..8720665a6a4d55147bb6ce9e370ed8cb2f08164d 100644 (file)
@@ -107,6 +107,7 @@ case $target_triplet in {
     default {
        run_dump_test struct
        run_dump_test align
+       run_dump_test align2
     }
 }