diff options
Diffstat (limited to 'gcc/config/arm/crtn.asm')
-rw-r--r-- | gcc/config/arm/crtn.asm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/arm/crtn.asm b/gcc/config/arm/crtn.asm index 360afae9753..36c417d7dde 100644 --- a/gcc/config/arm/crtn.asm +++ b/gcc/config/arm/crtn.asm @@ -31,6 +31,12 @@ # the executable file might be covered by the GNU General Public License. # +/* An executable stack is *not* required for these functions. */ +#if defined(__ELF__) && defined(__linux__) +.section .note.GNU-stack,"",%progbits +.previous +#endif + # This file just makes sure that the .fini and .init sections do in # fact return. Users may put any desired instructions in those sections. # This file is the last thing linked into any executable. |