]> git.ipfire.org Git - thirdparty/gcc.git/commit
[PATCH v2] configure: define TARGET_LIBC_GNUSTACK on musl
authorIlya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Thu, 2 Dec 2021 20:47:11 +0000 (15:47 -0500)
committerJeff Law <jeffreyalaw@gmail.com>
Thu, 2 Dec 2021 20:47:11 +0000 (15:47 -0500)
commit25abbb9249685c8519d06e1d98cd6803568b6eb7
tree33b6bd8fce7a4e3a36a2d0324045f7fd99874809
parent22a982409323feb203401d345488a5a9c18e6733
[PATCH v2] configure: define TARGET_LIBC_GNUSTACK on musl

musl only uses PT_GNU_STACK to set default thread stack size and has no
executable stack support[0], so there is no reason not to emit the
.note.GNU-stack section on musl builds.

[0]: https://lore.kernel.org/all/20190423192534.GN23599@brightrain.aerifal.cx/T/#u

gcc

* configure: Regenerate.
* configure.ac: Define TARGET_LIBC_GNUSTACK on musl.
gcc/configure
gcc/configure.ac