diff mbox

Add Tru64 options from specs to new alpha/osf5.opt

Message ID Pine.LNX.4.64.1101310029280.22161@digraph.polyomino.org.uk
State New
Headers show

Commit Message

Joseph Myers Jan. 31, 2011, 12:30 a.m. UTC
In preparation for the driver only accepting options listed in .opt
files, and not other options that simply happen to match some spec,
this patch adds options from specs in alpha/osf5.h to a new
alpha/osf5.opt.

Tested building cc1 and xgcc for cross to alpha-dec-osf5.1.  OK to
commit?

2011-01-30  Joseph Myers  <joseph@codesourcery.com>

	* config/alpha/osf5.opt: New.
	* config.gcc (alpha*-dec-osf5.1*): Use alpha/osf5.opt.

Comments

Rainer Orth Jan. 31, 2011, 4:32 p.m. UTC | #1
"Joseph S. Myers" <joseph@codesourcery.com> writes:

> Index: gcc/config/alpha/osf5.opt
> ===================================================================
> --- gcc/config/alpha/osf5.opt	(revision 0)
> +++ gcc/config/alpha/osf5.opt	(revision 0)
> @@ -0,0 +1,39 @@
> +; Tru64 options.

Tru64 UNIX, please.

> +K
> +Driver
> +
> +pthread
> +Driver
> +
> +taso
> +Driver
> +
> +threads
> +Driver

What about malpha-as, mgas from ASM_SPEC, mno-mips-tfile
(resp. mmips-tfile) from ASM_FINAL_SPEC?

Otherwise ok.

Thanks for doing this.

	Rainer
diff mbox

Patch

Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc	(revision 169317)
+++ gcc/config.gcc	(working copy)
@@ -736,7 +736,7 @@  alpha*-dec-osf5.1*)
 	tmake_file="alpha/t-alpha alpha/t-ieee alpha/t-crtfm alpha/t-osf5"
 	tm_file="${tm_file} alpha/osf5.h"
 	tm_defines="${tm_defines} TARGET_SUPPORT_ARCH=1"
-	extra_options="${extra_options} rpath.opt"
+	extra_options="${extra_options} rpath.opt alpha/osf5.opt"
 	extra_headers=va_list.h
 	use_gcc_stdint=provide
 	case ${enable_threads} in
Index: gcc/config/alpha/osf5.opt
===================================================================
--- gcc/config/alpha/osf5.opt	(revision 0)
+++ gcc/config/alpha/osf5.opt	(revision 0)
@@ -0,0 +1,39 @@ 
+; Tru64 options.
+
+; Copyright (C) 2011
+; Free Software Foundation, Inc.
+;
+; This file is part of GCC.
+;
+; GCC is free software; you can redistribute it and/or modify it under
+; the terms of the GNU General Public License as published by the Free
+; Software Foundation; either version 3, or (at your option) any later
+; version.
+;
+; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+; WARRANTY; without even the implied warranty of MERCHANTABILITY or
+; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+; for more details.
+;
+; You should have received a copy of the GNU General Public License
+; along with GCC; see the file COPYING3.  If not see
+; <http://www.gnu.org/licenses/>.
+
+; See the GCC internals manual (options.texi) for a description of
+; this file's format.
+
+; Please try to keep this file in ASCII collating order.
+
+K
+Driver
+
+pthread
+Driver
+
+taso
+Driver
+
+threads
+Driver
+
+; This comment is to ensure we retain the blank line above.