On 11/15/2021 1:25 AM, Ilya Lipnitskiy via Gcc-patches wrote:
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.gn23...@brightrain.aerifal.cx/T/#u

gcc/ChangeLog:

        * configure: Regenerate.
        * configure.ac: define TARGET_LIBC_GNUSTACK on musl
If musl has no executable stack support, then wouldn't we want this change to apply to all musl platforms, not just mips?

jeff

Reply via email to