diff options
Diffstat (limited to 'gcc-4.2.1/gcc/config/arm/crti.asm')
-rw-r--r-- | gcc-4.2.1/gcc/config/arm/crti.asm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc-4.2.1/gcc/config/arm/crti.asm b/gcc-4.2.1/gcc/config/arm/crti.asm index 166a3ce34..abacdd1e3 100644 --- a/gcc-4.2.1/gcc/config/arm/crti.asm +++ b/gcc-4.2.1/gcc/config/arm/crti.asm @@ -30,6 +30,11 @@ # This exception does not however invalidate any other reasons why # 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 make a stack frame for the contents of the .fini and # .init sections. Users may put any desired instructions in those |