Gentoo Archives: gentoo-commits

From: "Magnus Granberg (zorry)" <zorry@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/gcc/4.8.1/pie: 15_all_gcc44_decl-tls-model.patch 40_all_gcc48_config_esp.patch README.Changelog README.history
Date: Mon, 26 Aug 2013 20:47:17
Message-Id: 20130826204713.C31002004C@flycatcher.gentoo.org
1 zorry 13/08/26 20:47:13
2
3 Modified: 40_all_gcc48_config_esp.patch README.Changelog
4 README.history
5 Removed: 15_all_gcc44_decl-tls-model.patch
6 Log:
7 Fix piepatchset 0.5.7 for gcc 4.8.1
8
9 Revision Changes Path
10 1.2 src/patchsets/gcc/4.8.1/pie/40_all_gcc48_config_esp.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.8.1/pie/40_all_gcc48_config_esp.patch?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.8.1/pie/40_all_gcc48_config_esp.patch?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.8.1/pie/40_all_gcc48_config_esp.patch?r1=1.1&r2=1.2
15
16 Index: 40_all_gcc48_config_esp.patch
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.8.1/pie/40_all_gcc48_config_esp.patch,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- 40_all_gcc48_config_esp.patch 4 Jun 2013 05:21:15 -0000 1.1
23 +++ 40_all_gcc48_config_esp.patch 26 Aug 2013 20:47:13 -0000 1.2
24 @@ -1,23 +1,23 @@
25 -2013-02-14 Magnus Granberg <zorry@g.o>
26 +2013-08-10 Magnus Granberg <zorry@g.o>
27
28 * gcc/esp.h New file to support --enable-esp
29 - Version 20130214.1
30 + Version 20130810.1
31
32 --- gcc/config/esp.h 2010-04-09 16:14:00.000000000 +0200
33 +++ gcc/config/esp.h 2012-06-23 01:00:31.248348491 +0200
34 -@@ -0,0 +1,127 @@
35 +@@ -0,0 +1,128 @@
36 +/* License terms see GNU GENERAL PUBLIC LICENSE Version 3.
37 -+ * Version 20130214.1
38 ++ * Version 20130810.1
39 + * Magnus Granberg (Zorry) <zorry@g.o> */
40 +#ifndef GCC_ESP_H
41 +#define GCC_ESP_H
42 +
43 -+/* This file will add -fstack-protector-all, -fPIE, -pie and -z now
44 ++/* This file will add -fstack-protector-all, -fstack-check, -fPIE, -pie and -z now
45 + as default if the defines and the spec allow it.
46 + Added a hack for gcc-specs-* in toolchain-funcs.eclass and _filter-hardened in flag-o-matic.eclass
47 + to support older hardened GCC patches and we don't need to change the code on gcc-specs-* and _filter-hardened.
48 + This will add some unsupported upstream commands options as -nopie and -nonow.
49 -+ -D__KERNEL__ is added so we don't have -fPIE, -pie and -fstack-protector-all when building kernels.
50 ++ -D__KERNEL__ is added so we don't have -fPIE, -pie and -fstack-protector-all and -fstack-check when building kernels.
51 + ESP_CC1_SPEC is added to CC1_SPEC.
52 + ESP_CC1_STRICT_OVERFLOW_SPEC is added so we don't disable the strict-overflow check.
53 + ESP_LINK_PIE_CHECK_SPEC check for -pie, -p, -pg, -profile and -static.
54 @@ -28,7 +28,7 @@
55 + /* Hack to support gcc-specs-* in toolchain-funcs.eclass and _filter-hardened in flag-o-matic.eclass */
56 + #define ESP_CC1_SPEC " %(esp_cc1_ssp) %(esp_cc1_pie) %(esp_cc1_strict_overflow)"
57 + #if defined ( EFAULT_SSP ) || defined ( EFAULT_PIE_SSP )
58 -+ #define ESP_CC1_SSP_SPEC "%{!fno-stack-protector: %{!fno-stack-protector-all: }}"
59 ++ #define ESP_CC1_SSP_SPEC "%{!fno-stack-protector: %{!fno-stack-protector-all: %{!fno-stack-check: }}}"
60 + #else
61 + #define ESP_CC1_SSP_SPEC ""
62 + #endif
63 @@ -54,7 +54,8 @@
64 + #if defined ( EFAULT_SSP ) || defined ( EFAULT_PIE_SSP )
65 + #define ESP_OPTIONS_SSP_SPEC \
66 + "%{nostdlib|nodefaultlibs|fno-stack-protector| \
67 -+ fstack-protector|fstack-protector-all:;:-fstack-protector-all}"
68 ++ fstack-protector|fstack-protector-all:;:-fstack-protector-all} \
69 ++ %{fstack-check|fstack-check=*:;: -fstack-check}"
70 + #else
71 + #define ESP_OPTIONS_SSP_SPEC ""
72 + #endif
73
74
75
76 1.2 src/patchsets/gcc/4.8.1/pie/README.Changelog
77
78 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.8.1/pie/README.Changelog?rev=1.2&view=markup
79 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.8.1/pie/README.Changelog?rev=1.2&content-type=text/plain
80 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.8.1/pie/README.Changelog?r1=1.1&r2=1.2
81
82 Index: README.Changelog
83 ===================================================================
84 RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.8.1/pie/README.Changelog,v
85 retrieving revision 1.1
86 retrieving revision 1.2
87 diff -u -r1.1 -r1.2
88 --- README.Changelog 4 Jun 2013 05:21:15 -0000 1.1
89 +++ README.Changelog 26 Aug 2013 20:47:13 -0000 1.2
90 @@ -1,3 +1,7 @@
91 +0.5.7 Magnus Granberg <zorry@g.o>
92 +
93 + * gcc/config/esp.h Add -fstack-check as default.
94 +
95 0.5.6 Magnus Granberg <zorry@g.o>
96
97 * gcc/config/ia64/linux.h Change ESP_DRIVER_SELF_SPECS To ESP_DRIVER_SELF_SPEC
98
99
100
101 1.2 src/patchsets/gcc/4.8.1/pie/README.history
102
103 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.8.1/pie/README.history?rev=1.2&view=markup
104 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.8.1/pie/README.history?rev=1.2&content-type=text/plain
105 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.8.1/pie/README.history?r1=1.1&r2=1.2
106
107 Index: README.history
108 ===================================================================
109 RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.8.1/pie/README.history,v
110 retrieving revision 1.1
111 retrieving revision 1.2
112 diff -u -r1.1 -r1.2
113 --- README.history 4 Jun 2013 05:21:15 -0000 1.1
114 +++ README.history 26 Aug 2013 20:47:13 -0000 1.2
115 @@ -1,3 +1,6 @@
116 +0.5.7 10 Jul 2013
117 + U 35_all_gcc48_config_esp.h.patches
118 + - 15_all_gcc44_decl-tls-model.patch
119 0.5.6 03 Jun 2013
120 U 35_all_gcc48_config_arm.patches
121 U 37_all_gcc48_config_ia64.patch