https://sourceware.org/bugzilla/show_bug.cgi?id=21407

--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Jose E. Marchesi
<jema...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d28b6364b1fba1c0270c001f0d82a69e351e1922

commit d28b6364b1fba1c0270c001f0d82a69e351e1922
Author: Jose E. Marchesi <jose.march...@oracle.com>
Date:   Tue Apr 25 02:40:43 2017 -0700

    gas: sparc: fix relaxation of CALL instruction into branches in a.out
targets

    This patch avoids CALL instructions to be optimized into branches if
    the symbols referred to in the CALL instruction are not fully resolved
    at the time the assembler writes its output.

    Tested in sparc64-linux-gnu and sparc-sun-sunos4.1.3 targets.
    No regressions.

    gas/ChangeLog:

    2017-04-25  Jose E. Marchesi  <jose.march...@oracle.com>

        PR gas/21407
        * config/tc-sparc.c (md_apply_fix): Do not transform `call'
        instructions into branch instructions in fixups generating
        additional relocations.
        * testsuite/gas/sparc/call-relax.s: New file.
        * testsuite/gas/sparc/call-relax.d: Likewise.
        * testsuite/gas/sparc/call-relax-aout.d: Likewise.
        * testsuite/gas/sparc/sparc.exp: Test call-relax and call-relax-aout.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to