bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/26740] Extra filename generated by --gdwarf-4


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/26740] Extra filename generated by --gdwarf-4
Date: Sat, 17 Oct 2020 11:27:10 +0000

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

--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

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

commit bd0c565edbf4ba8121fded38e389530d7fa6f963
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Oct 17 04:24:22 2020 -0700

    gas: Always use as_where for preprocessed assembly codes

    Always clear the slot 1 if it was assigned to the input file before the
    first .file <NUMBER> directive has been seen.  Always use as_where to
    generate the correct debug infor for preprocessed assembly codes.

            PR gas/25878
            PR gas/26740
            * dwarf2dbg.c (allocate_filename_to_slot): Don't reuse the slot 1
            here.
            (dwarf2_where): Restore as_where.
            (dwarf2_directive_filename): Clear the slot 1 if it was assigned
            to the input file.
            * testsuite/gas/i386/dwarf5-line-2.d: New file.
            * testsuite/gas/i386/dwarf5-line-2.s: Likewise.
            * testsuite/gas/i386/dwarf5-line-3.d: Likewise.
            * testsuite/gas/i386/dwarf5-line-3.s: Likewise.
            * testsuite/gas/i386/i386.exp: Run dwarf5-line-2 and
            dwarf5-line-3.

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