* config/sh/lib1funcs.asm [__ELF__ && __linux__]: Add .note.GNU-stack.
* config/sh/linux-atomic.asm: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146297
138bc75d-0d04-0410-961f-
82ee72b054a4
+2009-04-17 Mike Frysinger <vapier@gentoo.org>
+
+ PR target/38627
+ * config/sh/lib1funcs.asm [__ELF__ && __linux__]: Add .note.GNU-stack.
+ * config/sh/linux-atomic.asm: Likewise.
+
2009-04-17 Diego Novillo <dnovillo@google.com>
* except.c (debug_eh_tree): New.
!! recoded in assembly by Toshiyasu Morita
!! tm@netcom.com
+#if defined(__ELF__) && defined(__linux__)
+.section .note.GNU-stack,"",%progbits
+.previous
+#endif
+
/* SH2 optimizations for ___ashrsi3, ___ashlsi3, ___lshrsi3 and
ELF local label prefixes by J"orn Rennecke
amylaar@cygnus.com */
ATOMIC_FETCH_AND_COMBOP(nand,and,not,2,w,extu.w)
ATOMIC_FETCH_AND_COMBOP(nand,and,not,4,l,mov)
+.section .note.GNU-stack,"",%progbits
+.previous
+
#endif /* ! __SH5__ */