aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2004-11-25 00:56:00 +0000
committerPaul Brook <paul@codesourcery.com>2004-11-25 00:56:00 +0000
commit47cc2cf5192b9e5ad2f7571393127d8c378f8d66 (patch)
tree0e89569d218fcb5c91575ff9393766f29ea29899 /gas
parent7a851328aefe8c32e90b66e6699ed8b37cfcf4a4 (diff)
downloadgdb-47cc2cf5192b9e5ad2f7571393127d8c378f8d66.zip
gdb-47cc2cf5192b9e5ad2f7571393127d8c378f8d66.tar.gz
gdb-47cc2cf5192b9e5ad2f7571393127d8c378f8d66.tar.bz2
2004-11-24 Paul Brook <paul@codesourcery.com>
bfd/ * elf.c (assign_section_numbers): Number SHT_GROUP sections first. gas/testsuite/ * gas/elf/group0a.d: Adjust expected secion ordering. * gas/elf/group1a.d: Ditto. * gas/elf/section4.d: Ditto.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/elf/group0a.d3
-rw-r--r--gas/testsuite/gas/elf/group1a.d3
-rw-r--r--gas/testsuite/gas/elf/section4.d4
4 files changed, 12 insertions, 4 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index eb3ebd4..a8514c0 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2004-11-24 Paul Brook <paul@codesourcery.com>
+
+ * gas/elf/group0a.d: Adjust expected secion ordering.
+ * gas/elf/group1a.d: Ditto.
+ * gas/elf/section4.d: Ditto.
+
2004-11-24 Nick Clifton <nickc@redhat.com>
* gas/iq2000/allinsn.exp: Remove IQ10 tests.
diff --git a/gas/testsuite/gas/elf/group0a.d b/gas/testsuite/gas/elf/group0a.d
index 9b2b967..8aedc0c 100644
--- a/gas/testsuite/gas/elf/group0a.d
+++ b/gas/testsuite/gas/elf/group0a.d
@@ -3,7 +3,8 @@
#source: group0.s
#...
+[ ]*\[.*\][ ]+\.foo_group[ ]+GROUP.*
+#...
[ ]*\[.*\][ ]+\.foo[ ]+PROGBITS.*[ ]+AXG[ ]+.*
[ ]*\[.*\][ ]+\.bar[ ]+PROGBITS.*[ ]+AG[ ]+.*
-[ ]*\[.*\][ ]+\.foo_group[ ]+GROUP.*
#pass
diff --git a/gas/testsuite/gas/elf/group1a.d b/gas/testsuite/gas/elf/group1a.d
index 2db4033..a5b3298 100644
--- a/gas/testsuite/gas/elf/group1a.d
+++ b/gas/testsuite/gas/elf/group1a.d
@@ -3,8 +3,9 @@
#source: group1.s
#...
+[ ]*\[.*\][ ]+\.foo_group[ ]+GROUP.*
+#...
[ ]*\[.*\][ ]+\.text[ ]+PROGBITS.*[ ]+AX[ ]+.*
#...
[ ]*\[.*\][ ]+\.text[ ]+PROGBITS.*[ ]+AXG[ ]+.*
-[ ]*\[.*\][ ]+\.foo_group[ ]+GROUP.*
#pass
diff --git a/gas/testsuite/gas/elf/section4.d b/gas/testsuite/gas/elf/section4.d
index 2e417e7..5cda69b 100644
--- a/gas/testsuite/gas/elf/section4.d
+++ b/gas/testsuite/gas/elf/section4.d
@@ -2,11 +2,11 @@
#name: label arithmetic with multiple same-name sections
#...
+[ ]*\[.*\][ ]+foo[ ]+GROUP.*
+#...
[ ]*\[.*\][ ]+\.text[ ]+PROGBITS.*
#...
[ ]*\[.*\][ ]+\.data[ ]+PROGBITS.*
#...
[ ]*\[.*\][ ]+\.text[ ]+PROGBITS.*
-#...
-[ ]*\[.*\][ ]+foo[ ]+GROUP.*
#pass