aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-01-06 00:07:32 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2011-01-06 00:07:32 +0000
commitcd33a4123e50fd7e94a359253f4a5b969b64f1a6 (patch)
tree1f0a0297215aaea14b284dff6fe6197160bac824
parent8c9f4dfa9a54e0909ca196f0ce87f4a193056e85 (diff)
downloadgcc-cd33a4123e50fd7e94a359253f4a5b969b64f1a6.zip
gcc-cd33a4123e50fd7e94a359253f4a5b969b64f1a6.tar.gz
gcc-cd33a4123e50fd7e94a359253f4a5b969b64f1a6.tar.bz2
rtems.opt: New.
* config/rtems.opt: New. * config.gcc (*-*-rtems*): Use rtems.opt. From-SVN: r168529
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config.gcc3
-rw-r--r--gcc/config/rtems.opt33
3 files changed, 40 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f0f2cb6..f23274b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 81eeb84..0363339 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -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
index 0000000..053ab8f
--- /dev/null
+++ b/gcc/config/rtems.opt
@@ -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.