This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PATCH: Add section alignment test.
- From: "H . J . Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Thu, 23 May 2002 10:16:13 -0700
- Subject: PATCH: Add section alignment test.
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
}
}