aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-02-08 22:52:12 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2011-02-08 22:52:12 +0000
commit4933ae741c34303385b7eb4d8b5177af4c00e499 (patch)
tree2dd35447d300f0386ea9b9ae5dadaadde6c69cad
parent7522a064991a90ac167f51ff021df39975af067d (diff)
downloadgcc-4933ae741c34303385b7eb4d8b5177af4c00e499.zip
gcc-4933ae741c34303385b7eb4d8b5177af4c00e499.tar.gz
gcc-4933ae741c34303385b7eb4d8b5177af4c00e499.tar.bz2
elf.opt: New.
* config/xtensa/elf.opt: New. * config.gcc (xtensa*-*-elf*): Use xtensa/elf.opt. From-SVN: r169949
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config.gcc1
-rw-r--r--gcc/config/xtensa/elf.opt30
3 files changed, 36 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6b766f0..bf6ea45 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config.gcc b/gcc/config.gcc
index b15e94c..cc069cd 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -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
index 0000000..bdeac15
--- /dev/null
+++ b/gcc/config/xtensa/elf.opt
@@ -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.