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 i386]: Enable trampoline code for nx-protected stack Windows


"Danny Smith" <dansmister@gmail.com> wrote on 08.04.2008 08:28:54:

> >
> >  Don't change libgcc2.c.  Instead, add this to mingw32.h:
> >
> >  #ifdef IN_LIBGCC2
> >  #include <windows.h>
> >  #endif
> >
> >  That patch is OK if it works.
> >
> Ian's suggestion works for me on mingw32 with XP, sp2.
> So I have no objections to the mingw32.h delta.  I will do the cygwin
> testing ASAP.

Thanks, I applied it at revision 134089.

> 
> >  Thanks.
> >
> >  By the way: what about cygwin?
> >
> >  Ian
> >
I am uncertain about cygwin. AFAIK does cygwin allocates the stack 
manually with execute permissions, so it shouldn't need this patch.

-- Kai

|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.


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