From 4933ae741c34303385b7eb4d8b5177af4c00e499 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 8 Feb 2011 22:52:12 +0000 Subject: elf.opt: New. * config/xtensa/elf.opt: New. * config.gcc (xtensa*-*-elf*): Use xtensa/elf.opt. From-SVN: r169949 --- gcc/ChangeLog | 5 +++++ gcc/config.gcc | 1 + gcc/config/xtensa/elf.opt | 30 ++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 gcc/config/xtensa/elf.opt (limited to 'gcc') 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 + * config/xtensa/elf.opt: New. + * config.gcc (xtensa*-*-elf*): Use xtensa/elf.opt. + +2011-02-08 Joseph Myers + * 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 +; . + +; 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. -- cgit v1.1