Run add-symbol test on mips
authorAlan Modra <amodra@gmail.com>
Thu, 22 Oct 2015 02:14:24 +0000 (12:44 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 22 Oct 2015 02:19:17 +0000 (12:49 +1030)
* binutils-all/add-symbol.d: Run test on mips.  Support either
order of NEW and NEWDATA symbols.

binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/add-symbol.d

index 7f6d26e6e49aa1b8c66ad23e17a46679c8a43fa7..64348e6c1cf85a59c8eb4099887c62d84db529b9 100644 (file)
@@ -1,3 +1,8 @@
+2015-10-22  Alan Modra  <amodra@gmail.com>
+
+       * binutils-all/add-symbol.d: Run test on mips.  Support either
+       order of NEW and NEWDATA symbols.
+
 2015-10-21  Ronald Hoogenboom  <rhoogenboom@irdeto.com>
 
        PR binutils/19104
index d421dc96cbaee070809f1b50ac905d4210ebdf74..b4eed09869dd831bf7b798b556ad3c3a8af30b22 100644 (file)
@@ -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
This page took 0.036209 seconds and 4 git commands to generate.