elf.opt: New.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 1 Feb 2011 16:42:51 +0000 (16:42 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 1 Feb 2011 16:42:51 +0000 (16:42 +0000)
* config/alpha/elf.opt: New.
* config.gcc (alpha*-*-linux*, alpha*-*-gnu*, alpha*-*-freebsd*,
alpha*-*-netbsd*, alpha*-*-openbsd*): Use alpha/elf.opt.

From-SVN: r169488

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

index fc3482ccd65fa492ad46985efe31e2448be89a45..492739b58447830497c3ae09eed024f6be06f77e 100644 (file)
@@ -1,3 +1,9 @@
+2011-02-01  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/alpha/elf.opt: New.
+       * config.gcc (alpha*-*-linux*, alpha*-*-gnu*, alpha*-*-freebsd*,
+       alpha*-*-netbsd*, alpha*-*-openbsd*): Use alpha/elf.opt.
+
 2011-02-01  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/47559
index 0715af2470e92b97779553bce884237ed3e03d82..5ae4f970efea3cf39825d03500bf310fa0ae890d 100644 (file)
@@ -695,30 +695,34 @@ case ${target} in
        ;;
 alpha*-*-linux*)
        tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h glibc-stdint.h"
+       extra_options="${extra_options} alpha/elf.opt"
        target_cpu_default="MASK_GAS"
        tmake_file="${tmake_file} alpha/t-crtfm alpha/t-alpha alpha/t-ieee alpha/t-linux"
        ;;
 alpha*-*-gnu*)
        tm_file="$tm_file alpha/elf.h alpha/linux.h alpha/linux-elf.h gnu.h glibc-stdint.h alpha/gnu.h"
+       extra_options="${extra_options} alpha/elf.opt"
        target_cpu_default="MASK_GAS"
        tmake_file="${tmake_file} alpha/t-crtfm alpha/t-alpha alpha/t-ieee"
        ;;
 alpha*-*-freebsd*)
        tm_file="${tm_file} ${fbsd_tm_file} alpha/elf.h alpha/freebsd.h"
+       extra_options="${extra_options} alpha/elf.opt"
        target_cpu_default="MASK_GAS"
        tmake_file="${tmake_file} alpha/t-crtfm alpha/t-alpha alpha/t-ieee"
        extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
        ;;
 alpha*-*-netbsd*)
        tm_file="${tm_file} netbsd.h alpha/elf.h netbsd-elf.h alpha/netbsd.h"
-       extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
+       extra_options="${extra_options} netbsd.opt netbsd-elf.opt \
+                      alpha/elf.opt"
        target_cpu_default="MASK_GAS"
        tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee"
        ;;
 alpha*-*-openbsd*)
        tm_defines="${tm_defines} OBSD_HAS_DECLARE_FUNCTION_NAME OBSD_HAS_DECLARE_FUNCTION_SIZE OBSD_HAS_DECLARE_OBJECT"
        tm_file="alpha/alpha.h alpha/elf.h openbsd.h openbsd-stdint.h alpha/openbsd.h openbsd-libpthread.h"
-       extra_options="${extra_options} openbsd.opt"
+       extra_options="${extra_options} openbsd.opt alpha/elf.opt"
        # default x-alpha is only appropriate for dec-osf.
        target_cpu_default="MASK_GAS"
        tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee"
diff --git a/gcc/config/alpha/elf.opt b/gcc/config/alpha/elf.opt
new file mode 100644 (file)
index 0000000..edafd5d
--- /dev/null
@@ -0,0 +1,30 @@
+; Alpha ELF 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.
+
+relax
+Driver
+
+; This comment is to ensure we retain the blank line above.