Add IA64 VMS option from specs to new ia64/vms.opt

Joseph S. Myers joseph@codesourcery.com
Wed Feb 2 23:18:00 GMT 2011


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 the -source-listing option from specs in
config/ia64/vms.h to a new ia64/vms.opt.

Tested building cc1 and xgcc for cross to ia64-hp-vms.  OK to commit?

2011-02-02  Joseph Myers  <joseph@codesourcery.com>

	* config/ia64/vms.opt: New.
	* config.gcc (ia64-hp-*vms*): Use ia64/vms.opt.

Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc	(revision 169769)
+++ gcc/config.gcc	(working copy)
@@ -1616,7 +1616,7 @@ ia64-hp-*vms*)
 	fi
 	exeext=.exe
 	install_headers_dir=install-headers-cp
-	extra_options="${extra_options} vms/vms.opt"
+	extra_options="${extra_options} vms/vms.opt ia64/vms.opt"
 	;;
 iq2000*-*-elf*)
         tm_file="elfos.h newlib-stdint.h iq2000/iq2000.h"
Index: gcc/config/ia64/vms.opt
===================================================================
--- gcc/config/ia64/vms.opt	(revision 0)
+++ gcc/config/ia64/vms.opt	(revision 0)
@@ -0,0 +1,30 @@
+; IA64 VMS 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.
+
+source-listing
+Driver
+
+; This comment is to ensure we retain the blank line above.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list