diff options
author | 2017-05-08 20:32:41 +0000 | |
---|---|---|
committer | 2017-05-08 20:32:41 +0000 | |
commit | b566aea1645b5a99665a3ec02485a31a072bd9f1 (patch) | |
tree | 5eeab38c550fd6b82309cc487d9d9a9dc46d11c5 /7.1.0 | |
parent | Add patchset ver 1.1 for gcc-7.1.0 (diff) | |
download | gcc-patches-b566aea1645b5a99665a3ec02485a31a072bd9f1.tar.gz gcc-patches-b566aea1645b5a99665a3ec02485a31a072bd9f1.tar.bz2 gcc-patches-b566aea1645b5a99665a3ec02485a31a072bd9f1.zip |
Clean up this mess of a patch. Mea culpa
Diffstat (limited to '7.1.0')
-rw-r--r-- | 7.1.0/gentoo/13_all_default-ssp-fix.patch | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/7.1.0/gentoo/13_all_default-ssp-fix.patch b/7.1.0/gentoo/13_all_default-ssp-fix.patch index 24a92eb..d567297 100644 --- a/7.1.0/gentoo/13_all_default-ssp-fix.patch +++ b/7.1.0/gentoo/13_all_default-ssp-fix.patch @@ -18,21 +18,8 @@ and change the buffer size. case OPT_fhosted: flag_hosted = value; flag_no_builtin = !value; ---- a/gcc/gcc.c -+++ b/gcc/gcc.c -@@ -1145,6 +1145,7 @@ - %{-help=*:--help=%*}\ - %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %b.s}}}\ - %{fsyntax-only:-o %j} %{-param*}\ -+ %{nostdlib:-nostdlib}\ - %{coverage:-fprofile-arcs -ftest-coverage}\ - %{fprofile-arcs|fprofile-generate*|coverage:\ - %{!fprofile-update=single:\ -We disable ssp on -nostdlib and -ffreestanding as we did on older gcc -and change the buffer size. - ---- a/gcc/c-family/c.opt 2016-03-23 18:51:56.000000000 +0100 -+++ b/gcc/c-family/c.opt 2016-09-18 18:46:17.071649782 +0200 +--- a/gcc/c-family/c.opt ++++ b/gcc/c-family/c.opt @@ -1647,6 +1647,10 @@ nostdinc++ C++ ObjC++ Do not search standard system include directories for C++. @@ -44,8 +31,18 @@ and change the buffer size. o C ObjC C++ ObjC++ Joined Separate ; Documented in common.opt ---- a/gcc/params.def 2016-03-30 09:47:40.000000000 +0200 -+++ b/gcc/params.def 2016-09-19 12:56:58.443179039 +0200 +--- a/gcc/gcc.c ++++ b/gcc/gcc.c +@@ -1145,6 +1145,7 @@ + %{-help=*:--help=%*}\ + %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %b.s}}}\ + %{fsyntax-only:-o %j} %{-param*}\ ++ %{nostdlib:-nostdlib}\ + %{coverage:-fprofile-arcs -ftest-coverage}\ + %{fprofile-arcs|fprofile-generate*|coverage:\ + %{!fprofile-update=single:\ +--- a/gcc/params.def ++++ b/gcc/params.def @@ -673,7 +673,7 @@ DEFPARAM (PARAM_INTEGER_SHARE_LIMIT, DEFPARAM (PARAM_SSP_BUFFER_SIZE, "ssp-buffer-size", |