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]

Re: [PATCH] Re: Solaris2.7 failing all nested function tests


 > 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

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