diff options
author | Maxim Kuvyrkov <maxim@codesourcery.com> | 2008-11-19 16:52:16 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <mkuvyrkov@gcc.gnu.org> | 2008-11-19 16:52:16 +0000 |
commit | 74cc88a6f43ef02f193a35f174452b1bc212564d (patch) | |
tree | 4b8b09498ad8a7910d269399629f2a323356d351 /gcc/config/m68k | |
parent | 00b2ef145c8901ebd3d3561de2e260e2d3e18dfa (diff) | |
download | gcc-74cc88a6f43ef02f193a35f174452b1bc212564d.zip gcc-74cc88a6f43ef02f193a35f174452b1bc212564d.tar.gz gcc-74cc88a6f43ef02f193a35f174452b1bc212564d.tar.bz2 |
lb1sf68.asm: Add GNU-stack annotation to avoid executable stack.
* config/m68k/lb1sf68.asm: Add GNU-stack annotation to avoid
executable stack.
Co-Authored-By: Paul Brook <paul@codesourcery.com>
From-SVN: r142007
Diffstat (limited to 'gcc/config/m68k')
-rw-r--r-- | gcc/config/m68k/lb1sf68.asm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/m68k/lb1sf68.asm b/gcc/config/m68k/lb1sf68.asm index e03b7b3..ebfcb88 100644 --- a/gcc/config/m68k/lb1sf68.asm +++ b/gcc/config/m68k/lb1sf68.asm @@ -4089,3 +4089,8 @@ SYM (__lesf2): unlk a6 rts #endif /* L_lesf2 */ + +#if defined (__ELF__) && defined (__linux__) + /* Make stack non-executable for ELF linux targets. */ + .section .note.GNU-stack,"",@progbits +#endif |