Add MicroBlaze options from specs to microblaze.opt

Joseph S. Myers joseph@codesourcery.com
Thu Feb 3 16:58: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 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.

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

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list