Thread (4 messages) 4 messages, 3 authors, 2021-02-06

Re: [PATCH v9 1/3] vmlinux.lds.h: add DWARF v5 sections

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2021-02-06 05:01:37
Also in: linux-arch, linux-kbuild, lkml

On Fri,  5 Feb 2021 12:22:18 -0800 Nick Desaulniers [off-list ref] wrote:
We expect toolchains to produce these new debug info sections as part of
DWARF v5. Add explicit placements to prevent the linker warnings from
--orphan-section=warn.

Compilers may produce such sections with explicit -gdwarf-5, or based on
the implicit default version of DWARF when -g is used via DEBUG_INFO.
This implicit default changes over time, and has changed to DWARF v5
with GCC 11.

.debug_sup was mentioned in review, but without compilers producing it
today, let's wait to add it until it becomes necessary.
There isn't anything in this changelog which explains why a -stable
backport was requested?  Or is there?  Irritating linker warnings? 
More than that?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help