Re: [PATCH] vmlinux.lds.h: Discard .note.gnu.property section

From: Josh Poimboeuf
Date: Tue Apr 18 2023 - 17:47:23 EST


On Sun, Apr 16, 2023 at 07:02:19PM +0000, Joan Bruguera Micó wrote:
> Two small nitpicks:
>
> > Link: https://lkml.kernel.org/lkml/57830c30-cd77-40cf-9cd1-3bb608aa602e@xxxxxxxxxxxxxxxx
>
> This link is "semi-broken", it should go to /bpf/ instead of /lkml/.
>
> > /DISCARD/ : { *(.note.GNU-stack) } \
> > + /DISCARD/ : { *(.note.gnu.property) } \
>
> Both discards can go in the same DISCARD block.
> (just style; it's how it's most often done in other linker scripts)

Thanks. I also noticed the comment above the change needs an update.
Posting v2 shortly.

--
Josh