]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gnu-user.opt: New.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 8 Feb 2011 20:33:40 +0000 (20:33 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 8 Feb 2011 20:33:40 +0000 (20:33 +0000)
* config/gnu-user.opt: New.
* config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu |
*-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu,
*-*-uclinux*): Use gnu-user.opt.

From-SVN: r169942

gcc/ChangeLog
gcc/config.gcc
gcc/config/gnu-user.opt [new file with mode: 0644]

index eebe73cc7319cd4a2972e96cf279845840c7bb23..e466d4dbd6f9bd7b76e4aa04d394bdb4edd71f09 100644 (file)
@@ -1,3 +1,10 @@
+2011-02-08  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/gnu-user.opt: New.
+       * config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu |
+       *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu,
+       *-*-uclinux*): Use gnu-user.opt.
+
 2011-02-08  Thomas Schwinge  <thomas@schwinge.name>
 
        * config/gnu.h (CPP_SPEC, LIB_SPEC): Remove handling of -bsd option.
index c353e80eb3e8a1dea403b09d52326a010e725aa2..abb64b68d4e085362ab82f2aff8506ed5ece70db 100644 (file)
@@ -559,6 +559,7 @@ case ${target} in
   use_gcc_stdint=wrap
   ;;
 *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu)
+  extra_options="$extra_options gnu-user.opt"
   extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
   gas=yes
   gnu_ld=yes
@@ -673,6 +674,7 @@ case ${target} in
   use_gcc_stdint=wrap
   ;;
 *-*-uclinux*)
+  extra_options="$extra_options gnu-user.opt"
   use_gcc_stdint=wrap
   tm_defines="$tm_defines DEFAULT_LIBC=LIBC_UCLIBC SINGLE_LIBC"
   ;;
diff --git a/gcc/config/gnu-user.opt b/gcc/config/gnu-user.opt
new file mode 100644 (file)
index 0000000..7624fdf
--- /dev/null
@@ -0,0 +1,39 @@
+; Options for systems using gnu-user.h.
+
+; 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.
+
+posix
+Driver
+
+profile
+Driver
+
+pthread
+Driver
+
+rdynamic
+Driver
+
+; This comment is to ensure we retain the blank line above.