diff options
author | Matthias Maier <tamiko@gentoo.org> | 2017-05-08 20:18:20 +0000 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2017-05-08 20:18:20 +0000 |
commit | c9982c44bd26680fe51317a8558999b4d1de8f0d (patch) | |
tree | e32f4e26ef04ed6576a75d934c23a0cd1b2e1a27 | |
parent | Add patchset ver 1.0 for gcc-7.1.0 (diff) | |
download | gentoo-c9982c44bd26680fe51317a8558999b4d1de8f0d.tar.gz gentoo-c9982c44bd26680fe51317a8558999b4d1de8f0d.tar.bz2 gentoo-c9982c44bd26680fe51317a8558999b4d1de8f0d.zip |
Add patchset ver 1.1 for gcc-7.1.0
In particular fix a stupid typo in 13_all-default-ssp-fix.patch
4 files changed, 4 insertions, 41 deletions
diff --git a/src/patchsets/gcc/7.1.0/gentoo/13_all_default-ssp-fix.patch b/src/patchsets/gcc/7.1.0/gentoo/13_all_default-ssp-fix.patch index 2c8280e9a0..24a92eb3fc 100644 --- a/src/patchsets/gcc/7.1.0/gentoo/13_all_default-ssp-fix.patch +++ b/src/patchsets/gcc/7.1.0/gentoo/13_all_default-ssp-fix.patch @@ -24,7 +24,7 @@ and change the buffer size. %{-help=*:--help=%*}\ %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %b.s}}}\ %{fsyntax-only:-o %j} %{-param*}\ -+ %{nostlib:-nostdlib}\ ++ %{nostdlib:-nostdlib}\ %{coverage:-fprofile-arcs -ftest-coverage}\ %{fprofile-arcs|fprofile-generate*|coverage:\ %{!fprofile-update=single:\ diff --git a/src/patchsets/gcc/7.1.0/gentoo/29_all_arm_armv4t-default.patch b/src/patchsets/gcc/7.1.0/gentoo/29_all_arm_armv4t-default.patch deleted file mode 100644 index 4616cf9ab8..0000000000 --- a/src/patchsets/gcc/7.1.0/gentoo/29_all_arm_armv4t-default.patch +++ /dev/null @@ -1,16 +0,0 @@ -gcc defaults to armv5t for all targets even armv4t - -http://sourceware.org/ml/crossgcc/2008-05/msg00009.html - - ---- a/gcc/config/arm/linux-eabi.h -+++ b/gcc/config/arm/linux-eabi.h -@@ -45,7 +45,7 @@ - The ARM10TDMI core is the default for armv5t, so set - SUBTARGET_CPU_DEFAULT to achieve this. */ - #undef SUBTARGET_CPU_DEFAULT --#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi -+#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi - - /* TARGET_BIG_ENDIAN_DEFAULT is set in - config.gcc for big endian configurations. */ diff --git a/src/patchsets/gcc/7.1.0/gentoo/42_all_superh_default-multilib.patch b/src/patchsets/gcc/7.1.0/gentoo/42_all_superh_default-multilib.patch deleted file mode 100644 index 8b638d9d0a..0000000000 --- a/src/patchsets/gcc/7.1.0/gentoo/42_all_superh_default-multilib.patch +++ /dev/null @@ -1,24 +0,0 @@ -The gcc-3.x toolchains would contain all the targets by default. With gcc-4, -you have to actually list out the multilibs you want or you will end up with -just one when using targets like 'sh4-linux-gnu'. - -The resulting toolchain can't even build a kernel as the kernel needs to build -with the nofpu flag to be sure that no fpu ops are generated. - -Here we restore the gcc-3.x behavior; the additional overhead of building all -of these multilibs by default is negligible. - -https://bugs.gentoo.org/140205 -https://bugs.gentoo.org/320251 - ---- a/gcc/config.gcc -+++ b/gcc/config.gcc -@@ -2455,7 +2455,7 @@ sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \ - if test "$sh_multilibs" = "default" ; then - case ${target} in - sh64-superh-linux* | \ -- sh[1234]*) sh_multilibs=${sh_cpu_target} ;; -+ sh[1234]*) sh_multilibs=$(echo $(sed -n '/^[[:space:]]*case ${sh_multilib} in/,/)/{s:case ${sh_multilib} in::;s: | *:,:g;s:[\\)]::g;p}' ${srcdir}/config.gcc) | sed 's: ::g') ;; - sh64* | sh5*) sh_multilibs=m5-32media,m5-32media-nofpu,m5-compact,m5-compact-nofpu,m5-64media,m5-64media-nofpu ;; - sh-superh-*) sh_multilibs=m4,m4-single,m4-single-only,m4-nofpu ;; - sh*-*-linux*) sh_multilibs=m1,m3e,m4 ;; diff --git a/src/patchsets/gcc/7.1.0/gentoo/README.history b/src/patchsets/gcc/7.1.0/gentoo/README.history index aeb8d53e60..8d85148a0a 100644 --- a/src/patchsets/gcc/7.1.0/gentoo/README.history +++ b/src/patchsets/gcc/7.1.0/gentoo/README.history @@ -1,3 +1,6 @@ +1.1 05 May 2017 + U 13_all_default-ssp-fix.patch + 1.0 05 May 2017 + 10_all_default-fortify-source.patch + 11_all_default-warn-format-security.patch |