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
This commit is contained in:
Joseph Myers 2011-02-08 20:33:40 +00:00 committed by Joseph Myers
parent 846cf392b9
commit b8e7038e40
3 changed files with 48 additions and 0 deletions

View 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.

View 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"
;;

39
gcc/config/gnu-user.opt Normal file
View file

@ -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.