On Thu, Sep 22, 2022 at 1:47 AM 'Nick Desaulniers' via KUnit
Development wrote:
>
> On Tue, Sep 20, 2022 at 11:49 PM David Gow wrote:
> >
> > Since binutils 2.39, ld will print a warning if any stack section is
> > executable, which is the default for stack sections on files without a
> > .note.G
On Tue, Sep 20, 2022 at 11:49 PM David Gow wrote:
>
> Since binutils 2.39, ld will print a warning if any stack section is
> executable, which is the default for stack sections on files without a
> .note.GNU-stack section.
>
> This was fixed for x86 in commit ffcf9c5700e4 ("x86: link vdso and boot
- Ursprüngliche Mail -
> Von: "davidgow"
>
> Changes since v1:
> http://lists.infradead.org/pipermail/linux-um/2022-August/004234.html
> - Pass the -z noexecstack and --no-warn-rwx-segments flags as LDFLAGS,
> rather than as CFLAGS via -Wl
> - Check that --no-warn-rwx-segments exists wit
Since binutils 2.39, ld will print a warning if any stack section is
executable, which is the default for stack sections on files without a
.note.GNU-stack section.
This was fixed for x86 in commit ffcf9c5700e4 ("x86: link vdso and boot with -z
noexecstack --no-warn-rwx-segments"),
but remained b