aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2015-12-09 14:35:07 +0100
committerJan Beulich <jbeulich@suse.com>2015-12-09 14:35:07 +0100
commitfa7cc15f24f9cd8e3cc07c7552c3fad1b756eed8 (patch)
treea6422eba8bd96eadd61f73fb811fb8e00c2f53ff /gas
parent1c35a88f1d8399902c08a8334d3e3303df833538 (diff)
downloadgdb-fa7cc15f24f9cd8e3cc07c7552c3fad1b756eed8.zip
gdb-fa7cc15f24f9cd8e3cc07c7552c3fad1b756eed8.tar.gz
gdb-fa7cc15f24f9cd8e3cc07c7552c3fad1b756eed8.tar.bz2
gas/ELF: slightly relax elf/file*.d expectations
Despite the re-ordering done for the file symbols, some targets manage to put section symbols ahead of it.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/elf/file-2.d1
-rw-r--r--gas/testsuite/gas/elf/file.d1
3 files changed, 8 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index a90b0fb..5978a3f 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2015-12-09 Jan Beulich <jbeulich@suse.com>
+
+ * gas/elf/file.d: Allow arbitrary entries at the beginning of
+ the symbol table.
+ * gas/elf/file-2.d: Likewise.
+
2015-12-08 Jan Beulich <jbeulich@suse.com>
* gas/elf/bad-bss.d, gas/elf/bad-bss.err: New.
diff --git a/gas/testsuite/gas/elf/file-2.d b/gas/testsuite/gas/elf/file-2.d
index 5da114c..8968d17 100644
--- a/gas/testsuite/gas/elf/file-2.d
+++ b/gas/testsuite/gas/elf/file-2.d
@@ -4,6 +4,7 @@
.*: .*
SYMBOL TABLE:
+#...
0+ l[ ]*df \*ABS\*[ ]+0+ file-2\.s
#...
0+ l[ ]*\.text[ ]+0+ local1
diff --git a/gas/testsuite/gas/elf/file.d b/gas/testsuite/gas/elf/file.d
index 9b7bb4f..236308b 100644
--- a/gas/testsuite/gas/elf/file.d
+++ b/gas/testsuite/gas/elf/file.d
@@ -4,6 +4,7 @@
.*: .*
SYMBOL TABLE:
+#...
0+ l[ ]*df \*ABS\*[ ]+0+ ~tilde
#...
0+ l[ ]*df \*ABS\*[ ]+0+ hash\#