bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/27195] Error: file number less than one


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/27195] Error: file number less than one
Date: Tue, 26 Jan 2021 14:25:58 +0000

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

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

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

commit 74c2eff55954b850b8bc9804cbf4e599919a811a
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Jan 18 06:25:05 2021 -0800

    as: Automatically enable DWARF5 support

    Currently

    $ as -o x.o x.s

    fails when x.s contains DWARF5 ".file 0" or ".loc 0" directives.  Update
    assembler to automatically enable DWARF5 support so that

    $ gcc -S -g -c x.c
    $ gcc -c x.s

    works.

            PR gas/27195
            * dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
            needed.
            (dwarf2_directive_filename): Likewise.
            (dwarf2_directive_loc): Likewise.
            * testsuite/gas/elf/dwarf-5-file0.d: Pass --gdwarf-3.
            * testsuite/gas/lns/lns-diag-1.l: Remove the
            "Error: file number less than one" errors.

    (cherry picked from commit 705989f19adf20dd70c50237ec61cd708f2b0939)

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