Patchwork Add ARC options from specs to arc.opt

login
register
mail settings
Submitter Joseph S. Myers
Date Jan. 31, 2011, 10:37 p.m.
Message ID <Pine.LNX.4.64.1101312236410.12205@digraph.polyomino.org.uk>
Download mbox | patch
Permalink /patch/81245/
State New
Headers show

Comments

Joseph S. Myers - Jan. 31, 2011, 10:37 p.m.
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 arc/arc.h to arc/arc.opt.

Tested building cc1 and xgcc for cross to arc-elf.  Committed as a
preapproved fix to an unmaintained target.

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

	* config/arc/arc.opt (EB, EL): New Driver options.

Patch

Index: gcc/config/arc/arc.opt
===================================================================
--- gcc/config/arc/arc.opt	(revision 169317)
+++ gcc/config/arc/arc.opt	(working copy)
@@ -1,6 +1,6 @@ 
 ; Options for the Argonaut ARC port of the compiler
 ;
-; Copyright (C) 2005, 2007 Free Software Foundation, Inc.
+; Copyright (C) 2005, 2007, 2011 Free Software Foundation, Inc.
 ;
 ; This file is part of GCC.
 ;
@@ -18,6 +18,12 @@ 
 ; along with GCC; see the file COPYING3.  If not see
 ; <http://www.gnu.org/licenses/>.
 
+EB
+Driver
+
+EL
+Driver
+
 malign-loops
 Target Undocumented Report Mask(ALIGN_LOOPS)