diff options
author | Magnus Granberg (Zorry) <zorry@gentoo.org> | 2010-04-25 19:38:56 +0200 |
---|---|---|
committer | Magnus Granberg (Zorry) <zorry@gentoo.org> | 2010-04-25 19:38:56 +0200 |
commit | 1a3a0e0180c722a184679c4f2db50582dd1f611b (patch) | |
tree | 01a852ed39063e47d4eaaa460becbeb3da571a38 | |
parent | Updated pipatches to 0.4.1 in gcc 4.4.3 part3 (diff) | |
download | hardened-gccpatchset-1a3a0e0180c722a184679c4f2db50582dd1f611b.tar.gz hardened-gccpatchset-1a3a0e0180c722a184679c4f2db50582dd1f611b.tar.bz2 hardened-gccpatchset-1a3a0e0180c722a184679c4f2db50582dd1f611b.zip |
Updated pipatches to 0.4.1 in gcc 4.4.3 part4
12 files changed, 36 insertions, 36 deletions
diff --git a/gcc-4.4.3/piepatch/10_all_gcc44_configure.patch b/gcc-4.4.3/piepatch/10_all_gcc44_configure.patch index 7b04b7e..056ea0b 100644 --- a/gcc-4.4.3/piepatch/10_all_gcc44_configure.patch +++ b/gcc-4.4.3/piepatch/10_all_gcc44_configure.patch @@ -9,8 +9,8 @@ Check if we support crtbeginTS and define ENABLE_CRTBEGINTS. * libmudflap/configure Add AC_SUBST enable_esp. ---- a/configure 2009-04-29 01:16:59.000000000 +0200 -+++ b/configure 2009-07-21 18:45:41.000000000 +0200 +--- configure 2009-04-29 01:16:59.000000000 +0200 ++++ configure 2009-07-21 18:45:41.000000000 +0200 @@ -272,7 +272,7 @@ PACKAGE_BUGREPORT= @@ -84,8 +84,8 @@ s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t ---- a/gcc/configure 2009-04-29 01:16:54.000000000 +0200 -+++ b/gcc/configure 2009-06-08 01:03:01.000000000 +0200 +--- gcc/configure 2009-04-29 01:16:54.000000000 +0200 ++++ gcc/configure 2009-06-08 01:03:01.000000000 +0200 @@ -458,7 +458,7 @@ # include <unistd.h> #endif" @@ -424,8 +424,8 @@ s,@GGC@,$GGC,;t t s,@zlibdir@,$zlibdir,;t t s,@zlibinc@,$zlibinc,;t t ---- a/libmudflap/configure 2009-04-29 01:16:55.000000000 +0200 -+++ b/libmudflap/configure 2009-07-21 18:28:52.000000000 +0200 +--- libmudflap/configure 2009-04-29 01:16:55.000000000 +0200 ++++ libmudflap/configure 2009-07-21 18:28:52.000000000 +0200 @@ -458,7 +458,7 @@ # include <unistd.h> #endif" diff --git a/gcc-4.4.3/piepatch/11_all_gcc44_config.in.patch b/gcc-4.4.3/piepatch/11_all_gcc44_config.in.patch index 090cd44..efab612 100644 --- a/gcc-4.4.3/piepatch/11_all_gcc44_config.in.patch +++ b/gcc-4.4.3/piepatch/11_all_gcc44_config.in.patch @@ -3,8 +3,8 @@ * gcc/config.in Add ENABLE_CRTBEGINTS ENABLE_ESP and HAVE_GCC_SSP HAVE_GCC_LD_PIE ---- a/gcc/config.in 2009-04-21 11:08:08.000000000 +0200 -+++ b/gcc/config.in 2009-05-12 00:10:08.000000000 +0200 +--- 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 diff --git a/gcc-4.4.3/piepatch/12_all_gcc44_Makefile.in.patch b/gcc-4.4.3/piepatch/12_all_gcc44_Makefile.in.patch index ea36a5a..e1f9dbf 100644 --- a/gcc-4.4.3/piepatch/12_all_gcc44_Makefile.in.patch +++ b/gcc-4.4.3/piepatch/12_all_gcc44_Makefile.in.patch @@ -17,8 +17,8 @@ * libmudflap/Makefiles.in Add -fno-stack-protector -U_FORTIFY_SOURCE to AM_CFLAGS ifdef enable_esp. ---- a/Makefile.in 2009-04-14 10:57:33.000000000 +0200 -+++ b/Makefile.in 2009-07-21 05:29:54.000000000 +0200 +--- Makefile.in 2009-04-14 10:57:33.000000000 +0200 ++++ Makefile.in 2009-07-21 05:29:54.000000000 +0200 @@ -305,9 +305,17 @@ BUILD_PREFIX = @BUILD_PREFIX@ BUILD_PREFIX_1 = @BUILD_PREFIX_1@ @@ -50,8 +50,8 @@ # Only build the C compiler for stage1, because that is the only one that # we can guarantee will build with the native compiler, and also it is the ---- a/gcc/Makefile.in 2009-04-29 01:16:56.000000000 +0200 -+++ b/gcc/Makefile.in 2009-07-05 02:11:04.000000000 +0200 +--- gcc/Makefile.in 2009-04-29 01:16:56.000000000 +0200 ++++ gcc/Makefile.in 2009-07-05 02:11:04.000000000 +0200 @@ -580,13 +580,24 @@ INHIBIT_LIBC_CFLAGS = -Dinhibit_libc endif @@ -155,8 +155,8 @@ $(out_file) $(OUTPUT_OPTION) # Build auxiliary files that support ecoff format. ---- a/libgcc/Makefile.in 2009-04-10 01:23:07.000000000 +0200 -+++ b/libgcc/Makefile.in 2009-09-08 03:42:47.000000000 +0200 +--- libgcc/Makefile.in 2009-04-10 01:23:07.000000000 +0200 ++++ libgcc/Makefile.in 2009-09-08 03:42:47.000000000 +0200 @@ -280,6 +280,12 @@ gen-hide-list = echo > \$@ endif @@ -184,8 +184,8 @@ endif # Build extra startfiles in the libgcc directory. ---- a/libmudflap/Makefile.in 2009-04-29 01:16:56.000000000 +0200 -+++ b/libmudflap/Makefile.in 2009-07-21 05:41:56.000000000 +0200 +--- libmudflap/Makefile.in 2009-04-29 01:16:56.000000000 +0200 ++++ libmudflap/Makefile.in 2009-07-21 05:41:56.000000000 +0200 @@ -253,9 +253,17 @@ MAINT_CHARSET = latin1 SUBDIRS = testsuite diff --git a/gcc-4.4.3/piepatch/20_all_gcc44_gcc.c.patch b/gcc-4.4.3/piepatch/20_all_gcc44_gcc.c.patch index 8b73fc8..69709bf 100644 --- a/gcc-4.4.3/piepatch/20_all_gcc44_gcc.c.patch +++ b/gcc-4.4.3/piepatch/20_all_gcc44_gcc.c.patch @@ -14,8 +14,8 @@ * gcc/gcc.c default_compilers[] Add %(esp_options) *cpp_unique_options Add %(esp_cpp_unique_options) ---- a/gcc/gcc.c 2009-04-29 01:17:00.000000000 +0200 -+++ b/gcc/gcc.c 2009-07-22 20:18:10.000000000 +0200 +--- gcc/gcc.c 2009-04-29 01:17:00.000000000 +0200 ++++ gcc/gcc.c 2009-07-22 20:18:10.000000000 +0200 @@ -83,6 +83,7 @@ #include "gcc.h" #include "flags.h" diff --git a/gcc-4.4.3/piepatch/21_all_gcc44_decl-tls-model.patch b/gcc-4.4.3/piepatch/21_all_gcc44_decl-tls-model.patch index f483849..3a7b2fb 100644 --- a/gcc-4.4.3/piepatch/21_all_gcc44_decl-tls-model.patch +++ b/gcc-4.4.3/piepatch/21_all_gcc44_decl-tls-model.patch @@ -3,8 +3,8 @@ b.g.o #232601 * gcc/varasm.c (decl_tls_model): Check flag_pic instead of flag_shlib. ---- a/gcc/varasm.c 2009-03-17 21:18:21.000000000 +0100 -+++ b/gcc/varasm.c 2009-04-29 03:10:09.000000000 +0200 +--- gcc/varasm.c 2009-03-17 21:18:21.000000000 +0100 ++++ gcc/varasm.c 2009-04-29 03:10:09.000000000 +0200 @@ -5607,7 +5607,11 @@ bool is_local; diff --git a/gcc-4.4.3/piepatch/30_all_gcc44_esp.h.patch b/gcc-4.4.3/piepatch/30_all_gcc44_esp.h.patch index 6634a33..8e6e8a3 100644 --- a/gcc-4.4.3/piepatch/30_all_gcc44_esp.h.patch +++ b/gcc-4.4.3/piepatch/30_all_gcc44_esp.h.patch @@ -3,8 +3,8 @@ * gcc/esp.h New file to support --enable-esp Version 20100422.1 ---- a/gcc/esp.h 2010-04-09 16:14:00.000000000 +0200 -+++ b/gcc/esp.h 2010-04-22 13:48:18.000000000 +0200 +--- gcc/esp.h 2010-04-09 16:14:00.000000000 +0200 ++++ gcc/esp.h 2010-04-22 13:48:18.000000000 +0200 @@ -0,0 +1,147 @@ +/* License terms see GNU GENERAL PUBLIC LICENSE Version 3. + * Version 20100422.1 diff --git a/gcc-4.4.3/piepatch/33_all_gcc44_config_rs6000_linux64.h.patch b/gcc-4.4.3/piepatch/33_all_gcc44_config_rs6000_linux64.h.patch index 5a88bf6..b9fed34 100644 --- a/gcc-4.4.3/piepatch/33_all_gcc44_config_rs6000_linux64.h.patch +++ b/gcc-4.4.3/piepatch/33_all_gcc44_config_rs6000_linux64.h.patch @@ -3,8 +3,8 @@ * gcc/config/rs6000/linux64.h ASM_SPEC32 Change %{fpic:-K PIC} %{fPIC:-K PIC} to %{fpic|fPIC|fpie|fPIE:-K PIC} ---- a/gcc/config/rs6000/linux64.h.psm 2009-04-10 01:23:07.000000000 +0200 -+++ b/gcc/config/rs6000/linux64.h 2009-09-23 12:34:26.000000000 +0200 +--- gcc/config/rs6000/linux64.h.psm 2009-04-10 01:23:07.000000000 +0200 ++++ gcc/config/rs6000/linux64.h 2009-09-23 12:34:26.000000000 +0200 @@ -156,7 +156,7 @@ #endif diff --git a/gcc-4.4.3/piepatch/35_all_gcc44_config_crtbegints.patch b/gcc-4.4.3/piepatch/35_all_gcc44_config_crtbegints.patch index 2af5694..099253d 100644 --- a/gcc-4.4.3/piepatch/35_all_gcc44_config_crtbegints.patch +++ b/gcc-4.4.3/piepatch/35_all_gcc44_config_crtbegints.patch @@ -3,8 +3,8 @@ * 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. ---- a/gcc/config/linux.h 2009-04-10 01:23:07.000000000 +0200 -+++ b/gcc/config/linux.h 2009-09-08 04:08:06.000000000 +0200 +--- gcc/config/linux.h 2009-04-10 01:23:07.000000000 +0200 ++++ gcc/config/linux.h 2009-09-08 04:08:06.000000000 +0200 @@ -43,7 +43,11 @@ object constructed before entering `main'. */ @@ -18,8 +18,8 @@ #define STARTFILE_SPEC \ "%{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}} \ crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}" ---- a/gcc/config/rs6000/sysv4.h 2009-04-10 01:23:07.000000000 +0200 -+++ b/gcc/config/rs6000/sysv4.h 2009-09-08 04:41:50.000000000 +0200 +--- gcc/config/rs6000/sysv4.h 2009-04-10 01:23:07.000000000 +0200 ++++ gcc/config/rs6000/sysv4.h 2009-09-08 04:41:50.000000000 +0200 @@ -883,7 +883,12 @@ %{!mnewlib: %{pthread:-lpthread} %{shared:-lc} \ %{!shared: %{profile:-lc_p} %{!profile:-lc}}}" diff --git a/gcc-4.4.3/piepatch/40_all_gcc44_cp_lang-specs.h.patch b/gcc-4.4.3/piepatch/40_all_gcc44_cp_lang-specs.h.patch index 99175da..e122461 100644 --- a/gcc-4.4.3/piepatch/40_all_gcc44_cp_lang-specs.h.patch +++ b/gcc-4.4.3/piepatch/40_all_gcc44_cp_lang-specs.h.patch @@ -3,8 +3,8 @@ LP #346126 * gcc/cp/lang-specs.h compiler spec Add %(esp_options). ---- a/gcc/cp/lang-specs.h 2009-03-23 01:21:54.000000000 +0100 -+++ b/gcc/cp/lang-specs.h 2009-03-23 01:22:16.000000000 +0100 +--- gcc/cp/lang-specs.h 2009-03-23 01:21:54.000000000 +0100 ++++ gcc/cp/lang-specs.h 2009-03-23 01:22:16.000000000 +0100 @@ -47,7 +47,7 @@ %(cpp_options) %2 -o %{save-temps:%b.ii} %{!save-temps:%g.ii} \n}\ cc1plus %{save-temps|no-integrated-cpp:-fpreprocessed %{save-temps:%b.ii} %{!save-temps:%g.ii}}\ diff --git a/gcc-4.4.3/piepatch/41_all_gcc44_objc_lang-specs.h.patch b/gcc-4.4.3/piepatch/41_all_gcc44_objc_lang-specs.h.patch index 181fae0..418217e 100644 --- a/gcc-4.4.3/piepatch/41_all_gcc44_objc_lang-specs.h.patch +++ b/gcc-4.4.3/piepatch/41_all_gcc44_objc_lang-specs.h.patch @@ -3,8 +3,8 @@ LP #346126 * gcc/objc/lang-specs.h compiler spec Add %(esp_options). ---- a/gcc/objc/lang-specs.h 2009-03-23 01:21:54.000000000 +0100 -+++ b/gcc/objc/lang-specs.h 2009-03-23 01:22:16.000000000 +0100 +--- gcc/objc/lang-specs.h 2009-03-23 01:21:54.000000000 +0100 ++++ gcc/objc/lang-specs.h 2009-03-23 01:22:16.000000000 +0100 @@ -30,13 +30,13 @@ %{traditional|ftraditional|traditional-cpp:\ %eGNU Objective C no longer supports traditional compilation}\ diff --git a/gcc-4.4.3/piepatch/42_all_gcc44_objcp_lang-specs.h.patch b/gcc-4.4.3/piepatch/42_all_gcc44_objcp_lang-specs.h.patch index c0e48c4..50ab607 100644 --- a/gcc-4.4.3/piepatch/42_all_gcc44_objcp_lang-specs.h.patch +++ b/gcc-4.4.3/piepatch/42_all_gcc44_objcp_lang-specs.h.patch @@ -3,8 +3,8 @@ LP #346126 * gcc/objcp/lang-specs.h compiler spec Add %(esp_options). ---- a/gcc/objcp/lang-specs.h 2009-03-23 01:21:54.000000000 +0100 -+++ b/gcc/objcp/lang-specs.h 2009-03-23 01:22:16.000000000 +0100 +--- gcc/objcp/lang-specs.h 2009-03-23 01:21:54.000000000 +0100 ++++ gcc/objcp/lang-specs.h 2009-03-23 01:22:16.000000000 +0100 @@ -36,7 +36,7 @@ %(cpp_options) %2 -o %{save-temps:%b.mii} %{!save-temps:%g.mii} \n}\ cc1objplus %{save-temps|no-integrated-cpp:-fpreprocessed %{save-temps:%b.mii} %{!save-temps:%g.mii}}\ diff --git a/gcc-4.4.3/piepatch/60_all_gcc44_invoke.texi.patch b/gcc-4.4.3/piepatch/60_all_gcc44_invoke.texi.patch index 899e2d5..15b3417 100644 --- a/gcc-4.4.3/piepatch/60_all_gcc44_invoke.texi.patch +++ b/gcc-4.4.3/piepatch/60_all_gcc44_invoke.texi.patch @@ -3,8 +3,8 @@ * gcc/doc/invoke.texi Add NOTES about -fstack-protector-all, -pie and -fPIE/-fpie when --enable-esp is enable, this options is on by default. ---- a/gcc/doc/invoke.texi 2009-04-01 09:18:47.000000000 +0200 -+++ b/gcc/doc/invoke.texi 2009-06-18 14:08:38.000000000 +0200 +--- gcc/doc/invoke.texi 2009-04-01 09:18:47.000000000 +0200 ++++ gcc/doc/invoke.texi 2009-06-18 14:08:38.000000000 +0200 @@ -7134,6 +7134,11 @@ @opindex fstack-protector-all Like @option{-fstack-protector} except that all functions are protected. |