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

From: Andrew Morton
Date: Sat Feb 06 2021 - 00:01:33 EST


On Fri, 5 Feb 2021 12:22:18 -0800 Nick Desaulniers <ndesaulniers@xxxxxxxxxx> 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?