diff options
author | Alan Modra <amodra@gmail.com> | 2015-10-22 12:44:24 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-10-22 12:49:17 +1030 |
commit | 8b89121d4444e5c23295c63835da538b11d4cb49 (patch) | |
tree | 975c5377d418b02121e79a7443cf0cd1373c5b28 | |
parent | 4ee3febded6c95ef47e8982a406aa3549cb6b59b (diff) | |
download | gdb-8b89121d4444e5c23295c63835da538b11d4cb49.zip gdb-8b89121d4444e5c23295c63835da538b11d4cb49.tar.gz gdb-8b89121d4444e5c23295c63835da538b11d4cb49.tar.bz2 |
Run add-symbol test on mips
* binutils-all/add-symbol.d: Run test on mips. Support either
order of NEW and NEWDATA symbols.
-rw-r--r-- | binutils/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/add-symbol.d | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index 7f6d26e..64348e6 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -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 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 |