Commit 74cc88a6 by Maxim Kuvyrkov Committed by Maxim Kuvyrkov

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
parent 00b2ef14
2008-11-19 Maxim Kuvyrkov <maxim@codesourcery.com> 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. * config/m68k/m68k.c (sched_attr_op_type): Handle all CONSTs.
......
...@@ -4089,3 +4089,8 @@ SYM (__lesf2): ...@@ -4089,3 +4089,8 @@ SYM (__lesf2):
unlk a6 unlk a6
rts rts
#endif /* L_lesf2 */ #endif /* L_lesf2 */
#if defined (__ELF__) && defined (__linux__)
/* Make stack non-executable for ELF linux targets. */
.section .note.GNU-stack,"",@progbits
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment