Keil Logo Arm Logo

Assembler Reference

--no_execstack

--no_execstack

This option generates a .note.GNU-stack section marking the stack as non-executable.

You can also use the AREA directive to generate a non executable .note.GNU-stack section:

    AREA    |.note.GNU-stack|,ALIGN=0,READONLY,NOALLOC

In the absence of --execstack and --no_execstack, the .note.GNU-stack section is not generated unless it is specified by the AREA directive.

If both the command-line option and source directive are used and are different, then the stack is marked as executable.

Table 3. Specifying a command-line option and an AREA directive for GNU-stack sections

 

--execstack command-line option

--no_execstack command-line option

execstack AREA directive

execstack

execstack

no_execstack AREA directive

execstack

no_execstack


Copyright © 2011-2012 ARM. All rights reserved.ARM DUI 0588B
Non-ConfidentialID062912

arm-logo-small

Keil logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.