]> Cypherpunks repositories - gostls13.git/commit
cmd/link: non-executable stack support for Solaris
authorShawn Walker-Salas <shawn.walker@oracle.com>
Wed, 15 Jun 2016 20:44:03 +0000 (13:44 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 12 Oct 2016 06:41:25 +0000 (06:41 +0000)
commitf373bf1eb9a21f843dc0094c3702c2855a2e0d3f
tree6fbf7cf19e6900a7d37ab73a233cba49992857a9
parent456b7f5a974f229e0ef7ad5a1925fa72fc4182e2
cmd/link: non-executable stack support for Solaris

Support the tagging of binaries created with the internal linker
on Solaris as having a non-executable stack by writing a PT_SUNWSTACK
program header.

Fixes #16074

Change-Id: I3888f2153083385d04a52f341570f93e5738b276
Reviewed-on: https://go-review.googlesource.com/24142
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/link/internal/ld/elf.go