.note.GNU-stack section marking the stack as either executable or non-executable.
You can also use the
AREA directive to generate either an executable or non-executable
.note.GNU-stack section. The following code generates an executable
.note.GNU-stack section. Omitting the
CODE attribute generates a non-executable
In the absence of
.note.GNU-stack section is not generated unless it is specified by the
If both the command-line option and source directive are used and are different, then the stack is marked as executable.
Table 11-3 Specifying a command-line option and an AREA directive for GNU-stack sections
| || |