Add MicroBlaze options from specs to microblaze.opt

Submitted by Joseph S. Myers on Feb. 3, 2011, 4:58 p.m.

Details

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

Commit Message

Joseph S. Myers Feb. 3, 2011, 4:58 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 various options from specs in microblaze.h to
microblaze.opt.

Tested building cc1 and xgcc for cross to microblaze-elf.  OK to
commit?

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

	* config/microblaze/microblaze.opt (Zxl-mode-bootstrap,
	Zxl-mode-executable, Zxl-mode-novectors, Zxl-mode-xilkernel,
	Zxl-mode-xmdstub, mxl-mode-xilkernel): New Driver options.

Comments

Michael Eager Feb. 3, 2011, 7:54 p.m.
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 various options from specs in microblaze.h to
> microblaze.opt.
> 
> Tested building cc1 and xgcc for cross to microblaze-elf.  OK to
> commit?

OK to commit.

These deprecated options will be removed sometime in the near future.

Patch hide | download patch | download mbox

Index: gcc/config/microblaze/microblaze.opt
===================================================================
--- gcc/config/microblaze/microblaze.opt	(revision 169769)
+++ gcc/config/microblaze/microblaze.opt	(working copy)
@@ -1,6 +1,6 @@ 
 ; Options for the MicroBlaze port of the compiler
 ;
-; Copyright 2009, 2010 Free Software Foundation, Inc.
+; Copyright 2009, 2010, 2011 Free Software Foundation, Inc.
 ;
 ; Contributed by Michael Eager <eager@eagercon.com>.
 ;
@@ -20,6 +20,21 @@ 
 ; along with GCC; see the file COPYING3.  If not see
 ; <http://www.gnu.org/licenses/>.  */
 
+Zxl-mode-bootstrap
+Driver
+
+Zxl-mode-executable
+Driver
+
+Zxl-mode-novectors
+Driver
+
+Zxl-mode-xilkernel
+Driver
+
+Zxl-mode-xmdstub
+Driver
+
 msoft-float
 Target Report RejectNegative Mask(SOFT_FLOAT)
 Use software emulation for floating point (default)
@@ -95,3 +110,6 @@  Description for mxl-mode-bootstrap
 mxl-mode-novectors
 Target Mask(XL_MODE_NOVECTORS)
 Description for mxl-mode-novectors
+
+mxl-mode-xilkernel
+Driver