bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/21762] Use of STABS directives on MIPS causes label to be incor


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/21762] Use of STABS directives on MIPS causes label to be incorrectly marked as MIPS16
Date: Thu, 21 Sep 2017 23:55:46 +0000

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 <address@hidden>:

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

commit 42c0794e961fd7922ad1358bd7221a8c85278ccc
Author: James Cowgill <address@hidden>
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/address@hidden: New test.
        * testsuite/gas/mips/mips.exp: Run the new tests.
        * testsuite/gas/mips/address@hidden: 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]