This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unreviewed patches


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]