1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/gcc/4.4.2/260-sh-libgcc-stacks.patch Tue Aug 10 13:25:52 2010 +0200
1.3 @@ -0,0 +1,25 @@
1.4 +diff -durN gcc-4.4.0.orig/gcc/config/sh/lib1funcs.asm gcc-4.4.0/gcc/config/sh/lib1funcs.asm
1.5 +--- gcc-4.4.0.orig/gcc/config/sh/lib1funcs.asm 2009-04-10 01:23:07.000000000 +0200
1.6 ++++ gcc-4.4.0/gcc/config/sh/lib1funcs.asm 2009-05-27 21:38:39.000000000 +0200
1.7 +@@ -30,6 +30,11 @@
1.8 + !! recoded in assembly by Toshiyasu Morita
1.9 + !! tm@netcom.com
1.10 +
1.11 ++#if defined(__ELF__) && defined(__linux__)
1.12 ++.section .note.GNU-stack,"",%progbits
1.13 ++.previous
1.14 ++#endif
1.15 ++
1.16 + /* SH2 optimizations for ___ashrsi3, ___ashlsi3, ___lshrsi3 and
1.17 + ELF local label prefixes by J"orn Rennecke
1.18 + amylaar@cygnus.com */
1.19 +diff -durN gcc-4.4.0.orig/gcc/config/sh/linux-atomic.asm gcc-4.4.0/gcc/config/sh/linux-atomic.asm
1.20 +--- gcc-4.4.0.orig/gcc/config/sh/linux-atomic.asm 2009-04-10 01:23:07.000000000 +0200
1.21 ++++ gcc-4.4.0/gcc/config/sh/linux-atomic.asm 2009-05-27 21:38:39.000000000 +0200
1.22 +@@ -136,3 +136,6 @@
1.23 + ATOMIC_FETCH_AND_COMBOP(nand,and,not,4,l,mov)
1.24 +
1.25 + #endif /* ! __SH5__ */
1.26 ++
1.27 ++.section .note.GNU-stack,"",%progbits
1.28 ++.previous