bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/26850] as -g: remove non-executable sections' contribution from


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/26850] as -g: remove non-executable sections' contribution from DW_AT_ranges
Date: Thu, 12 Nov 2020 11:44:11 +0000

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 <nickc@sourceware.org>:

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

commit bcb78b47614ed252226da1a688558a17d8a99ce8
Author: Nick Clifton <nickc@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

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