elf.opt: New.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 8 Feb 2011 21:53:51 +0000 (21:53 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 8 Feb 2011 21:53:51 +0000 (21:53 +0000)
* config/vax/elf.opt: New.
* config.gcc (vax-*-linux*, vax-*-netbsdelf*): Use vax/elf.opt.

From-SVN: r169947

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

index d069140998efb0c2e940f61ca6d3e408bcefb552..6b766f095da35abd21bc7b52713df24ad5307ec4 100644 (file)
@@ -1,3 +1,8 @@
+2011-02-08  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/vax/elf.opt: New.
+       * config.gcc (vax-*-linux*, vax-*-netbsdelf*): Use vax/elf.opt.
+
 2011-02-08  Joseph Myers  <joseph@codesourcery.com>
 
        * config/rs6000/aix64.opt (posix, pthread): New Driver options.
index abb64b68d4e085362ab82f2aff8506ed5ece70db..b15e94c0d43cb31cecf3b9f5108980b8d9720b1d 100644 (file)
@@ -2704,11 +2704,12 @@ v850-*-*)
        ;;
 vax-*-linux*)
        tm_file="${tm_file} dbxelf.h elfos.h gnu-user.h linux.h vax/elf.h vax/linux.h"
+       extra_options="${extra_options} vax/elf.opt"
        tmake_file="${tmake_file} vax/t-linux"
        ;;
 vax-*-netbsdelf*)
        tm_file="${tm_file} elfos.h netbsd.h netbsd-elf.h vax/elf.h vax/netbsd-elf.h"
-       extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
+       extra_options="${extra_options} netbsd.opt netbsd-elf.opt vax/elf.opt"
        ;;
 vax-*-netbsd*)
        tm_file="${tm_file} netbsd.h netbsd-aout.h vax/netbsd.h"
diff --git a/gcc/config/vax/elf.opt b/gcc/config/vax/elf.opt
new file mode 100644 (file)
index 0000000..dcf126c
--- /dev/null
@@ -0,0 +1,30 @@
+; VAX 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.
+
+mno-asm-pic
+Driver RejectNegative
+
+; This comment is to ensure we retain the blank line above.