bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/25878] Error: file table slot 1 is already occupied by a differ


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/25878] Error: file table slot 1 is already occupied by a different file
Date: Fri, 16 Oct 2020 11:08:24 +0000

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

--- 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=6915020bb134ae29fd772295c66fd67b5944962d

commit 6915020bb134ae29fd772295c66fd67b5944962d
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Oct 16 04:03:20 2020 -0700

    gas: Reuse the input file entry in the file table

    Some instructions can be emitted (dwarf2_emit_insn is called) before the
    first .file <NUMBER> directive has been seen, which allocates the input
    file as the first file entry.  Reuse the input file entry in the file
    table.

            PR gas/25878
            PR gas/26740
            * dwarf2dbg.c (file_entry): Remove auto_assigned.
            (assign_file_to_slot): Remove the auto_assign argument.
            (allocate_filenum): Updated.
            (allocate_filename_to_slot): Reuse the input file entry in the
            file table.
            (dwarf2_where): Replace as_where with as_where_physical.
            * testsuite/gas/i386/dwarf5-line-1.d: New file.
            * testsuite/gas/i386/dwarf5-line-1.s: Likewise.
            * testsuite/gas/i386/i386.exp: Run dwarf5-line-1.

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