diff options
author | Magnus Granberg <zorry@gentoo.org> | 2011-06-24 16:14:29 +0200 |
---|---|---|
committer | Magnus Granberg <zorry@gentoo.org> | 2011-06-24 16:14:29 +0200 |
commit | 98f14f9a18754741fce88cbcae6b0572467fd876 (patch) | |
tree | de4aaa4b505cdfb420a32b1867a4840f1d72760f | |
parent | Added the Makefile.in patch for upstream rev 1 (diff) | |
download | hardened-gccpatchset-98f14f9a18754741fce88cbcae6b0572467fd876.tar.gz hardened-gccpatchset-98f14f9a18754741fce88cbcae6b0572467fd876.tar.bz2 hardened-gccpatchset-98f14f9a18754741fce88cbcae6b0572467fd876.zip |
Added the config.in patch for upstream rev 1
-rw-r--r-- | upstream/config.in.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/upstream/config.in.patch b/upstream/config.in.patch new file mode 100644 index 0000000..89f5ec4 --- /dev/null +++ b/upstream/config.in.patch @@ -0,0 +1,50 @@ +2010-06-24 Magnus Granberg <zorry@gentoo.org> + + * gcc/config.in Add ENABLE_ESPF, ENABLE_ESPF_FORTIFY + ENABLE_ESPF_NOW, ENABLE_ESPF_PIE, ENABLE_ESPF_RELRO + and ENABLE_ESPF_SSP + +--- a/gcc/config.in 2011-04-24 00:36:52.000000000 +0200 ++++ b/gcc/config.in 2011-06-24 14:17:05.166236726 +0200 +@@ -77,6 +77,41 @@ + #endif + + ++/* Define to 1 to enable espf. */ ++#ifndef USED_FOR_TARGET ++#undef ENABLE_ESPF ++#endif ++ ++ ++/* Define to 1 to enable espf with FORTIFY_SOURCES. */ ++#ifndef USED_FOR_TARGET ++#undef ENABLE_ESPF_FORTIFY ++#endif ++ ++ ++/* Define to 1 to enable espf with -z now when linking. */ ++#ifndef USED_FOR_TARGET ++#undef ENABLE_ESPF_NOW ++#endif ++ ++ ++/* Define to 1 to enable espf with -fPIE -pie. */ ++#ifndef USED_FOR_TARGET ++#undef ENABLE_ESPF_PIE ++#endif ++ ++ ++/* Define to 1 to enable espf with -z relro when linking. */ ++#ifndef USED_FOR_TARGET ++#undef ENABLE_ESPF_RELRO ++#endif ++ ++ ++/* Define to 1 to enable espf with -fstack-protector. */ ++#ifndef USED_FOR_TARGET ++#undef ENABLE_ESPF_SSP ++#endif ++ + /* Define to 1 to enable fixed-point arithmetic extension to C. */ + #ifndef USED_FOR_TARGET + #undef ENABLE_FIXED_POINT |