diff options
author | Joseph Myers <joseph@codesourcery.com> | 2011-02-08 20:33:40 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2011-02-08 20:33:40 +0000 |
commit | b8e7038e40abdc5b7ba0ee708c23b5e81b6dd9b7 (patch) | |
tree | 4c2d106ece049c47fd8ee31ffc213cfbe647e555 /gcc | |
parent | 846cf392b9b617c4a7c17b7ffc6a8267d3bbbfe9 (diff) | |
download | gcc-b8e7038e40abdc5b7ba0ee708c23b5e81b6dd9b7.zip gcc-b8e7038e40abdc5b7ba0ee708c23b5e81b6dd9b7.tar.gz gcc-b8e7038e40abdc5b7ba0ee708c23b5e81b6dd9b7.tar.bz2 |
gnu-user.opt: New.
* 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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config.gcc | 2 | ||||
-rw-r--r-- | gcc/config/gnu-user.opt | 39 |
3 files changed, 48 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eebe73c..e466d4d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config.gcc b/gcc/config.gcc index c353e80..abb64b6 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 0000000..7624fdf --- /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 +; <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. |