Purpose of .note.GNU-stack

Hans-Peter Nilsson hp@bitrange.com
Thu Apr 22 00:13:49 GMT 2021


On Wed, 21 Apr 2021, Ian Lance Taylor via Binutils wrote:

> On Wed, Apr 21, 2021 at 12:52 PM Peng Yu via Binutils
> <binutils@sourceware.org> wrote:
> >
> > I see that there is nothing in .note.GNU-stack. What is
> > .note.GNU-stack supposed to do if there is nothing in it? Thanks.
>
> https://www.airs.com/blog/archives/518

A target can define elf_backend_default_execstack to the more
sane value of 0 (i.e. other than the default 1), but the blog
post only reflects the default 1, AFAICS.

I humbly suggest newcomers to read the source, helped by "git
grep".

brgds, H-P


More information about the Binutils mailing list