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 a90b0fb30621effb312320c45bd10500f5ea35c0..5978a3f7a79c449ce4fb3378946382b297880fea 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 5da114cd22333056a693480f4b5ea8ad78b25276..8968d1705eb4eb633c8dcec1fe91ae529352317b 100644 (file)
@@ -4,6 +4,7 @@
 .*: .*
 
 SYMBOL TABLE:
+#...
 0+ l[ ]*df \*ABS\*[    ]+0+ file-2\.s
 #...
 0+ l[ ]*\.text[        ]+0+ local1
index 9b7bb4f1184c5227e625f8f4b9126c7537ac03a7..236308bd9669e6edb113137427a1c45f53712889 100644 (file)
@@ -4,6 +4,7 @@
 .*: .*
 
 SYMBOL TABLE:
+#...
 0+ l[ ]*df \*ABS\*[    ]+0+ ~tilde
 #...
 0+ l[ ]*df \*ABS\*[    ]+0+ hash\#