[binutils-gdb] gas/ELF: slightly relax elf/file*.d expectations
Jan Beulich
jbeulich@sourceware.org
Wed Dec 9 13:35:00 GMT 2015
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fa7cc15f24f9cd8e3cc07c7552c3fad1b756eed8
commit fa7cc15f24f9cd8e3cc07c7552c3fad1b756eed8
Author: Jan Beulich <jbeulich@novell.com>
Date: Wed Dec 9 14:35:07 2015 +0100
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.
Diff:
---
gas/testsuite/ChangeLog | 6 ++++++
gas/testsuite/gas/elf/file-2.d | 1 +
gas/testsuite/gas/elf/file.d | 1 +
3 files changed, 8 insertions(+)
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\#
More information about the Binutils-cvs
mailing list