re PR target/38627 (SuperH libgcc.a lacks .note.GNU-stack markings in math funcs)

PR target/38627
	* config/sh/lib1funcs.asm [__ELF__ && __linux__]: Add .note.GNU-stack.
	* config/sh/linux-atomic.asm: Likewise.

From-SVN: r146297
This commit is contained in:
Mike Frysinger 2009-04-17 22:20:40 +00:00 committed by Kaz Kojima
parent 9994a182c8
commit 2984e1b612
3 changed files with 14 additions and 0 deletions

View file

@ -1,3 +1,9 @@
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.

View file

@ -30,6 +30,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
!! 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 */

View file

@ -135,4 +135,7 @@ ATOMIC_FETCH_AND_COMBOP(nand,and,not,1,b,extu.b)
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__ */