OSDN Git Service

* config/xtensa/elf.opt: New.
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Feb 2011 22:52:12 +0000 (22:52 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Feb 2011 22:52:12 +0000 (22:52 +0000)
* config.gcc (xtensa*-*-elf*): Use xtensa/elf.opt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169949 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 6b766f0..bf6ea45 100644 (file)
@@ -1,5 +1,10 @@
 2011-02-08  Joseph Myers  <joseph@codesourcery.com>
 
+       * config/xtensa/elf.opt: New.
+       * config.gcc (xtensa*-*-elf*): Use xtensa/elf.opt.
+
+2011-02-08  Joseph Myers  <joseph@codesourcery.com>
+
        * config/vax/elf.opt: New.
        * config.gcc (vax-*-linux*, vax-*-netbsdelf*): Use vax/elf.opt.
 
index b15e94c..cc069cd 100644 (file)
@@ -2735,6 +2735,7 @@ xstormy16-*-elf)
        ;;
 xtensa*-*-elf*)
        tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h xtensa/elf.h"
+       extra_options="${extra_options} xtensa/elf.opt"
        tmake_file="xtensa/t-xtensa xtensa/t-elf"
        ;;
 xtensa*-*-linux*)
diff --git a/gcc/config/xtensa/elf.opt b/gcc/config/xtensa/elf.opt
new file mode 100644 (file)
index 0000000..bdeac15
--- /dev/null
@@ -0,0 +1,30 @@
+; Xtensa ELF (bare metal) options.
+
+; Copyright (C) 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.
+
+rdynamic
+Driver
+
+; This comment is to ensure we retain the blank line above.