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

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Maciej W. Rozycki <ma...@sourceware.org>:

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

commit 42c0794e961fd7922ad1358bd7221a8c85278ccc
Author: James Cowgill <james.cowg...@imgtec.com>
Date:   Fri Sep 22 00:54:19 2017 +0100

    PR gas/21762: MIPS: Fix .stabs directive marking labels as MIPS16

    If a .stabs directive was used before another .set directive in a MIPS
    source file, s_mips_stab would call mips_mark_labels without having
    initialized the mips_opts structure yet.  Fix this by calling
    file_mips_check_options which will initialize mips_opts if necessary.

    gas/
        PR gas/21762
        * config/tc-mips.c (s_mips_stab): Insert call to
        file_mips_check_options.
        * testsuite/gas/mips/micromips@stabs-symbol-type.d: New test.
        * testsuite/gas/mips/mips.exp: Run the new tests.
        * testsuite/gas/mips/mips16@stabs-symbol-type.d: New test.
        * testsuite/gas/mips/stabs-symbol-type.d: New test.
        * testsuite/gas/mips/stabs-symbol-type.s: New test source.

-- 
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