PATCH: Add section alignment test.
H . J . Lu
hjl@lucon.org
Thu May 23 10:16:00 GMT 2002
I checked in this patch for section alignment test.
H.J.
---
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.
--- gas/testsuite/gas/all/align2.d.align Thu May 23 08:56:46 2002
+++ gas/testsuite/gas/all/align2.d Thu May 23 09:03:48 2002
@@ -0,0 +1,9 @@
+#objdump: -s -j .text
+#name: align2
+
+# Test the section alignment.
+
+.*: .*
+
+Contents of section .text:
+ 0000 ff[ 0-9a-fA-F]*[ ]+.*
--- gas/testsuite/gas/all/align2.s.align Thu May 23 08:56:46 2002
+++ gas/testsuite/gas/all/align2.s Thu May 23 08:56:46 2002
@@ -0,0 +1,2 @@
+ .p2align 4,0
+ .byte 0xff
--- gas/testsuite/gas/all/gas.exp.align Sat Apr 20 23:53:26 2002
+++ gas/testsuite/gas/all/gas.exp Thu May 23 08:56:46 2002
@@ -107,6 +107,7 @@ case $target_triplet in {
default {
run_dump_test struct
run_dump_test align
+ run_dump_test align2
}
}
More information about the Binutils
mailing list