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
This commit is contained in:
Maxim Kuvyrkov 2008-11-19 16:52:16 +00:00 committed by Maxim Kuvyrkov
parent 00b2ef145c
commit 74cc88a6f4
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2008-11-19 Maxim Kuvyrkov <maxim@codesourcery.com>
Paul Brook <paul@codesourcery.com>
* config/m68k/lb1sf68.asm: Add GNU-stack annotation to avoid
executable stack.
2008-11-19 Maxim Kuvyrkov <maxim@codesourcery.com>
* config/m68k/m68k.c (sched_attr_op_type): Handle all CONSTs.

View file

@ -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