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: [PATCH] PT_GNU_STACK


On Sun, Jun 01, 2003 at 06:16:46PM -0400, Andrew Cagney wrote:
> That's true.  But is it reasonable to assume that a non-branded .o file 
> should be rwx?  It's going to make it too easy to accidently create 

IMHO yes. There is always -z execstack or -z noexecstack in my patch,
where the developer can override the automatic decision.

> The intent was names, not contents, could be used to make the decision 
> and that would avoid the double read.

But section names aren't visible at runtime. Unless ld is patched, you'd
end up with zero to 2 zero-sized PT_NOTE sections. Am I missing something?

	Jakub


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