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]

Run add-symbol test on mips


I noticed tx39-elf was failing this test despite apparently being
excluded.  Rather than fixing the not-target entry to mipstx39el-*,
I figure we can run the test on mips with a small tweak.

	* binutils-all/add-symbol.d: Run test on mips.  Support either
	order of NEW and NEWDATA symbols.

diff --git a/binutils/testsuite/binutils-all/add-symbol.d b/binutils/testsuite/binutils-all/add-symbol.d
index d421dc9..b4eed09 100644
--- a/binutils/testsuite/binutils-all/add-symbol.d
+++ b/binutils/testsuite/binutils-all/add-symbol.d
@@ -3,14 +3,12 @@
 #source: symbols.s
 #objcopy: --add-symbol NEW=0x1234 --add-symbol NEW_DATA=.data:0x4321,local
 #objdump: --syms
-# MIPS targets swap the order of the symbols in the output.
-#not-target: mips-*-* tx39-*-*
 
 .*: +file format .*
 
 SYMBOL TABLE:
 #...
-0+04321 l[ 	]+.data[ 	]+0+00 NEW_DATA
+(0+04321 l[ 	]+.data[ 	]+0+00 NEW_DATA|0+01234 g[ 	]+\*ABS\*[ 	]+0+00 NEW)
 #...
-0+01234 g[ 	]+\*ABS\*[ 	]+0+00 NEW
+(0+01234 g[ 	]+\*ABS\*[ 	]+0+00 NEW|0+04321 l[ 	]+.data[ 	]+0+00 NEW_DATA)
 #pass

-- 
Alan Modra
Australia Development Lab, IBM


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