[cfe-dev] [compiler-rt] [Patch] Support for NX stacks

Ed Schouten ed at 80386.nl
Tue Dec 21 02:38:08 PST 2010


Hi Nick,

On Dec 15, 2010, at 18:59, Nick Kledzik wrote:
> Since all the code in compiler-rt does not execute anything on the stack, is there some command line option that will add that section?  That way every .s file will not need to be touched.  
> 
> Alternately, is there some way to add the section directive to the assembly.h file, that way every file will get it without having to change every .S file?
> 
> I'm fine with adding this information, just modifying every .S file and adding a macro seems fragile.

I've discussed this with Kostik and as far as we know, there is no way this can be done without modifying the .S files. There is, for example, no assembler flag.

Greetings,
-- 
Ed Schouten <ed at 80386.nl>
WWW: http://80386.nl/





More information about the cfe-dev mailing list