aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Granberg <zorry@gentoo.org>2012-04-08 14:33:17 +0200
committerMagnus Granberg <zorry@gentoo.org>2012-04-08 14:33:17 +0200
commita47328a2beadfa7ab70802444f0aabac82ede1b9 (patch)
tree0689f57520cc5bf96c9a632847ed97a55a484f88 /gcc-4.7.0/piepatch/02_all_gcc47_config.in.patch
parentpiepatch 0.5.2 for gcc 4.7 (diff)
downloadhardened-gccpatchset-a47328a2beadfa7ab70802444f0aabac82ede1b9.tar.gz
hardened-gccpatchset-a47328a2beadfa7ab70802444f0aabac82ede1b9.tar.bz2
hardened-gccpatchset-a47328a2beadfa7ab70802444f0aabac82ede1b9.zip
Update 4.6 and 4.7
Diffstat (limited to 'gcc-4.7.0/piepatch/02_all_gcc47_config.in.patch')
-rw-r--r--gcc-4.7.0/piepatch/02_all_gcc47_config.in.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/gcc-4.7.0/piepatch/02_all_gcc47_config.in.patch b/gcc-4.7.0/piepatch/02_all_gcc47_config.in.patch
new file mode 100644
index 0000000..43cd7f8
--- /dev/null
+++ b/gcc-4.7.0/piepatch/02_all_gcc47_config.in.patch
@@ -0,0 +1,39 @@
+2012-04-06 Magnus Granberg <zorry@gentoo.org>
+
+ * gcc/config.in Add ENABLE_CRTBEGINP, ENABLE_ESP
+ and ENABLE_ESP_SSP
+
+--- gcc/config.in 2009-04-21 11:08:08.000000000 +0200
++++ gcc/config.in 2009-05-12 00:10:08.000000000 +0200
+@@ -46,6 +46,12 @@
+ #endif
+
+
++/* Define to 1 to enable crtbeginP.o. */
++#ifndef USED_FOR_TARGET
++#undef ENABLE_CRTBEGINP
++#endif
++
++
+ /* Define to 1 to specify that we are using the BID decimal floating point
+ format instead of DPD */
+ #ifndef USED_FOR_TARGET
+@@ -65,6 +65,18 @@
+ #endif
+
+
++/* Define to 1 to enable esp. */
++#ifndef USED_FOR_TARGET
++#undef ENABLE_ESP
++#endif
++
++
++/* Define to 1 to enable esp. */
++#ifndef USED_FOR_TARGET
++#undef ENABLE_ESP_SSP
++#endif
++
++
+ /* Define to 1 to enable fixed-point arithmetic extension to C. */
+ #ifndef USED_FOR_TARGET
+ #undef ENABLE_FIXED_POINT