Unreviewed patches

Richard Henderson rth@redhat.com
Tue Jun 3 16:14:00 GMT 2003


On Tue, Jun 03, 2003 at 11:58:45AM -0400, Andrew Cagney wrote:
> Um, how is that significantly different to PT_GNU_STACK?  The kernel/ld 
> needs to check that section's contents for a "x".

No, it doesn't.  The kernel gets the stack permissions from

	Phdr.p_flags & (PF_X | PF_W | PF_R)

Though it would of course be surprising if W and R weren't set.  ;-)


r~



More information about the Binutils mailing list