gas/ELF: slightly relax elf/file*.d expectations
authorJan Beulich <jbeulich@novell.com>
Wed, 9 Dec 2015 13:35:07 +0000 (14:35 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 9 Dec 2015 13:35:07 +0000 (14:35 +0100)
Despite the re-ordering done for the file symbols, some targets manage
to put section symbols ahead of it.

gas/testsuite/ChangeLog
gas/testsuite/gas/elf/file-2.d
gas/testsuite/gas/elf/file.d

index a90b0fb..5978a3f 100644 (file)
@@ -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.
index 5da114c..8968d17 100644 (file)
@@ -4,6 +4,7 @@
 .*: .*
 
 SYMBOL TABLE:
+#...
 0+ l[ ]*df \*ABS\*[    ]+0+ file-2\.s
 #...
 0+ l[ ]*\.text[        ]+0+ local1
index 9b7bb4f..236308b 100644 (file)
@@ -4,6 +4,7 @@
 .*: .*
 
 SYMBOL TABLE:
+#...
 0+ l[ ]*df \*ABS\*[    ]+0+ ~tilde
 #...
 0+ l[ ]*df \*ABS\*[    ]+0+ hash\#