This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Re: Solaris2.7 failing all nested function tests
- To: oliva at lsd dot ic dot unicamp dot br
- Subject: Re: [PATCH] Re: Solaris2.7 failing all nested function tests
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Fri, 14 Jan 2000 15:34:10 -0500 (EST)
- Cc: davem at redhat dot com, gcc-patches at gcc dot gnu dot org, jakub at redhat dot com
> From: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
>
> On Jan 14, 2000, "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> wrote:
>
> > I don't think we need to call __enable_execute_stack when in 32 bit
> > mode
>
> Why not? I don't think the stack-protection code affects only 64
> bit mode. It's more likely that the code was put in sol2-sld-64.h
> because this feature was only introduced in Solaris7.
Perhaps. I tried compiling nestfunc-1.c in 32 bit mode with an empty
__enable_execute_stack stub function. It compiled and ran. So I
suspected the stack doesn't need enabling in 32 bit mode. How else
could solaris 2.7 run 2.6 and prior binaries which relied on stack
execution?
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions