diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eebe73cc731..e466d4dbd6f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2011-02-08 Joseph Myers + + * 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 * config/gnu.h (CPP_SPEC, LIB_SPEC): Remove handling of -bsd option. diff --git a/gcc/config.gcc b/gcc/config.gcc index c353e80eb3e..abb64b68d4e 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -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 index 00000000000..7624fdfd5df --- /dev/null +++ b/gcc/config/gnu-user.opt @@ -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 +; . + +; 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.