From cd33a4123e50fd7e94a359253f4a5b969b64f1a6 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 6 Jan 2011 00:07:32 +0000 Subject: [PATCH] rtems.opt: New. * config/rtems.opt: New. * config.gcc (*-*-rtems*): Use rtems.opt. From-SVN: r168529 --- gcc/ChangeLog | 5 +++++ gcc/config.gcc | 3 ++- gcc/config/rtems.opt | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 gcc/config/rtems.opt diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f0f2cb64a15..f23274bcac4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-01-05 Joseph Myers + + * config/rtems.opt: New. + * config.gcc (*-*-rtems*): Use rtems.opt. + 2011-01-05 Changpeng Fang * config/i386/i386.c (ix86_option_override_internal): Bulldozer diff --git a/gcc/config.gcc b/gcc/config.gcc index 81eeb840e15..03633396d78 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 00000000000..053ab8f096d --- /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 +; . + +; 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. -- 2.30.2