From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3EC77138334 for ; Mon, 21 Oct 2019 22:16:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41039E0835; Mon, 21 Oct 2019 22:16:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 168C8E0835 for ; Mon, 21 Oct 2019 22:16:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 93D8834C19E for ; Mon, 21 Oct 2019 22:16:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0CD54891 for ; Mon, 21 Oct 2019 22:16:09 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1571696157.014132dd3c59b9c2978d91e650587ffb1725a12d.slyfox@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: 3.4.6/gentoo/ X-VCS-Repository: proj/gcc-patches X-VCS-Files: 3.4.6/gentoo/01_ppc_gcc34-multi32-hack.patch 3.4.6/gentoo/01_sparc_gcc34-multi32-hack.patch 3.4.6/gentoo/README.history X-VCS-Directories: 3.4.6/gentoo/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 014132dd3c59b9c2978d91e650587ffb1725a12d X-VCS-Branch: master Date: Mon, 21 Oct 2019 22:16:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4cd4ee01-60e9-4e2d-826c-ed2bc340a2e0 X-Archives-Hash: 7f7ef23a42482c1a825e9b9f0ff3e7dd commit: 014132dd3c59b9c2978d91e650587ffb1725a12d Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Oct 21 22:15:57 2019 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Oct 21 22:15:57 2019 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=014132dd 3.4.6: drop arch-conditional patches Signed-off-by: Sergei Trofimovich gentoo.org> 3.4.6/gentoo/01_ppc_gcc34-multi32-hack.patch | 68 -------------------------- 3.4.6/gentoo/01_sparc_gcc34-multi32-hack.patch | 68 -------------------------- 3.4.6/gentoo/README.history | 4 ++ 3 files changed, 4 insertions(+), 136 deletions(-) diff --git a/3.4.6/gentoo/01_ppc_gcc34-multi32-hack.patch b/3.4.6/gentoo/01_ppc_gcc34-multi32-hack.patch deleted file mode 100644 index 1c3ffce..0000000 --- a/3.4.6/gentoo/01_ppc_gcc34-multi32-hack.patch +++ /dev/null @@ -1,68 +0,0 @@ -This is an optimization hack which should only be present -in a sparc 32bit driver of the compiler compiled with -host/target/build sparc64-redhat-linux --with-cpu=v7. -As long long HOST_WIDE_INT slows things down, we can have in -addition to the sparc64-*/3.2/{cc1,cc1plus} -sparc-*/3.2/{cc1,cc1plus} binaries which are suitable for compiling --m32 code only, but use long HOST_WIDE_INT. - ---- gcc/gcc.c.jj 2003-05-15 18:06:04.000000000 -0400 -+++ gcc/gcc.c 2003-05-20 10:31:15.000000000 -0400 -@@ -3084,6 +3084,8 @@ process_command (int argc, const char *c - int have_c = 0; - int have_o = 0; - int lang_n_infiles = 0; -+ int m64 = 0; -+ int used_B = 0; - #ifdef MODIFY_TARGET_NAME - int is_modify_target_name; - int j; -@@ -3602,6 +3604,7 @@ warranty; not even for MERCHANTABILITY o - PREFIX_PRIORITY_B_OPT, 0, &warn_B, 0); - add_prefix (&include_prefixes, concat (value, "include", NULL), - NULL, PREFIX_PRIORITY_B_OPT, 0, NULL, 0); -+ used_B = 1; - n_switches++; - } - break; -@@ -3664,6 +3667,13 @@ warranty; not even for MERCHANTABILITY o - #endif - goto normal_switch; - -+ /* HACK START */ -+ case 'm': -+ if (p[1] == '6' && p[2] == '4') -+ m64 = 1; -+ /* FALLTHROUGH */ -+ /* HACK END */ -+ - default: - normal_switch: - -@@ -3741,6 +3751,26 @@ warranty; not even for MERCHANTABILITY o - /* Use 2 as fourth arg meaning try just the machine as a suffix, - as well as trying the machine and the version. */ - #ifndef OS2 -+ /* HACK START */ -+ if (!m64 && !used_B && !strncmp (spec_machine, "sparc64-", 8)) -+ { -+ const char *sparc32_exec_prefix = -+ concat (standard_libexec_prefix, "sparc-", spec_machine + 8, -+ dir_separator_str, spec_version, dir_separator_str, NULL); -+ add_prefix (&exec_prefixes, sparc32_exec_prefix, "GCC", -+ PREFIX_PRIORITY_LAST, 0, warn_std_ptr, 0); -+ } -+ /* HACK END */ -+ /* HACK START */ -+ if (!m64 && !used_B && !strncmp (spec_machine, "ppc64-", 6)) -+ { -+ const char *ppc32_exec_prefix = -+ concat (standard_libexec_prefix, "ppc-", spec_machine + 6, -+ dir_separator_str, spec_version, dir_separator_str, NULL); -+ add_prefix (&exec_prefixes, ppc32_exec_prefix, "GCC", -+ PREFIX_PRIORITY_LAST, 0, warn_std_ptr, 0); -+ } -+ /* HACK END */ - add_prefix (&exec_prefixes, standard_libexec_prefix, "GCC", - PREFIX_PRIORITY_LAST, 1, warn_std_ptr, 0); - add_prefix (&exec_prefixes, standard_libexec_prefix, "BINUTILS", diff --git a/3.4.6/gentoo/01_sparc_gcc34-multi32-hack.patch b/3.4.6/gentoo/01_sparc_gcc34-multi32-hack.patch deleted file mode 100644 index 1c3ffce..0000000 --- a/3.4.6/gentoo/01_sparc_gcc34-multi32-hack.patch +++ /dev/null @@ -1,68 +0,0 @@ -This is an optimization hack which should only be present -in a sparc 32bit driver of the compiler compiled with -host/target/build sparc64-redhat-linux --with-cpu=v7. -As long long HOST_WIDE_INT slows things down, we can have in -addition to the sparc64-*/3.2/{cc1,cc1plus} -sparc-*/3.2/{cc1,cc1plus} binaries which are suitable for compiling --m32 code only, but use long HOST_WIDE_INT. - ---- gcc/gcc.c.jj 2003-05-15 18:06:04.000000000 -0400 -+++ gcc/gcc.c 2003-05-20 10:31:15.000000000 -0400 -@@ -3084,6 +3084,8 @@ process_command (int argc, const char *c - int have_c = 0; - int have_o = 0; - int lang_n_infiles = 0; -+ int m64 = 0; -+ int used_B = 0; - #ifdef MODIFY_TARGET_NAME - int is_modify_target_name; - int j; -@@ -3602,6 +3604,7 @@ warranty; not even for MERCHANTABILITY o - PREFIX_PRIORITY_B_OPT, 0, &warn_B, 0); - add_prefix (&include_prefixes, concat (value, "include", NULL), - NULL, PREFIX_PRIORITY_B_OPT, 0, NULL, 0); -+ used_B = 1; - n_switches++; - } - break; -@@ -3664,6 +3667,13 @@ warranty; not even for MERCHANTABILITY o - #endif - goto normal_switch; - -+ /* HACK START */ -+ case 'm': -+ if (p[1] == '6' && p[2] == '4') -+ m64 = 1; -+ /* FALLTHROUGH */ -+ /* HACK END */ -+ - default: - normal_switch: - -@@ -3741,6 +3751,26 @@ warranty; not even for MERCHANTABILITY o - /* Use 2 as fourth arg meaning try just the machine as a suffix, - as well as trying the machine and the version. */ - #ifndef OS2 -+ /* HACK START */ -+ if (!m64 && !used_B && !strncmp (spec_machine, "sparc64-", 8)) -+ { -+ const char *sparc32_exec_prefix = -+ concat (standard_libexec_prefix, "sparc-", spec_machine + 8, -+ dir_separator_str, spec_version, dir_separator_str, NULL); -+ add_prefix (&exec_prefixes, sparc32_exec_prefix, "GCC", -+ PREFIX_PRIORITY_LAST, 0, warn_std_ptr, 0); -+ } -+ /* HACK END */ -+ /* HACK START */ -+ if (!m64 && !used_B && !strncmp (spec_machine, "ppc64-", 6)) -+ { -+ const char *ppc32_exec_prefix = -+ concat (standard_libexec_prefix, "ppc-", spec_machine + 6, -+ dir_separator_str, spec_version, dir_separator_str, NULL); -+ add_prefix (&exec_prefixes, ppc32_exec_prefix, "GCC", -+ PREFIX_PRIORITY_LAST, 0, warn_std_ptr, 0); -+ } -+ /* HACK END */ - add_prefix (&exec_prefixes, standard_libexec_prefix, "GCC", - PREFIX_PRIORITY_LAST, 1, warn_std_ptr, 0); - add_prefix (&exec_prefixes, standard_libexec_prefix, "BINUTILS", diff --git a/3.4.6/gentoo/README.history b/3.4.6/gentoo/README.history index fb28ea7..eda899d 100644 --- a/3.4.6/gentoo/README.history +++ b/3.4.6/gentoo/README.history @@ -1,3 +1,7 @@ +3 TODO + - 01_ppc_gcc34-multi32-hack.patch + - 01_sparc_gcc34-multi32-hack.patch + 2 06 Jun 2019 + 93_all_gperf-inline.patch