diff options
Diffstat (limited to 'gcc-4.5.0/piepatch/11_all_gcc44_config.in.patch')
-rw-r--r-- | gcc-4.5.0/piepatch/11_all_gcc44_config.in.patch | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/gcc-4.5.0/piepatch/11_all_gcc44_config.in.patch b/gcc-4.5.0/piepatch/11_all_gcc44_config.in.patch new file mode 100644 index 0000000..efab612 --- /dev/null +++ b/gcc-4.5.0/piepatch/11_all_gcc44_config.in.patch @@ -0,0 +1,52 @@ +2010-04-22 Magnus Granberg <zorry@gentoo.org> + + * gcc/config.in Add ENABLE_CRTBEGINTS ENABLE_ESP and + HAVE_GCC_SSP HAVE_GCC_LD_PIE + +--- 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 crtbeginTS.o. */ ++#ifndef USED_FOR_TARGET ++#undef ENABLE_CRTBEGINTS ++#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,12 @@ + #endif + + ++/* Define to 1 to enable esp. */ ++#ifndef USED_FOR_TARGET ++#undef ENABLE_ESP ++#endif ++ ++ + /* Define to 1 to enable fixed-point arithmetic extension to C. */ + #ifndef USED_FOR_TARGET + #undef ENABLE_FIXED_POINT +@@ -912,6 +924,18 @@ + #endif + + ++/* Define if your compiler supports SSP */ ++#ifndef USED_FOR_TARGET ++#undef HAVE_GCC_SSP ++#endif ++ ++ ++/* Define if your compiler and linker supports PIE */ ++#ifndef USED_FOR_TARGET ++#undef HAVE_GCC_LD_PIE ++#endif ++ ++ + /* Define to 1 if you have the `getchar_unlocked' function. */ + #ifndef USED_FOR_TARGET + #undef HAVE_GETCHAR_UNLOCKED |