aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog8
-rw-r--r--gas/testsuite/gas/elf/elf.exp1
-rw-r--r--gas/testsuite/gas/elf/section8.d6
-rw-r--r--gas/testsuite/gas/elf/section8.s2
4 files changed, 17 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 628239d..59f9830 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gas/11600
+ * gas/elf/elf.exp: Run section8.
+
+ * gas/elf/section8.d: New.
+ * gas/elf/section8.s: Likewise.
+
2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
* gas/arm/armv1-bad.l: Adjust expected error text.
diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp
index 05b5a4b..7c191ad 100644
--- a/gas/testsuite/gas/elf/elf.exp
+++ b/gas/testsuite/gas/elf/elf.exp
@@ -157,4 +157,5 @@ if { ([istarget "*-*-*elf*"]
run_dump_test "section6"
run_dump_test "section7"
+ run_dump_test "section8"
}
diff --git a/gas/testsuite/gas/elf/section8.d b/gas/testsuite/gas/elf/section8.d
new file mode 100644
index 0000000..0400745
--- /dev/null
+++ b/gas/testsuite/gas/elf/section8.d
@@ -0,0 +1,6 @@
+#readelf: -S --wide
+#name: section flags
+
+#...
+[ ]*\[.*\][ ]+\.foo1[ ]+PROGBITS.*[ ]+E[ ]+.*
+#pass
diff --git a/gas/testsuite/gas/elf/section8.s b/gas/testsuite/gas/elf/section8.s
new file mode 100644
index 0000000..96cb7a8
--- /dev/null
+++ b/gas/testsuite/gas/elf/section8.s
@@ -0,0 +1,2 @@
+ .section .foo1,"e", %progbits
+ .byte 0,0,0,0