Run add-symbol test on mips
* binutils-all/add-symbol.d: Run test on mips. Support either order of NEW and NEWDATA symbols.
This commit is contained in:
parent
4ee3febded
commit
8b89121d44
|
@ -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>
|
2015-10-21 Ronald Hoogenboom <rhoogenboom@irdeto.com>
|
||||||
|
|
||||||
PR binutils/19104
|
PR binutils/19104
|
||||||
|
|
|
@ -3,14 +3,12 @@
|
||||||
#source: symbols.s
|
#source: symbols.s
|
||||||
#objcopy: --add-symbol NEW=0x1234 --add-symbol NEW_DATA=.data:0x4321,local
|
#objcopy: --add-symbol NEW=0x1234 --add-symbol NEW_DATA=.data:0x4321,local
|
||||||
#objdump: --syms
|
#objdump: --syms
|
||||||
# MIPS targets swap the order of the symbols in the output.
|
|
||||||
#not-target: mips-*-* tx39-*-*
|
|
||||||
|
|
||||||
.*: +file format .*
|
.*: +file format .*
|
||||||
|
|
||||||
SYMBOL TABLE:
|
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
|
#pass
|
||||||
|
|
Loading…
Reference in New Issue