This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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/
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.

--- 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\#
--- 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



Attachment: binutils-master-ELF-file-syms-order-relax.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]