From 55d8cecf1d2f0d5fa94085a9923826c8c615bcf8 Mon Sep 17 00:00:00 2001 From: jsm28 Date: Tue, 8 Feb 2011 20:33:40 +0000 Subject: [PATCH] * config/gnu-user.opt: New. * config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu, *-*-uclinux*): Use gnu-user.opt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169942 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 7 +++++++ gcc/config.gcc | 2 ++ gcc/config/gnu-user.opt | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 gcc/config/gnu-user.opt 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 + + * 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 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 +; . + +; 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. -- 2.7.4