rtems.opt: New.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 6 Jan 2011 00:07:32 +0000 (00:07 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Thu, 6 Jan 2011 00:07:32 +0000 (00:07 +0000)
* config/rtems.opt: New.
* config.gcc (*-*-rtems*): Use rtems.opt.

From-SVN: r168529

gcc/ChangeLog
gcc/config.gcc
gcc/config/rtems.opt [new file with mode: 0644]

index f0f2cb64a15f0dcbefbf0c3ad02a744a29622a2e..f23274bcac4da468a16cec79f2f7b04424236860 100644 (file)
@@ -1,3 +1,8 @@
+2011-01-05  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/rtems.opt: New.
+       * config.gcc (*-*-rtems*): Use rtems.opt.
+
 2011-01-05  Changpeng Fang  <changpeng.fang@amd.com>
 
        * config/i386/i386.c (ix86_option_override_internal): Bulldozer
index 81eeb840e15033b8911074453b75651524205f85..03633396d789267eda71c93d9afc98234f49a608 100644 (file)
@@ -1,6 +1,6 @@
 # GCC target-specific configuration file.
 # Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-# 2008, 2009, 2010 Free Software Foundation, Inc.
+# 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
 
 #This file is part of GCC.
 
@@ -653,6 +653,7 @@ case ${target} in
   case ${enable_threads} in
     yes) thread_file='rtems' ;;
   esac
+  extra_options="${extra_options} rtems.opt"
   use_gcc_stdint=wrap
   ;;
 *-*-uclinux*)
diff --git a/gcc/config/rtems.opt b/gcc/config/rtems.opt
new file mode 100644 (file)
index 0000000..053ab8f
--- /dev/null
@@ -0,0 +1,33 @@
+; RTEMS options.
+
+; Copyright (C) 2010, 2011
+; Free Software Foundation, Inc.
+;
+; This file is part of GCC.
+;
+; GCC is free software; you can redistribute it and/or modify it under
+; the terms of the GNU General Public License as published by the Free
+; Software Foundation; either version 3, or (at your option) any later
+; version.
+;
+; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+; WARRANTY; without even the implied warranty of MERCHANTABILITY or
+; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+; for more details.
+;
+; You should have received a copy of the GNU General Public License
+; along with GCC; see the file COPYING3.  If not see
+; <http://www.gnu.org/licenses/>.
+
+; See the GCC internals manual (options.texi) for a description of
+; this file's format.
+
+; Please try to keep this file in ASCII collating order.
+
+qnolinkcmds
+Driver
+
+qrtems
+Driver
+
+; This comment is to ensure we retain the blank line above.