From fa7cc15f24f9cd8e3cc07c7552c3fad1b756eed8 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Wed, 9 Dec 2015 14:35:07 +0100 Subject: [PATCH] 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. --- 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 a90b0fb3062..5978a3f7a79 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-12-09 Jan Beulich + + * 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 * 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 5da114cd223..8968d1705eb 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 9b7bb4f1184..236308bd966 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\# -- 2.30.2