]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gas: fix tests call-relax and asi-bump-warn in 32-bit SPARC ELF targets
authorJose E. Marchesi <jose.marchesi@oracle.com>
Fri, 19 May 2017 13:59:41 +0000 (06:59 -0700)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Fri, 19 May 2017 14:02:25 +0000 (07:02 -0700)
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.

gas/ChangeLog
gas/testsuite/gas/sparc/call-relax.d
gas/testsuite/gas/sparc/sparc.exp

index e96a59c3df2eb0e000466a8e1791a8ec0d7609d2..211a5a3f3032b1c8426a7b7f33c03b4ac26160b3 100644 (file)
@@ -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
index de52274484fbed9bf3829624653d70ead6ad9950..b5c82284520fc42d2e4b1f1f2b15f901fd5d39ee 100644 (file)
@@ -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>:
index 1e9cc2cbdddfbadeca134aa8ea0ce4ef082df3f2..f65fb249c8c2570f1c6988ba65cf228cb4c64dc3 100644 (file)
@@ -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"
     }