------- Comment #11 from echristo at apple dot com  2006-02-27 08:35 -------
There are two ways to fix this, the easiest way is to pass -allow_stack_execute
through to the linker when we want an executable stack. This is problematic
since we'll not be specifying it on the command line. We can turn on an
allowable stack at all times, but this is less safe than turning it on only
when necessary. The other way is to use mprotect like the patch has below.


-- 

echristo at apple dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |echristo at apple dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-11-21 20:49:38         |2006-02-27 08:35:11
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24959

Reply via email to