cmd/link: non-executable stack support for Solaris #16074
Today, the Go linker supports tagging executables as having a non-executable stack via a PT_GNU_STACK program header for internal linking.
The Solaris native mechanism for this is to create a PT_SUNWSTACK program header that is almost identical.
For the 1.8 release, I will contribute a set of trivial changes that offer the Solaris equivalent functionality that writes out a program header that looks like this (when viewed with Solaris elfdump):
The text was updated successfully, but these errors were encountered: