This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Add VMS options from specs to vms.opt


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 -map and -mvms-return-codes options from VMS specs
to config/vms/vms.opt.  (These options would only have worked
previously for driver commands not running cc1, because of all -m*
options being passed down to cc1 automatically.)

Tested building cc1 and xgcc for crosses to: alpha64-dec-vms
alpha-dec-vms ia64-hp-vms.  OK to commit?

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

	* config/vms/vms.opt (map, mvms-return-codes): New Driver options.

Index: gcc/config/vms/vms.opt
===================================================================
--- gcc/config/vms/vms.opt	(revision 169317)
+++ gcc/config/vms/vms.opt	(working copy)
@@ -1,4 +1,4 @@
-; Copyright (C) 2009 Free Software Foundation, Inc.
+; Copyright (C) 2009, 2011 Free Software Foundation, Inc.
 ;
 ; This file is part of GCC.
 ;
@@ -16,6 +16,9 @@
 ; along with GCC; see the file COPYING3.  If not see
 ; <http://www.gnu.org/licenses/>.
 
+map
+Driver RejectNegative
+
 mmalloc64
 Target Report Mask(MALLOC64)
 Malloc data into P2 space
@@ -23,3 +26,6 @@ Malloc data into P2 space
 mdebug-main=
 Target RejectNegative Joined Var(vms_debug_main)
 Set name of main routine for the debugger
+
+mvms-return-codes
+Driver RejectNegative

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]