This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] fix bugzilla 24959



On Feb 28, 2006, at 1:39 PM, Joseph S. Myers wrote:


On Tue, 28 Feb 2006, Eric Christopher wrote:

x86-darwin doesn't have an executable stack by default. There are a couple of
ways to enable it:


a) Use the -allow_stack_execute flag to the linker for nested functions
b) Use -allow_stack_execute all the time
c) Use mprotect

You could also enhance the linker to add a fourth way, equivalent to the
.note.GNU-stack used on GNU/Linux.

Yup. I'd love to do that. For now I think this is a good enough solution. :)


-eric


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