aboutsummaryrefslogtreecommitdiff
path: root/7.1.0
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2017-05-08 20:18:20 +0000
committerMatthias Maier <tamiko@gentoo.org>2017-05-08 20:18:20 +0000
commit44dd0dad16c60afde865d9e61907da7e3d1101d9 (patch)
treeb985e684082dfa200b1b7ae08b40edf6f7a91b82 /7.1.0
parentAdd patchset ver 1.0 for gcc-7.1.0 (diff)
downloadgcc-patches-44dd0dad16c60afde865d9e61907da7e3d1101d9.tar.gz
gcc-patches-44dd0dad16c60afde865d9e61907da7e3d1101d9.tar.bz2
gcc-patches-44dd0dad16c60afde865d9e61907da7e3d1101d9.zip
Add patchset ver 1.1 for gcc-7.1.0
In particular fix a stupid typo in 13_all-default-ssp-fix.patch
Diffstat (limited to '7.1.0')
-rw-r--r--7.1.0/gentoo/13_all_default-ssp-fix.patch2
-rw-r--r--7.1.0/gentoo/29_all_arm_armv4t-default.patch16
-rw-r--r--7.1.0/gentoo/42_all_superh_default-multilib.patch24
-rw-r--r--7.1.0/gentoo/README.history3
4 files changed, 4 insertions, 41 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 2c8280e..24a92eb 100644
--- a/7.1.0/gentoo/13_all_default-ssp-fix.patch
+++ b/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/7.1.0/gentoo/29_all_arm_armv4t-default.patch b/7.1.0/gentoo/29_all_arm_armv4t-default.patch
deleted file mode 100644
index 4616cf9..0000000
--- a/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/7.1.0/gentoo/42_all_superh_default-multilib.patch b/7.1.0/gentoo/42_all_superh_default-multilib.patch
deleted file mode 100644
index 8b638d9..0000000
--- a/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/7.1.0/gentoo/README.history b/7.1.0/gentoo/README.history
index aeb8d53..8d85148 100644
--- a/7.1.0/gentoo/README.history
+++ b/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