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

2021-02-06 Thread Mark Wielaard
Hi Nick, On Fri, 2021-02-05 at 12:22 -0800, Nick Desaulniers 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 -gd

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

2021-02-05 Thread Andrew Morton
On Fri, 5 Feb 2021 12:22:18 -0800 Nick Desaulniers 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,

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

2021-02-05 Thread Nick Desaulniers
On Fri, Feb 5, 2021 at 4:00 PM Andrew Morton wrote: > > On Fri, 5 Feb 2021 12:22:18 -0800 Nick Desaulniers > 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.

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

2021-02-05 Thread Nick Desaulniers
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 D