From 98f14f9a18754741fce88cbcae6b0572467fd876 Mon Sep 17 00:00:00 2001 From: Magnus Granberg Date: Fri, 24 Jun 2011 16:14:29 +0200 Subject: Added the config.in patch for upstream rev 1 --- upstream/config.in.patch | 50 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 upstream/config.in.patch 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 + + * 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 -- cgit v1.2.3-65-gdbad