This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: cleanup PT_GNU_STACK size handling
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Alan Modra <amodra at gmail dot com>
- Cc: Nathan Sidwell <nathan_sidwell at mentor dot com>, binutils <binutils at sourceware dot org>
- Date: Mon, 22 Oct 2012 10:46:13 -0400 (EDT)
- Subject: Re: cleanup PT_GNU_STACK size handling
- References: <507D7311.10101@mentor.com> <20121022020428.GI3263@bubble.grove.modra.org>
On Mon, 22 Oct 2012, Alan Modra wrote:
> On Tue, Oct 16, 2012 at 03:45:37PM +0100, Nathan Sidwell wrote:
> > + /* For default_execstack to trigger without an explicit
> > + stack size, there must be an input note section. */
> Nope. The default triggers on the *absence* of a note section.
FWIW, the default in absence of a note is actually target-specific.
(grep for DEFAULT_STACK_PERMS in glibc.)
brgds, H-P