diff mbox

Add VMS options from specs to vms.opt

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

Commit Message

Joseph Myers Jan. 30, 2011, 8:12 p.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 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.

Comments

Tristan Gingold Jan. 31, 2011, 9:16 a.m. UTC | #1
On Jan 30, 2011, at 9:12 PM, Joseph S. Myers wrote:

> 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.

Ok.  And thanks for doing this large work.
diff mbox

Patch

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