diff options
author | Jose E. Marchesi <jose.marchesi@oracle.com> | 2017-05-19 06:59:41 -0700 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2017-05-19 07:02:25 -0700 |
commit | ae0264a6474d777650d65da261732748126f0190 (patch) | |
tree | 2e7e2c47b3d955071ec55fcd2c998218b36e42e2 | |
parent | f4203b2b8830e66e5229b7f9d30cd29b088566b5 (diff) | |
download | fsf-binutils-gdb-ae0264a6474d777650d65da261732748126f0190.zip fsf-binutils-gdb-ae0264a6474d777650d65da261732748126f0190.tar.gz fsf-binutils-gdb-ae0264a6474d777650d65da261732748126f0190.tar.bz2 |
gas: fix tests call-relax and asi-bump-warn in 32-bit SPARC ELF targets
Tested in targets:
sparc-aout sparc-linux sparc-vxworks sparc64-linux
2017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
* testsuite/gas/sparc/call-relax.d: Support 32-bit targets.
* testsuite/gas/sparc/sparc.exp (gas_64_check): Use -64 to
run asi-bump-warn.
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/sparc/call-relax.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/sparc/sparc.exp | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index e96a59c..211a5a3 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com> + + * testsuite/gas/sparc/call-relax.d: Support 32-bit targets. + * testsuite/gas/sparc/sparc.exp (gas_64_check): Use -64 to + run asi-bump-warn. + 2017-05-19 Georg-Johann Lay <avr@gjlay.de> PR ld/21472 diff --git a/gas/testsuite/gas/sparc/call-relax.d b/gas/testsuite/gas/sparc/call-relax.d index de52274..b5c8228 100644 --- a/gas/testsuite/gas/sparc/call-relax.d +++ b/gas/testsuite/gas/sparc/call-relax.d @@ -8,7 +8,7 @@ Disassembly of section .text: 0+ <foo>: 0: 31 00 00 00 sethi %hi\(0\), %i0 - 4: 10 68 00 02 b %xcc, c <bar> + 4: 10 (68|80) 00 02 b (%xcc, )?c <bar> 8: 91 ee 20 00 restore %i0, 0, %o0 0+c <bar>: diff --git a/gas/testsuite/gas/sparc/sparc.exp b/gas/testsuite/gas/sparc/sparc.exp index 1e9cc2c..f65fb24 100644 --- a/gas/testsuite/gas/sparc/sparc.exp +++ b/gas/testsuite/gas/sparc/sparc.exp @@ -96,7 +96,7 @@ if [istarget sparc*-*-*] { run_dump_test "plt64" run_dump_test "gotop64" run_list_test "hwcaps-bump" "-64 -bump" - run_list_test "asi-bump-warn" "-bump" + run_list_test "asi-bump-warn" "-64 -bump" run_list_test "asi-arch-error" "-Av9" } |