diff options
author | 2010-06-18 23:14:30 +0200 | |
---|---|---|
committer | 2010-06-18 23:14:30 +0200 | |
commit | 58babad47ce5991e6562fd6a8db890b8a45882cc (patch) | |
tree | 2d45db3dae5de48bc62c6d23a854a63a45fdef96 /gcc-4.5.0/piepatch/35_all_gcc44_config_crtbegints.patch | |
parent | Add gcc-4.4.4 (diff) | |
download | hardened-gccpatchset-58babad47ce5991e6562fd6a8db890b8a45882cc.tar.gz hardened-gccpatchset-58babad47ce5991e6562fd6a8db890b8a45882cc.tar.bz2 hardened-gccpatchset-58babad47ce5991e6562fd6a8db890b8a45882cc.zip |
Updated the Wtrampolines patch
Diffstat (limited to 'gcc-4.5.0/piepatch/35_all_gcc44_config_crtbegints.patch')
-rw-r--r-- | gcc-4.5.0/piepatch/35_all_gcc44_config_crtbegints.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc-4.5.0/piepatch/35_all_gcc44_config_crtbegints.patch b/gcc-4.5.0/piepatch/35_all_gcc44_config_crtbegints.patch index f1e6532..8f43a87 100644 --- a/gcc-4.5.0/piepatch/35_all_gcc44_config_crtbegints.patch +++ b/gcc-4.5.0/piepatch/35_all_gcc44_config_crtbegints.patch @@ -1,4 +1,4 @@ -2009-09-25 Magnus Granberg <zorry@ume.nu> +2010-06-18 Magnus Granberg <zorry@gentoo.org> * gcc/config/linux.h If ENABLE_CRTBEGINTS, -static and -pie use crtbegineTS.o. * gcc/config/rs6000/sysv4.h If ENABLE_CRTBEGINTS, -static and -pie use crtbegineTS.o. @@ -26,10 +26,10 @@ -#ifdef HAVE_LD_PIE +#if defined (HAVE_LD_PIE) && defined (ENABLE_CRTBEGINTS) -+#define STARTFILE_LINUX_SPEC \ -+ "%{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}} \ -+ %{mnewlib:ecrti.o%s;:crti.o%s} \ -+ {static:%{pie:crtbeginTS.o%s;:crtbeginT.o%s}} %{!static:%{shared|pie:crtbeginS.o%s;:crtbegin.o%s}}" ++#define STARTFILE_LINUX_SPEC "\ ++%{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}} \ ++%{mnewlib:ecrti.o%s;:crti.o%s} \ ++%{static:%{pie:crtbeginTS.o%s;:crtbeginT.o%s}} %{!static:%{shared|pie:crtbeginS.o%s;:crtbegin.o%s}}" +#elif defined (HAVE_LD_PIE) && ! defined (ENABLE_CRTBEGINTS) #define STARTFILE_LINUX_SPEC "\ %{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}} \ |