From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-commits+bounces-356695-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Qa7eA-0004o1-EF
	for garchives@archives.gentoo.org; Fri, 24 Jun 2011 14:46:14 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 902811C0FE;
	Fri, 24 Jun 2011 14:45:59 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 45F4D1C0FE
	for <gentoo-commits@lists.gentoo.org>; Fri, 24 Jun 2011 14:45:59 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id A9B231B4028
	for <gentoo-commits@lists.gentoo.org>; Fri, 24 Jun 2011 14:45:58 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id F2B5A8003C
	for <gentoo-commits@lists.gentoo.org>; Fri, 24 Jun 2011 14:45:57 +0000 (UTC)
From: "Magnus Granberg" <zorry@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Magnus Granberg" <zorry@gentoo.org>
Message-ID: <a0963e696b1ee2e4facb77b57da8489c90e8a94e.zorry@gentoo>
Subject: [gentoo-commits] proj/hardened-gccpatchset:master commit in: upstream/
X-VCS-Repository: proj/hardened-gccpatchset
X-VCS-Files: upstream/gcc.c.patch
X-VCS-Directories: upstream/
X-VCS-Committer: zorry
X-VCS-Committer-Name: Magnus Granberg
X-VCS-Revision: a0963e696b1ee2e4facb77b57da8489c90e8a94e
Date: Fri, 24 Jun 2011 14:45:57 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: 42a186a8edeca057623d6df9c238451e

commit:     a0963e696b1ee2e4facb77b57da8489c90e8a94e
Author:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 24 14:45:25 2011 +0000
Commit:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
CommitDate: Fri Jun 24 14:45:25 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/hardened-gccp=
atchset.git;a=3Dcommit;h=3Da0963e69

Added the gcc.c patch for upstream rev 1

---
 upstream/gcc.c.patch |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/upstream/gcc.c.patch b/upstream/gcc.c.patch
new file mode 100644
index 0000000..b1d5e89
--- /dev/null
+++ b/upstream/gcc.c.patch
@@ -0,0 +1,28 @@
+2011-06-24	Magnus Granberg		<zorry@gentoo.org>
+
+		* gcc/gcc.c								include esp.h
+		main():									Add do_self_spec (espf_command_options_spec)
+
+--- gcc/gcc.c	2010-01-21 10:29:30.000000000 -0500
++++ gcc/gcc.c	2010-01-29 23:29:16.000000000 -0500
+@@ -44,6 +44,7 @@
+ #include "flags.h"
+ #include "opts.h"
+ #include "vec.h"
++#include "esp.h" /* for --enable-espf support */
+=20
+ /* By default there is no special suffix for target executables.  */
+ /* FIXME: when autoconf is fixed, remove the host check - dj */
+@@ -7096,6 +7123,12 @@
+     gcc_exec_prefix =3D concat (gcc_exec_prefix, spec_machine, dir_sepa=
rator_str,
+ 			      spec_version, dir_separator_str, NULL);
+=20
++#ifdef ENABLE_ESPF
++  /* Process ESPF_COMMAND_OPTIONS_SPEC, adding any new options to the e=
nd
++     of the command line.  */
++  do_self_spec (espf_command_options_spec);
++#endif
++
+   /* Now we have the specs.
+      Set the `valid' bits for switches that match anything in any spec.=
  */
+=20