OSDN Git Service

2002-05-23 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl@lucon.org>
Thu, 23 May 2002 17:12:49 +0000 (17:12 +0000)
committerH.J. Lu <hjl@lucon.org>
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 995ee39..99c0286 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 683c746..8720665 100644 (file)
@@ -107,6 +107,7 @@ case $target_triplet in {
     default {
        run_dump_test struct
        run_dump_test align
+       run_dump_test align2
     }
 }