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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Nick Clifton <ni...@sourceware.org>:

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

commit bcb78b47614ed252226da1a688558a17d8a99ce8
Author: Nick Clifton <ni...@redhat.com>
Date:   Thu Nov 12 11:43:20 2020 +0000

    Stop Gas from generating line info or address ranges for sections that do
not contain code or are not loaded.

            PR 26850
            * dwarf2dbg.c (dwarf2_gen_line_info_1): Do not record lines in
            sections that are not executable or not loadable.
            (out_debug_line): Move warning message into dwarf2_gen_line_info_1.
            * testsuite/gas/elf/dwarf2-20.s: New test.
            * testsuite/gas/elf/dwarf2-20.d: New test driver.
            * testsuite/gas/elf/elf.exp: Run the new test.
            * testsuite/gas/elf/warn-2.s: Use the .nop directive.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to