aboutsummaryrefslogtreecommitdiff
path: root/4.3.2
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-12-26 00:37:28 +0000
committerMike Frysinger <vapier@gentoo.org>2008-12-26 00:37:28 +0000
commit289cee7d832ddfb2e6c747067c95dfec9e7e4f5a (patch)
tree9428a69ebe08426c6e12bfc09f2a7186fb87e6b7 /4.3.2
parentimport pie patch and fix sparc patch to apply after biarch (diff)
downloadgcc-patches-289cee7d832ddfb2e6c747067c95dfec9e7e4f5a.tar.gz
gcc-patches-289cee7d832ddfb2e6c747067c95dfec9e7e4f5a.tar.bz2
gcc-patches-289cee7d832ddfb2e6c747067c95dfec9e7e4f5a.zip
tweak linux-atomic.asm based on upstream feedback
Diffstat (limited to '4.3.2')
-rw-r--r--4.3.2/gentoo/73_all_sh-libgcc-stacks.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/4.3.2/gentoo/73_all_sh-libgcc-stacks.patch b/4.3.2/gentoo/73_all_sh-libgcc-stacks.patch
index 4ea628a..80decde 100644
--- a/4.3.2/gentoo/73_all_sh-libgcc-stacks.patch
+++ b/4.3.2/gentoo/73_all_sh-libgcc-stacks.patch
@@ -1,3 +1,5 @@
+http://gcc.gnu.org/PR38627
+
make sure objects in libgcc.a have GNU-stack markings:
!WX --- --- 4.3.2/_ashiftrt.o
!WX --- --- 4.3.2/_ashiftrt_n.o
@@ -33,12 +35,10 @@ make sure objects in libgcc.a have GNU-stack markings:
amylaar@cygnus.com */
--- gcc/config/sh/linux-atomic.asm
+++ gcc/config/sh/linux-atomic.asm
-@@ -138,3 +138,8 @@
+@@ -138,3 +138,6 @@
ATOMIC_FETCH_AND_COMBOP(nand,and,not,4,l,mov)
#endif /* ! __SH5__ */
+
-+#if defined(__ELF__) && defined(__linux__)
+.section .note.GNU-stack,"",%progbits
+.previous
-+#endif