diff options
| author | skrll <skrll@NetBSD.org> | 2006-11-20 17:08:35 +0000 |
|---|---|---|
| committer | skrll <skrll@NetBSD.org> | 2006-11-20 17:08:35 +0000 |
| commit | 768e889c8be080dedeac247a22916dfbf114abf1 (patch) | |
| tree | 08b0c10fc0556bcdb0ee16f3f27201e313663177 /gnu/lib/libstdc++-v3 | |
| parent | 500bebac905ae00be6b1c0dc069123f706cc20a1 (diff) | |
Delete more gcc3 stuff.
Diffstat (limited to 'gnu/lib/libstdc++-v3')
131 files changed, 0 insertions, 67770 deletions
diff --git a/gnu/lib/libstdc++-v3/Makefile b/gnu/lib/libstdc++-v3/Makefile deleted file mode 100644 index 0fde3c8d2c3..00000000000 --- a/gnu/lib/libstdc++-v3/Makefile +++ /dev/null @@ -1,61 +0,0 @@ -# $NetBSD: Makefile,v 1.6 2003/12/21 07:05:25 mrg Exp $ - -REQUIRETOOLS= yes -NOLINT= # defined - -.include <bsd.own.mk> - -LIB= stdc++ - -.if exists(${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk) && ${MKGCC} != "no" -.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk" - -SHLIB_MAJOR= 5 -SHLIB_MINOR= 0 - -SUBDIR= include - -INCS= c++config.h -INCSDIR= /usr/include/g++ - -.include "${.CURDIR}/../libsupc++/Makefile.common" - -SRCS= ${LIBMATHSRCS} ${LIBSUPCXXSRCS} ${LIBSTDCXXSRCS} -# affects profiling; can't switch it off just for profiling easily. -#CXXFLAGS+= ${G_SECTION_FLAGS} -#CXXFLAGS+= -ffunction-sections -fdata-sections -CXXFLAGS+= -fno-implicit-templates -fdiagnostics-show-location=once - -CONF= ${DIST}/libstdc++-v3/config - -BUILDSYMLINKS+= ${CONF}/io/basic_file_stdio.cc basic_file.cc \ - ${CONF}/locale/generic/c_locale.cc c++locale.cc - -GLIBCPP_INCLUDE_DIR= ${DESTDIR}/usr/include/g++ - -COPTS.concept-inst.cc= -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -CPPFLAGS.strstream.cc= -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated - -# XXX -MKDEPFLAGS+= -I$(GLIBCPP_INCLUDE_DIR)/backward - -.include <bsd.lib.mk> -.include <bsd.subdir.mk> -.include <bsd.info.mk> - -.PATH: ${DIST}/libstdc++-v3/src \ - ${DIST}/libstdc++-v3/libmath \ - ${DIST}/libstdc++-v3/libsupc++ \ - ${DIST}/libiberty \ - ${CONF}/locale/generic \ - ${.CURDIR}/arch/${MACHINE_ARCH} - -${OBJS}: ${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk -.else -.include <bsd.prog.mk> # do nothing -.endif - -.if (${OBJECT_FMT} == "a.out") -LDADD= ${DESTDIR}/usr/lib/c++rt0.o -DPADD= ${DESTDIR}/usr/lib/c++rt0.o -.endif diff --git a/gnu/lib/libstdc++-v3/arch/alpha/c++config.h b/gnu/lib/libstdc++-v3/arch/alpha/c++config.h deleted file mode 100644 index a73086022ad..00000000000 --- a/gnu/lib/libstdc++-v3/arch/alpha/c++config.h +++ /dev/null @@ -1,1228 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -// Predefined symbols and macros -*- C++ -*- - -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -// Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) -// any later version. - -// This library 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 this library; see the file COPYING. If not, write to the Free -// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _CPP_CPPCONFIG -#define _CPP_CPPCONFIG 1 - -// Pick up any OS-specific definitions. -#include <bits/os_defines.h> - -// The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20050503 - -// This is necessary until GCC supports separate template compilation. -#define _GLIBCPP_NO_TEMPLATE_EXPORT 1 - -// This is a hack around not having either pre-compiled headers or -// export compilation. If defined, the io, string, and valarray -// headers will include all the necessary bits. If not defined, the -// implementation optimizes the headers for the most commonly-used -// types. For the io library, this means that larger, out-of-line -// member functions are only declared, and definitions are not parsed -// by the compiler, but instead instantiated into the library binary. -#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1 - -// Allow use of the GNU syntax extension, "extern template." This -// extension is fully documented in the g++ manual, but in a nutshell, -// it inhibits all implicit instantiations and is used throughout the -// library to avoid multiple weak definitions for required types that -// are already explicitly instantiated in the library binary. This -// substantially reduces the binary size of resulting executables. -#ifndef _GLIBCPP_EXTERN_TEMPLATE -#define _GLIBCPP_EXTERN_TEMPLATE 1 -#endif - -// To enable older, ARM-style iostreams and other anachronisms use this. -//#define _GLIBCPP_DEPRECATED 1 - -// Use corrected code from the committee library group's issues list. -#define _GLIBCPP_RESOLVE_LIB_DEFECTS 1 - -// Hopefully temporary workaround to autoconf/m4 issue with quoting '@'. -#define _GLIBCPP_AT_AT "@@" - -// In those parts of the standard C++ library that use a mutex instead -// of a spin-lock, we now unconditionally use GCC's gthr.h mutex -// abstraction layer. All support to directly map to various -// threading models has been removed. Note: gthr.h may well map to -// gthr-single.h which is a correct way to express no threads support -// in gcc. Support for the undocumented _NOTHREADS has been removed. - -// Default to the typically high-speed, pool-based allocator (as -// libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3 -// snapshots). See libstdc++-v3/docs/html/17_intro/howto.html for -// details on why you don't want to override this setting. Ensure -// that threads are properly configured on your platform before -// assigning blame to the STL container-memory allocator. After doing -// so, please report any possible issues to libstdc++@gcc.gnu.org . -// Do not define __USE_MALLOC on the command line. Enforce it here: -#ifdef __USE_MALLOC -#error __USE_MALLOC should never be defined. Read the release notes. -#endif - -// Create a boolean flag to be used to determine if --fast-math is set. -#ifdef __FAST_MATH__ -#define _GLIBCPP_FAST_MATH 1 -#else -#define _GLIBCPP_FAST_MATH 0 -#endif - -// The remainder of the prewritten config is mostly automatic; all the -// user hooks are listed above. - -// End of prewritten config; the discovered settings follow. -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define _GLIBCPP_HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define _GLIBCPP_HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef _GLIBCPP_HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define _GLIBCPP_HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define _GLIBCPP_HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef _GLIBCPP_HAVE_MODFL */ - -// Define if you have the expf function. -#define _GLIBCPP_HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef _GLIBCPP_HAVE_EXPL */ - -// Define if you have the hypotf function. -#define _GLIBCPP_HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef _GLIBCPP_HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef _GLIBCPP_HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef _GLIBCPP_HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef _GLIBCPP_HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef _GLIBCPP_HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef _GLIBCPP_HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define _GLIBCPP_HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef _GLIBCPP_HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef _GLIBCPP_HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef _GLIBCPP_HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef _GLIBCPP_HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef _GLIBCPP_HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef _GLIBCPP_HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef _GLIBCPP_HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef _GLIBCPP_HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef _GLIBCPP_HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef _GLIBCPP_HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef _GLIBCPP_HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef _GLIBCPP_HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef _GLIBCPP_HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef _GLIBCPP_HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef _GLIBCPP_HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef _GLIBCPP_HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef _GLIBCPP_HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef _GLIBCPP_HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef _GLIBCPP_HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef _GLIBCPP_HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef _GLIBCPP_HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef _GLIBCPP_HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef _GLIBCPP_HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef _GLIBCPP_HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef _GLIBCPP_HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef _GLIBCPP_HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef _GLIBCPP_HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef _GLIBCPP_HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef _GLIBCPP_HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef _GLIBCPP_HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef _GLIBCPP_HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef _GLIBCPP_HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef _GLIBCPP_HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef _GLIBCPP_HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef _GLIBCPP_HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef _GLIBCPP_HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef _GLIBCPP_HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef _GLIBCPP_HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef _GLIBCPP_HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef _GLIBCPP_HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef _GLIBCPP_HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef _GLIBCPP_HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef _GLIBCPP_HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef _GLIBCPP_HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef _GLIBCPP_HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef _GLIBCPP_HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef _GLIBCPP_HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef _GLIBCPP_HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef _GLIBCPP_HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef _GLIBCPP_HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef _GLIBCPP_HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef _GLIBCPP_HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef _GLIBCPP_HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef _GLIBCPP_HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef _GLIBCPP_HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef _GLIBCPP_HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef _GLIBCPP_HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef _GLIBCPP_HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef _GLIBCPP_HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef _GLIBCPP_HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef _GLIBCPP_HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef _GLIBCPP_HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define _GLIBCPP_HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef _GLIBCPP_HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define _GLIBCPP_HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef _GLIBCPP_HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define _GLIBCPP_HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef _GLIBCPP_HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define _GLIBCPP_HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef _GLIBCPP_HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define _GLIBCPP_HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define _GLIBCPP_HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef _GLIBCPP_HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define _GLIBCPP_HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define _GLIBCPP_HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef _GLIBCPP_HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define _GLIBCPP_HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define _GLIBCPP_HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef _GLIBCPP_HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef _GLIBCPP_HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define _GLIBCPP_HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef _GLIBCPP_HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define _GLIBCPP_HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef _GLIBCPP_HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define _GLIBCPP_HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define _GLIBCPP_HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define _GLIBCPP_HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define _GLIBCPP_HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef _GLIBCPP_HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define _GLIBCPP_HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef _GLIBCPP_HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define _GLIBCPP_HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef _GLIBCPP_HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef _GLIBCPP_HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define _GLIBCPP_HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define _GLIBCPP_HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define _GLIBCPP_HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef _GLIBCPP_HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define _GLIBCPP_HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define _GLIBCPP_HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define _GLIBCPP_HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define _GLIBCPP_HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define _GLIBCPP_HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef _GLIBCPP_HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define _GLIBCPP_HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define _GLIBCPP_HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define _GLIBCPP_HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define _GLIBCPP_HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef _GLIBCPP_HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define _GLIBCPP_HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define _GLIBCPP_HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef _GLIBCPP_HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define _GLIBCPP_HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define _GLIBCPP_HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef _GLIBCPP_HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define _GLIBCPP_HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef _GLIBCPP_HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define _GLIBCPP_HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef _GLIBCPP_HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define _GLIBCPP_HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef _GLIBCPP_HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define _GLIBCPP_HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define _GLIBCPP_HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define _GLIBCPP_HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define _GLIBCPP_HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define _GLIBCPP_HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef _GLIBCPP_HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define _GLIBCPP_HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define _GLIBCPP_HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define _GLIBCPP_HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef _GLIBCPP_HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define _GLIBCPP_HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define _GLIBCPP_HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef _GLIBCPP_HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef _GLIBCPP_HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef _GLIBCPP_HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef _GLIBCPP_HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef _GLIBCPP_HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define _GLIBCPP_HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define _GLIBCPP_HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef _GLIBCPP_HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef _GLIBCPP_HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define _GLIBCPP_HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef _GLIBCPP_HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define _GLIBCPP_HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define _GLIBCPP_HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define _GLIBCPP_HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define _GLIBCPP_HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define _GLIBCPP_HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define _GLIBCPP_HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef _GLIBCPP_HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef _GLIBCPP_HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define _GLIBCPP_HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define _GLIBCPP_HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define _GLIBCPP_HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define _GLIBCPP_HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define _GLIBCPP_HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define _GLIBCPP_HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define _GLIBCPP_HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define _GLIBCPP_HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define _GLIBCPP_HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define _GLIBCPP_HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define _GLIBCPP_HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define _GLIBCPP_HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define _GLIBCPP_HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define _GLIBCPP_HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define _GLIBCPP_HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define _GLIBCPP_HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define _GLIBCPP_HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define _GLIBCPP_HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define _GLIBCPP_HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define _GLIBCPP_HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define _GLIBCPP_HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define _GLIBCPP_HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define _GLIBCPP_HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define _GLIBCPP_HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define _GLIBCPP_HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define _GLIBCPP_HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define _GLIBCPP_HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define _GLIBCPP_HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define _GLIBCPP_HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define _GLIBCPP_HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define _GLIBCPP_HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define _GLIBCPP_HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define _GLIBCPP_HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define _GLIBCPP_HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define _GLIBCPP_HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define _GLIBCPP_HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define _GLIBCPP_HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define _GLIBCPP_HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef _GLIBCPP_HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define _GLIBCPP_HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef _GLIBCPP_HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef _GLIBCPP_HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define _GLIBCPP_HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define _GLIBCPP_HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define _GLIBCPP_HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef _GLIBCPP_HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define _GLIBCPP_HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define _GLIBCPP_HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define _GLIBCPP_HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef _GLIBCPP_HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define _GLIBCPP_HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define _GLIBCPP_HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define _GLIBCPP_HAVE_LIBM 1 - -/* Name of package */ -#define _GLIBCPP_PACKAGE "libstdc++" - -/* Version number of package */ -#define _GLIBCPP_VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (_GLIBCPP_HAVE__ISNAN) && ! defined (_GLIBCPP_HAVE_ISNAN) -# define _GLIBCPP_HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (_GLIBCPP_HAVE__ISNANF) && ! defined (_GLIBCPP_HAVE_ISNANF) -# define _GLIBCPP_HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (_GLIBCPP_HAVE__ISNANL) && ! defined (_GLIBCPP_HAVE_ISNANL) -# define _GLIBCPP_HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (_GLIBCPP_HAVE__ISINF) && ! defined (_GLIBCPP_HAVE_ISINF) -# define _GLIBCPP_HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (_GLIBCPP_HAVE__ISINFF) && ! defined (_GLIBCPP_HAVE_ISINFF) -# define _GLIBCPP_HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (_GLIBCPP_HAVE__ISINFL) && ! defined (_GLIBCPP_HAVE_ISINFL) -# define _GLIBCPP_HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGN) && ! defined (_GLIBCPP_HAVE_COPYSIGN) -# define _GLIBCPP_HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGNL) && ! defined (_GLIBCPP_HAVE_COPYSIGNL) -# define _GLIBCPP_HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (_GLIBCPP_HAVE__COSF) && ! defined (_GLIBCPP_HAVE_COSF) -# define _GLIBCPP_HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSF) && ! defined (_GLIBCPP_HAVE_ACOSF) -# define _GLIBCPP_HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSL) && ! defined (_GLIBCPP_HAVE_ACOSL) -# define _GLIBCPP_HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (_GLIBCPP_HAVE__ASINF) && ! defined (_GLIBCPP_HAVE_ASINF) -# define _GLIBCPP_HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (_GLIBCPP_HAVE__ASINL) && ! defined (_GLIBCPP_HAVE_ASINL) -# define _GLIBCPP_HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (_GLIBCPP_HAVE__ATANF) && ! defined (_GLIBCPP_HAVE_ATANF) -# define _GLIBCPP_HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (_GLIBCPP_HAVE__ATANL) && ! defined (_GLIBCPP_HAVE_ATANL) -# define _GLIBCPP_HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (_GLIBCPP_HAVE__CEILF) && ! defined (_GLIBCPP_HAVE_CEILF) -# define _GLIBCPP_HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (_GLIBCPP_HAVE__CEILL) && ! defined (_GLIBCPP_HAVE_CEILL) -# define _GLIBCPP_HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (_GLIBCPP_HAVE__COSHF) && ! defined (_GLIBCPP_HAVE_COSHF) -# define _GLIBCPP_HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (_GLIBCPP_HAVE__COSL) && ! defined (_GLIBCPP_HAVE_COSL) -# define _GLIBCPP_HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (_GLIBCPP_HAVE__LOGF) && ! defined (_GLIBCPP_HAVE_LOGF) -# define _GLIBCPP_HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (_GLIBCPP_HAVE__COSHL) && ! defined (_GLIBCPP_HAVE_COSHL) -# define _GLIBCPP_HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (_GLIBCPP_HAVE__EXPF) && ! defined (_GLIBCPP_HAVE_EXPF) -# define _GLIBCPP_HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (_GLIBCPP_HAVE__EXPL) && ! defined (_GLIBCPP_HAVE_EXPL) -# define _GLIBCPP_HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (_GLIBCPP_HAVE__FABSF) && ! defined (_GLIBCPP_HAVE_FABSF) -# define _GLIBCPP_HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (_GLIBCPP_HAVE__FABSL) && ! defined (_GLIBCPP_HAVE_FABSL) -# define _GLIBCPP_HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (_GLIBCPP_HAVE__FLOORF) && ! defined (_GLIBCPP_HAVE_FLOORF) -# define _GLIBCPP_HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (_GLIBCPP_HAVE__FLOORL) && ! defined (_GLIBCPP_HAVE_FLOORL) -# define _GLIBCPP_HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (_GLIBCPP_HAVE__FMODF) && ! defined (_GLIBCPP_HAVE_FMODF) -# define _GLIBCPP_HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (_GLIBCPP_HAVE__FMODL) && ! defined (_GLIBCPP_HAVE_FMODL) -# define _GLIBCPP_HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (_GLIBCPP_HAVE__FREXPF) && ! defined (_GLIBCPP_HAVE_FREXPF) -# define _GLIBCPP_HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (_GLIBCPP_HAVE__FREXPL) && ! defined (_GLIBCPP_HAVE_FREXPL) -# define _GLIBCPP_HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPF) && ! defined (_GLIBCPP_HAVE_LDEXPF) -# define _GLIBCPP_HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPL) && ! defined (_GLIBCPP_HAVE_LDEXPL) -# define _GLIBCPP_HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (_GLIBCPP_HAVE__LOG10F) && ! defined (_GLIBCPP_HAVE_LOG10F) -# define _GLIBCPP_HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (_GLIBCPP_HAVE__LOGL) && ! defined (_GLIBCPP_HAVE_LOGL) -# define _GLIBCPP_HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (_GLIBCPP_HAVE__POWF) && ! defined (_GLIBCPP_HAVE_POWF) -# define _GLIBCPP_HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (_GLIBCPP_HAVE__LOG10L) && ! defined (_GLIBCPP_HAVE_LOG10L) -# define _GLIBCPP_HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (_GLIBCPP_HAVE__MODF) && ! defined (_GLIBCPP_HAVE_MODF) -# define _GLIBCPP_HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (_GLIBCPP_HAVE__MODL) && ! defined (_GLIBCPP_HAVE_MODL) -# define _GLIBCPP_HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (_GLIBCPP_HAVE__SINF) && ! defined (_GLIBCPP_HAVE_SINF) -# define _GLIBCPP_HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (_GLIBCPP_HAVE__POWL) && ! defined (_GLIBCPP_HAVE_POWL) -# define _GLIBCPP_HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (_GLIBCPP_HAVE__SINHF) && ! defined (_GLIBCPP_HAVE_SINHF) -# define _GLIBCPP_HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (_GLIBCPP_HAVE__SINL) && ! defined (_GLIBCPP_HAVE_SINL) -# define _GLIBCPP_HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (_GLIBCPP_HAVE__SQRTF) && ! defined (_GLIBCPP_HAVE_SQRTF) -# define _GLIBCPP_HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (_GLIBCPP_HAVE__SINHL) && ! defined (_GLIBCPP_HAVE_SINHL) -# define _GLIBCPP_HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (_GLIBCPP_HAVE__TANF) && ! defined (_GLIBCPP_HAVE_TANF) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__SQRTL) && ! defined (_GLIBCPP_HAVE_SQRTL) -# define _GLIBCPP_HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (_GLIBCPP_HAVE__TANHF) && ! defined (_GLIBCPP_HAVE_TANHF) -# define _GLIBCPP_HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (_GLIBCPP_HAVE__TANL) && ! defined (_GLIBCPP_HAVE_TANL) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__STRTOF) && ! defined (_GLIBCPP_HAVE_STRTOF) -# define _GLIBCPP_HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (_GLIBCPP_HAVE__TANHL) && ! defined (_GLIBCPP_HAVE_TANHL) -# define _GLIBCPP_HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (_GLIBCPP_HAVE__STRTOLD) && ! defined (_GLIBCPP_HAVE_STRTOLD) -# define _GLIBCPP_HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (_GLIBCPP_HAVE__SINCOS) && ! defined (_GLIBCPP_HAVE_SINCOS) -# define _GLIBCPP_HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSF) && ! defined (_GLIBCPP_HAVE_SINCOSF) -# define _GLIBCPP_HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSL) && ! defined (_GLIBCPP_HAVE_SINCOSL) -# define _GLIBCPP_HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (_GLIBCPP_HAVE__FINITE) && ! defined (_GLIBCPP_HAVE_FINITE) -# define _GLIBCPP_HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (_GLIBCPP_HAVE__FINITEF) && ! defined (_GLIBCPP_HAVE_FINITEF) -# define _GLIBCPP_HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (_GLIBCPP_HAVE__FINITEL) && ! defined (_GLIBCPP_HAVE_FINITEL) -# define _GLIBCPP_HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (_GLIBCPP_HAVE__QFINITE) && ! defined (_GLIBCPP_HAVE_QFINITE) -# define _GLIBCPP_HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (_GLIBCPP_HAVE__FPCLASS) && ! defined (_GLIBCPP_HAVE_FPCLASS) -# define _GLIBCPP_HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (_GLIBCPP_HAVE__QFPCLASS) && ! defined (_GLIBCPP_HAVE_QFPCLASS) -# define _GLIBCPP_HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - -#endif // _CPP_CPPCONFIG_ diff --git a/gnu/lib/libstdc++-v3/arch/alpha/config.h b/gnu/lib/libstdc++-v3/arch/alpha/config.h deleted file mode 100644 index 02ea4f7a34a..00000000000 --- a/gnu/lib/libstdc++-v3/arch/alpha/config.h +++ /dev/null @@ -1,1127 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef HAVE_MODFL */ - -// Define if you have the expf function. -#define HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef HAVE_EXPL */ - -// Define if you have the hypotf function. -#define HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define HAVE_LIBM 1 - -/* Name of package */ -#define PACKAGE "libstdc++" - -/* Version number of package */ -#define VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) -# define HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) -# define HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) -# define HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) -# define HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) -# define HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) -# define HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN) -# define HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL) -# define HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (HAVE__COSF) && ! defined (HAVE_COSF) -# define HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) -# define HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) -# define HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) -# define HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) -# define HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) -# define HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) -# define HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) -# define HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) -# define HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) -# define HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (HAVE__COSL) && ! defined (HAVE_COSL) -# define HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) -# define HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) -# define HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) -# define HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) -# define HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) -# define HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) -# define HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) -# define HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) -# define HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) -# define HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) -# define HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) -# define HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) -# define HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) -# define HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) -# define HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) -# define HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (HAVE__POWF) && ! defined (HAVE_POWF) -# define HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) -# define HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (HAVE__MODF) && ! defined (HAVE_MODF) -# define HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (HAVE__MODL) && ! defined (HAVE_MODL) -# define HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (HAVE__SINF) && ! defined (HAVE_SINF) -# define HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (HAVE__POWL) && ! defined (HAVE_POWL) -# define HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) -# define HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (HAVE__SINL) && ! defined (HAVE_SINL) -# define HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) -# define HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) -# define HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (HAVE__TANF) && ! defined (HAVE_TANF) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) -# define HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) -# define HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (HAVE__TANL) && ! defined (HAVE_TANL) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) -# define HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) -# define HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) -# define HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) -# define HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) -# define HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) -# define HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) -# define HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) -# define HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) -# define HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE) -# define HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) -# define HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) -# define HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - diff --git a/gnu/lib/libstdc++-v3/arch/alpha/defs.mk b/gnu/lib/libstdc++-v3/arch/alpha/defs.mk deleted file mode 100644 index e66862c1dc6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/alpha/defs.mk +++ /dev/null @@ -1,18 +0,0 @@ -# This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp -# -G_libmath_la_SOURCES=stubs.c -G_libmath_la_LIBADD=signbit.lo -G_LIBSUPCXX_SOURCES=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc -G_LIBSUPCXX_C_SOURCES=cxa_demangle.c dyn-string.c -G_SRC_SOURCES=bitset.cc codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc vterminate.cc wstring-inst.cc codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc basic_file.cc c++locale.cc -G_SECTION_FLAGS=-ffunction-sections -fdata-sections -G_c_base_headers_rename=cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype -G_std_headers_rename=algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector -G_bits_headers=basic_ios.h basic_ios.tcc basic_string.h basic_string.tcc boost_concept_check.h char_traits.h codecvt.h concept_check.h cpp_type_traits.h deque.tcc fpos.h fstream.tcc functexcept.h gslice.h gslice_array.h indirect_array.h ios_base.h istream.tcc list.tcc locale_classes.h locale_facets.h locale_facets.tcc localefwd.h mask_array.h ostream.tcc pthread_allocimpl.h stream_iterator.h streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h stl_algobase.h stl_alloc.h stl_bvector.h stl_construct.h stl_deque.h stl_function.h stl_heap.h stl_iterator.h stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h stl_queue.h stl_raw_storage_iter.h stl_relops.h stl_set.h stl_stack.h stl_tempbuf.h stl_threads.h stl_tree.h stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h type_traits.h valarray_array.h valarray_array.tcc valarray_meta.h vector.tcc -G_backward_headers=complex.h iomanip.h istream.h ostream.h stream.h streambuf.h algo.h algobase.h alloc.h bvector.h defalloc.h deque.h function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h iterator.h list.h map.h multimap.h new.h multiset.h pair.h queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h vector.h fstream.h strstream backward_warning.h -G_ext_headers=algorithm enc_filebuf.h stdio_filebuf.h functional hash_map hash_set iterator memory numeric rb_tree rope ropeimpl.h slist stl_hash_fun.h stl_hashtable.h stl_rope.h -G_c_base_headers_extra=cmath.tcc -G_target_headers=ctype_base.h ctype_inline.h ctype_noninline.h os_defines.h atomicity.h -G_thread_target_headers=gthr.h gthr-single.h gthr-posix.h gthr-default.h -G_target_headers_extra=basic_file.h c++config.h c++io.h c++locale.h messages_members.h time_members.h codecvt_specializations.h diff --git a/gnu/lib/libstdc++-v3/arch/alpha/gthr-default.h b/gnu/lib/libstdc++-v3/arch/alpha/gthr-default.h deleted file mode 100644 index 6d49ac3e797..00000000000 --- a/gnu/lib/libstdc++-v3/arch/alpha/gthr-default.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/alpha/gthr-posix.h b/gnu/lib/libstdc++-v3/arch/alpha/gthr-posix.h deleted file mode 100644 index 205fa9e2190..00000000000 --- a/gnu/lib/libstdc++-v3/arch/alpha/gthr-posix.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/alpha/gthr-single.h b/gnu/lib/libstdc++-v3/arch/alpha/gthr-single.h deleted file mode 100644 index 6fa2b1ed699..00000000000 --- a/gnu/lib/libstdc++-v3/arch/alpha/gthr-single.h +++ /dev/null @@ -1,242 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H -#define _GLIBCPP_GCC_GTHR_SINGLE_H - -/* Just provide compatibility for mutex handling. */ - -typedef int __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT 0 - -#ifdef __cplusplus -#define _GLIBCPP_UNUSED(x) -#else -#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) -#endif - -#ifdef _LIBOBJC - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) -{ - /* No thread support available */ - return NULL; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) -{ - /* No thread support available */ - return -1; -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - return; -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - /* No thread support available */ - /* Should we really exit the program */ - /* exit (&__objc_thread_exit_status); */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - /* No thread support, use 1. */ - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - thread_local_storage = value; - return 0; -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), - objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - return 0; -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -#endif /* _LIBOBJC */ - -#undef _GLIBCPP_UNUSED - -#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/alpha/gthr.h b/gnu/lib/libstdc++-v3/arch/alpha/gthr.h deleted file mode 100644 index d463cf98ec6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/alpha/gthr.h +++ /dev/null @@ -1,108 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1998 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_H -#define _GLIBCPP_GCC_GTHR_H - -/* If this file is compiled with threads support, it must - #define __GTHREADS 1 - to indicate that threads support is present. Also it has define - function - int __gthread_active_p () - that returns 1 if thread system is active, 0 if not. - - The threads interface must define the following types: - __gthread_key_t - __gthread_once_t - __gthread_mutex_t - - The threads interface must define the following macros: - - __GTHREAD_ONCE_INIT - to initialize __gthread_once_t - __GTHREAD_MUTEX_INIT - to initialize __gthread_mutex_t to get a fast - non-recursive mutex. - __GTHREAD_MUTEX_INIT_FUNCTION - some systems can't initialize a mutex without a - function call. On such systems, define this to a - function which looks like this: - void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *) - Don't define __GTHREAD_MUTEX_INIT in this case - - The threads interface must define the following static functions: - - int __gthread_once (__gthread_once_t *once, void (*func) ()) - - int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *)) - int __gthread_key_delete (__gthread_key_t key) - - int __gthread_key_dtor (__gthread_key_t key, void *ptr) - - void *__gthread_getspecific (__gthread_key_t key) - int __gthread_setspecific (__gthread_key_t key, const void *ptr) - - int __gthread_mutex_lock (__gthread_mutex_t *mutex); - int __gthread_mutex_trylock (__gthread_mutex_t *mutex); - int __gthread_mutex_unlock (__gthread_mutex_t *mutex); - - All functions returning int should return zero on success or the error - number. If the operation is not supported, -1 is returned. - - Currently supported threads packages are - POSIX threads with -D_PTHREADS - DCE threads with -D_DCE_THREADS - Solaris/UI threads with -D_SOLARIS_THREADS -*/ - -/* Check first for thread specific defines. */ -#if _GLIBCPP__PTHREADS -#include <bits/gthr-posix.h> -#elif _GLIBCPP__DCE_THREADS -#include <bits/gthr-dce.h> -#elif _GLIBCPP__SOLARIS_THREADS -#include <bits/gthr-solaris.h> - -/* Include GTHREAD_FILE if one is defined. */ -#elif defined(_GLIBCPP_HAVE_GTHR_DEFAULT) -#if _GLIBCPP_SUPPORTS_WEAK -#ifndef _GLIBCPP_GTHREAD_USE_WEAK -#define _GLIBCPP_GTHREAD_USE_WEAK 1 -#endif -#endif -#include <bits/gthr-default.h> - -/* Fallback to single thread definitions. */ -#else -#include <bits/gthr-single.h> -#endif - -#endif /* ! _GLIBCPP_GCC_GTHR_H */ diff --git a/gnu/lib/libstdc++-v3/arch/arm/c++config.h b/gnu/lib/libstdc++-v3/arch/arm/c++config.h deleted file mode 100644 index d910d11ba51..00000000000 --- a/gnu/lib/libstdc++-v3/arch/arm/c++config.h +++ /dev/null @@ -1,1228 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -// Predefined symbols and macros -*- C++ -*- - -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -// Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) -// any later version. - -// This library 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 this library; see the file COPYING. If not, write to the Free -// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _CPP_CPPCONFIG -#define _CPP_CPPCONFIG 1 - -// Pick up any OS-specific definitions. -#include <bits/os_defines.h> - -// The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20050503 - -// This is necessary until GCC supports separate template compilation. -#define _GLIBCPP_NO_TEMPLATE_EXPORT 1 - -// This is a hack around not having either pre-compiled headers or -// export compilation. If defined, the io, string, and valarray -// headers will include all the necessary bits. If not defined, the -// implementation optimizes the headers for the most commonly-used -// types. For the io library, this means that larger, out-of-line -// member functions are only declared, and definitions are not parsed -// by the compiler, but instead instantiated into the library binary. -#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1 - -// Allow use of the GNU syntax extension, "extern template." This -// extension is fully documented in the g++ manual, but in a nutshell, -// it inhibits all implicit instantiations and is used throughout the -// library to avoid multiple weak definitions for required types that -// are already explicitly instantiated in the library binary. This -// substantially reduces the binary size of resulting executables. -#ifndef _GLIBCPP_EXTERN_TEMPLATE -#define _GLIBCPP_EXTERN_TEMPLATE 1 -#endif - -// To enable older, ARM-style iostreams and other anachronisms use this. -//#define _GLIBCPP_DEPRECATED 1 - -// Use corrected code from the committee library group's issues list. -#define _GLIBCPP_RESOLVE_LIB_DEFECTS 1 - -// Hopefully temporary workaround to autoconf/m4 issue with quoting '@'. -#define _GLIBCPP_AT_AT "@@" - -// In those parts of the standard C++ library that use a mutex instead -// of a spin-lock, we now unconditionally use GCC's gthr.h mutex -// abstraction layer. All support to directly map to various -// threading models has been removed. Note: gthr.h may well map to -// gthr-single.h which is a correct way to express no threads support -// in gcc. Support for the undocumented _NOTHREADS has been removed. - -// Default to the typically high-speed, pool-based allocator (as -// libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3 -// snapshots). See libstdc++-v3/docs/html/17_intro/howto.html for -// details on why you don't want to override this setting. Ensure -// that threads are properly configured on your platform before -// assigning blame to the STL container-memory allocator. After doing -// so, please report any possible issues to libstdc++@gcc.gnu.org . -// Do not define __USE_MALLOC on the command line. Enforce it here: -#ifdef __USE_MALLOC -#error __USE_MALLOC should never be defined. Read the release notes. -#endif - -// Create a boolean flag to be used to determine if --fast-math is set. -#ifdef __FAST_MATH__ -#define _GLIBCPP_FAST_MATH 1 -#else -#define _GLIBCPP_FAST_MATH 0 -#endif - -// The remainder of the prewritten config is mostly automatic; all the -// user hooks are listed above. - -// End of prewritten config; the discovered settings follow. -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define _GLIBCPP_HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define _GLIBCPP_HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef _GLIBCPP_HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define _GLIBCPP_HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define _GLIBCPP_HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef _GLIBCPP_HAVE_MODFL */ - -// Define if you have the expf function. -#define _GLIBCPP_HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef _GLIBCPP_HAVE_EXPL */ - -// Define if you have the hypotf function. -#define _GLIBCPP_HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef _GLIBCPP_HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef _GLIBCPP_HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef _GLIBCPP_HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef _GLIBCPP_HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef _GLIBCPP_HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef _GLIBCPP_HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define _GLIBCPP_HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef _GLIBCPP_HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef _GLIBCPP_HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef _GLIBCPP_HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef _GLIBCPP_HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef _GLIBCPP_HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef _GLIBCPP_HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef _GLIBCPP_HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef _GLIBCPP_HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef _GLIBCPP_HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef _GLIBCPP_HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef _GLIBCPP_HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef _GLIBCPP_HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef _GLIBCPP_HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef _GLIBCPP_HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef _GLIBCPP_HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef _GLIBCPP_HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef _GLIBCPP_HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef _GLIBCPP_HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef _GLIBCPP_HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef _GLIBCPP_HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef _GLIBCPP_HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef _GLIBCPP_HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef _GLIBCPP_HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef _GLIBCPP_HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef _GLIBCPP_HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef _GLIBCPP_HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef _GLIBCPP_HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef _GLIBCPP_HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef _GLIBCPP_HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef _GLIBCPP_HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef _GLIBCPP_HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef _GLIBCPP_HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef _GLIBCPP_HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef _GLIBCPP_HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef _GLIBCPP_HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef _GLIBCPP_HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef _GLIBCPP_HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef _GLIBCPP_HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef _GLIBCPP_HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef _GLIBCPP_HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef _GLIBCPP_HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef _GLIBCPP_HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef _GLIBCPP_HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef _GLIBCPP_HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef _GLIBCPP_HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef _GLIBCPP_HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef _GLIBCPP_HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef _GLIBCPP_HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef _GLIBCPP_HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef _GLIBCPP_HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef _GLIBCPP_HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef _GLIBCPP_HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef _GLIBCPP_HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef _GLIBCPP_HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef _GLIBCPP_HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef _GLIBCPP_HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef _GLIBCPP_HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef _GLIBCPP_HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef _GLIBCPP_HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef _GLIBCPP_HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef _GLIBCPP_HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef _GLIBCPP_HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define _GLIBCPP_HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef _GLIBCPP_HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define _GLIBCPP_HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef _GLIBCPP_HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define _GLIBCPP_HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef _GLIBCPP_HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define _GLIBCPP_HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef _GLIBCPP_HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define _GLIBCPP_HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define _GLIBCPP_HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef _GLIBCPP_HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define _GLIBCPP_HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define _GLIBCPP_HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef _GLIBCPP_HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define _GLIBCPP_HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define _GLIBCPP_HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef _GLIBCPP_HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef _GLIBCPP_HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define _GLIBCPP_HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef _GLIBCPP_HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define _GLIBCPP_HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef _GLIBCPP_HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define _GLIBCPP_HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define _GLIBCPP_HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define _GLIBCPP_HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define _GLIBCPP_HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef _GLIBCPP_HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define _GLIBCPP_HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef _GLIBCPP_HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define _GLIBCPP_HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef _GLIBCPP_HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef _GLIBCPP_HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define _GLIBCPP_HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define _GLIBCPP_HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define _GLIBCPP_HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef _GLIBCPP_HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define _GLIBCPP_HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define _GLIBCPP_HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define _GLIBCPP_HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define _GLIBCPP_HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define _GLIBCPP_HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef _GLIBCPP_HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define _GLIBCPP_HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define _GLIBCPP_HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define _GLIBCPP_HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define _GLIBCPP_HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef _GLIBCPP_HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define _GLIBCPP_HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define _GLIBCPP_HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef _GLIBCPP_HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define _GLIBCPP_HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define _GLIBCPP_HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef _GLIBCPP_HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define _GLIBCPP_HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef _GLIBCPP_HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define _GLIBCPP_HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef _GLIBCPP_HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define _GLIBCPP_HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef _GLIBCPP_HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define _GLIBCPP_HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define _GLIBCPP_HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define _GLIBCPP_HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define _GLIBCPP_HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define _GLIBCPP_HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef _GLIBCPP_HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define _GLIBCPP_HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define _GLIBCPP_HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define _GLIBCPP_HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef _GLIBCPP_HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define _GLIBCPP_HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define _GLIBCPP_HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef _GLIBCPP_HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef _GLIBCPP_HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef _GLIBCPP_HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef _GLIBCPP_HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef _GLIBCPP_HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define _GLIBCPP_HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define _GLIBCPP_HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef _GLIBCPP_HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef _GLIBCPP_HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define _GLIBCPP_HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef _GLIBCPP_HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define _GLIBCPP_HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define _GLIBCPP_HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define _GLIBCPP_HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define _GLIBCPP_HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define _GLIBCPP_HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define _GLIBCPP_HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef _GLIBCPP_HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef _GLIBCPP_HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define _GLIBCPP_HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define _GLIBCPP_HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define _GLIBCPP_HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define _GLIBCPP_HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define _GLIBCPP_HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define _GLIBCPP_HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define _GLIBCPP_HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define _GLIBCPP_HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define _GLIBCPP_HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define _GLIBCPP_HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define _GLIBCPP_HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define _GLIBCPP_HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define _GLIBCPP_HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define _GLIBCPP_HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define _GLIBCPP_HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define _GLIBCPP_HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define _GLIBCPP_HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define _GLIBCPP_HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define _GLIBCPP_HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define _GLIBCPP_HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define _GLIBCPP_HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define _GLIBCPP_HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define _GLIBCPP_HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define _GLIBCPP_HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define _GLIBCPP_HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define _GLIBCPP_HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define _GLIBCPP_HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define _GLIBCPP_HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define _GLIBCPP_HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define _GLIBCPP_HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define _GLIBCPP_HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define _GLIBCPP_HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define _GLIBCPP_HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define _GLIBCPP_HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define _GLIBCPP_HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define _GLIBCPP_HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define _GLIBCPP_HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define _GLIBCPP_HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef _GLIBCPP_HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define _GLIBCPP_HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef _GLIBCPP_HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef _GLIBCPP_HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define _GLIBCPP_HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define _GLIBCPP_HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define _GLIBCPP_HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef _GLIBCPP_HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define _GLIBCPP_HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define _GLIBCPP_HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define _GLIBCPP_HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef _GLIBCPP_HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define _GLIBCPP_HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define _GLIBCPP_HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define _GLIBCPP_HAVE_LIBM 1 - -/* Name of package */ -#define _GLIBCPP_PACKAGE "libstdc++" - -/* Version number of package */ -#define _GLIBCPP_VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -#define _GLIBCPP_SJLJ_EXCEPTIONS 1 - -/* Define if sigsetjmp is available. */ -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (_GLIBCPP_HAVE__ISNAN) && ! defined (_GLIBCPP_HAVE_ISNAN) -# define _GLIBCPP_HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (_GLIBCPP_HAVE__ISNANF) && ! defined (_GLIBCPP_HAVE_ISNANF) -# define _GLIBCPP_HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (_GLIBCPP_HAVE__ISNANL) && ! defined (_GLIBCPP_HAVE_ISNANL) -# define _GLIBCPP_HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (_GLIBCPP_HAVE__ISINF) && ! defined (_GLIBCPP_HAVE_ISINF) -# define _GLIBCPP_HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (_GLIBCPP_HAVE__ISINFF) && ! defined (_GLIBCPP_HAVE_ISINFF) -# define _GLIBCPP_HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (_GLIBCPP_HAVE__ISINFL) && ! defined (_GLIBCPP_HAVE_ISINFL) -# define _GLIBCPP_HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGN) && ! defined (_GLIBCPP_HAVE_COPYSIGN) -# define _GLIBCPP_HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGNL) && ! defined (_GLIBCPP_HAVE_COPYSIGNL) -# define _GLIBCPP_HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (_GLIBCPP_HAVE__COSF) && ! defined (_GLIBCPP_HAVE_COSF) -# define _GLIBCPP_HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSF) && ! defined (_GLIBCPP_HAVE_ACOSF) -# define _GLIBCPP_HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSL) && ! defined (_GLIBCPP_HAVE_ACOSL) -# define _GLIBCPP_HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (_GLIBCPP_HAVE__ASINF) && ! defined (_GLIBCPP_HAVE_ASINF) -# define _GLIBCPP_HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (_GLIBCPP_HAVE__ASINL) && ! defined (_GLIBCPP_HAVE_ASINL) -# define _GLIBCPP_HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (_GLIBCPP_HAVE__ATANF) && ! defined (_GLIBCPP_HAVE_ATANF) -# define _GLIBCPP_HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (_GLIBCPP_HAVE__ATANL) && ! defined (_GLIBCPP_HAVE_ATANL) -# define _GLIBCPP_HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (_GLIBCPP_HAVE__CEILF) && ! defined (_GLIBCPP_HAVE_CEILF) -# define _GLIBCPP_HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (_GLIBCPP_HAVE__CEILL) && ! defined (_GLIBCPP_HAVE_CEILL) -# define _GLIBCPP_HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (_GLIBCPP_HAVE__COSHF) && ! defined (_GLIBCPP_HAVE_COSHF) -# define _GLIBCPP_HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (_GLIBCPP_HAVE__COSL) && ! defined (_GLIBCPP_HAVE_COSL) -# define _GLIBCPP_HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (_GLIBCPP_HAVE__LOGF) && ! defined (_GLIBCPP_HAVE_LOGF) -# define _GLIBCPP_HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (_GLIBCPP_HAVE__COSHL) && ! defined (_GLIBCPP_HAVE_COSHL) -# define _GLIBCPP_HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (_GLIBCPP_HAVE__EXPF) && ! defined (_GLIBCPP_HAVE_EXPF) -# define _GLIBCPP_HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (_GLIBCPP_HAVE__EXPL) && ! defined (_GLIBCPP_HAVE_EXPL) -# define _GLIBCPP_HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (_GLIBCPP_HAVE__FABSF) && ! defined (_GLIBCPP_HAVE_FABSF) -# define _GLIBCPP_HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (_GLIBCPP_HAVE__FABSL) && ! defined (_GLIBCPP_HAVE_FABSL) -# define _GLIBCPP_HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (_GLIBCPP_HAVE__FLOORF) && ! defined (_GLIBCPP_HAVE_FLOORF) -# define _GLIBCPP_HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (_GLIBCPP_HAVE__FLOORL) && ! defined (_GLIBCPP_HAVE_FLOORL) -# define _GLIBCPP_HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (_GLIBCPP_HAVE__FMODF) && ! defined (_GLIBCPP_HAVE_FMODF) -# define _GLIBCPP_HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (_GLIBCPP_HAVE__FMODL) && ! defined (_GLIBCPP_HAVE_FMODL) -# define _GLIBCPP_HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (_GLIBCPP_HAVE__FREXPF) && ! defined (_GLIBCPP_HAVE_FREXPF) -# define _GLIBCPP_HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (_GLIBCPP_HAVE__FREXPL) && ! defined (_GLIBCPP_HAVE_FREXPL) -# define _GLIBCPP_HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPF) && ! defined (_GLIBCPP_HAVE_LDEXPF) -# define _GLIBCPP_HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPL) && ! defined (_GLIBCPP_HAVE_LDEXPL) -# define _GLIBCPP_HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (_GLIBCPP_HAVE__LOG10F) && ! defined (_GLIBCPP_HAVE_LOG10F) -# define _GLIBCPP_HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (_GLIBCPP_HAVE__LOGL) && ! defined (_GLIBCPP_HAVE_LOGL) -# define _GLIBCPP_HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (_GLIBCPP_HAVE__POWF) && ! defined (_GLIBCPP_HAVE_POWF) -# define _GLIBCPP_HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (_GLIBCPP_HAVE__LOG10L) && ! defined (_GLIBCPP_HAVE_LOG10L) -# define _GLIBCPP_HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (_GLIBCPP_HAVE__MODF) && ! defined (_GLIBCPP_HAVE_MODF) -# define _GLIBCPP_HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (_GLIBCPP_HAVE__MODL) && ! defined (_GLIBCPP_HAVE_MODL) -# define _GLIBCPP_HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (_GLIBCPP_HAVE__SINF) && ! defined (_GLIBCPP_HAVE_SINF) -# define _GLIBCPP_HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (_GLIBCPP_HAVE__POWL) && ! defined (_GLIBCPP_HAVE_POWL) -# define _GLIBCPP_HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (_GLIBCPP_HAVE__SINHF) && ! defined (_GLIBCPP_HAVE_SINHF) -# define _GLIBCPP_HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (_GLIBCPP_HAVE__SINL) && ! defined (_GLIBCPP_HAVE_SINL) -# define _GLIBCPP_HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (_GLIBCPP_HAVE__SQRTF) && ! defined (_GLIBCPP_HAVE_SQRTF) -# define _GLIBCPP_HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (_GLIBCPP_HAVE__SINHL) && ! defined (_GLIBCPP_HAVE_SINHL) -# define _GLIBCPP_HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (_GLIBCPP_HAVE__TANF) && ! defined (_GLIBCPP_HAVE_TANF) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__SQRTL) && ! defined (_GLIBCPP_HAVE_SQRTL) -# define _GLIBCPP_HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (_GLIBCPP_HAVE__TANHF) && ! defined (_GLIBCPP_HAVE_TANHF) -# define _GLIBCPP_HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (_GLIBCPP_HAVE__TANL) && ! defined (_GLIBCPP_HAVE_TANL) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__STRTOF) && ! defined (_GLIBCPP_HAVE_STRTOF) -# define _GLIBCPP_HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (_GLIBCPP_HAVE__TANHL) && ! defined (_GLIBCPP_HAVE_TANHL) -# define _GLIBCPP_HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (_GLIBCPP_HAVE__STRTOLD) && ! defined (_GLIBCPP_HAVE_STRTOLD) -# define _GLIBCPP_HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (_GLIBCPP_HAVE__SINCOS) && ! defined (_GLIBCPP_HAVE_SINCOS) -# define _GLIBCPP_HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSF) && ! defined (_GLIBCPP_HAVE_SINCOSF) -# define _GLIBCPP_HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSL) && ! defined (_GLIBCPP_HAVE_SINCOSL) -# define _GLIBCPP_HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (_GLIBCPP_HAVE__FINITE) && ! defined (_GLIBCPP_HAVE_FINITE) -# define _GLIBCPP_HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (_GLIBCPP_HAVE__FINITEF) && ! defined (_GLIBCPP_HAVE_FINITEF) -# define _GLIBCPP_HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (_GLIBCPP_HAVE__FINITEL) && ! defined (_GLIBCPP_HAVE_FINITEL) -# define _GLIBCPP_HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (_GLIBCPP_HAVE__QFINITE) && ! defined (_GLIBCPP_HAVE_QFINITE) -# define _GLIBCPP_HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (_GLIBCPP_HAVE__FPCLASS) && ! defined (_GLIBCPP_HAVE_FPCLASS) -# define _GLIBCPP_HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (_GLIBCPP_HAVE__QFPCLASS) && ! defined (_GLIBCPP_HAVE_QFPCLASS) -# define _GLIBCPP_HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - -#endif // _CPP_CPPCONFIG_ diff --git a/gnu/lib/libstdc++-v3/arch/arm/config.h b/gnu/lib/libstdc++-v3/arch/arm/config.h deleted file mode 100644 index 575aed2db24..00000000000 --- a/gnu/lib/libstdc++-v3/arch/arm/config.h +++ /dev/null @@ -1,1127 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef HAVE_MODFL */ - -// Define if you have the expf function. -#define HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef HAVE_EXPL */ - -// Define if you have the hypotf function. -#define HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define HAVE_LIBM 1 - -/* Name of package */ -#define PACKAGE "libstdc++" - -/* Version number of package */ -#define VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -#define _GLIBCPP_SJLJ_EXCEPTIONS 1 - -/* Define if sigsetjmp is available. */ -/* #undef HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) -# define HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) -# define HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) -# define HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) -# define HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) -# define HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) -# define HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN) -# define HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL) -# define HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (HAVE__COSF) && ! defined (HAVE_COSF) -# define HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) -# define HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) -# define HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) -# define HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) -# define HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) -# define HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) -# define HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) -# define HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) -# define HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) -# define HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (HAVE__COSL) && ! defined (HAVE_COSL) -# define HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) -# define HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) -# define HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) -# define HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) -# define HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) -# define HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) -# define HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) -# define HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) -# define HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) -# define HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) -# define HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) -# define HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) -# define HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) -# define HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) -# define HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) -# define HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (HAVE__POWF) && ! defined (HAVE_POWF) -# define HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) -# define HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (HAVE__MODF) && ! defined (HAVE_MODF) -# define HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (HAVE__MODL) && ! defined (HAVE_MODL) -# define HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (HAVE__SINF) && ! defined (HAVE_SINF) -# define HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (HAVE__POWL) && ! defined (HAVE_POWL) -# define HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) -# define HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (HAVE__SINL) && ! defined (HAVE_SINL) -# define HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) -# define HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) -# define HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (HAVE__TANF) && ! defined (HAVE_TANF) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) -# define HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) -# define HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (HAVE__TANL) && ! defined (HAVE_TANL) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) -# define HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) -# define HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) -# define HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) -# define HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) -# define HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) -# define HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) -# define HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) -# define HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) -# define HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE) -# define HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) -# define HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) -# define HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - diff --git a/gnu/lib/libstdc++-v3/arch/arm/defs.mk b/gnu/lib/libstdc++-v3/arch/arm/defs.mk deleted file mode 100644 index e66862c1dc6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/arm/defs.mk +++ /dev/null @@ -1,18 +0,0 @@ -# This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp -# -G_libmath_la_SOURCES=stubs.c -G_libmath_la_LIBADD=signbit.lo -G_LIBSUPCXX_SOURCES=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc -G_LIBSUPCXX_C_SOURCES=cxa_demangle.c dyn-string.c -G_SRC_SOURCES=bitset.cc codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc vterminate.cc wstring-inst.cc codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc basic_file.cc c++locale.cc -G_SECTION_FLAGS=-ffunction-sections -fdata-sections -G_c_base_headers_rename=cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype -G_std_headers_rename=algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector -G_bits_headers=basic_ios.h basic_ios.tcc basic_string.h basic_string.tcc boost_concept_check.h char_traits.h codecvt.h concept_check.h cpp_type_traits.h deque.tcc fpos.h fstream.tcc functexcept.h gslice.h gslice_array.h indirect_array.h ios_base.h istream.tcc list.tcc locale_classes.h locale_facets.h locale_facets.tcc localefwd.h mask_array.h ostream.tcc pthread_allocimpl.h stream_iterator.h streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h stl_algobase.h stl_alloc.h stl_bvector.h stl_construct.h stl_deque.h stl_function.h stl_heap.h stl_iterator.h stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h stl_queue.h stl_raw_storage_iter.h stl_relops.h stl_set.h stl_stack.h stl_tempbuf.h stl_threads.h stl_tree.h stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h type_traits.h valarray_array.h valarray_array.tcc valarray_meta.h vector.tcc -G_backward_headers=complex.h iomanip.h istream.h ostream.h stream.h streambuf.h algo.h algobase.h alloc.h bvector.h defalloc.h deque.h function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h iterator.h list.h map.h multimap.h new.h multiset.h pair.h queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h vector.h fstream.h strstream backward_warning.h -G_ext_headers=algorithm enc_filebuf.h stdio_filebuf.h functional hash_map hash_set iterator memory numeric rb_tree rope ropeimpl.h slist stl_hash_fun.h stl_hashtable.h stl_rope.h -G_c_base_headers_extra=cmath.tcc -G_target_headers=ctype_base.h ctype_inline.h ctype_noninline.h os_defines.h atomicity.h -G_thread_target_headers=gthr.h gthr-single.h gthr-posix.h gthr-default.h -G_target_headers_extra=basic_file.h c++config.h c++io.h c++locale.h messages_members.h time_members.h codecvt_specializations.h diff --git a/gnu/lib/libstdc++-v3/arch/arm/gthr-default.h b/gnu/lib/libstdc++-v3/arch/arm/gthr-default.h deleted file mode 100644 index 4e720ae28e4..00000000000 --- a/gnu/lib/libstdc++-v3/arch/arm/gthr-default.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.6 2003/08/01 02:44:56 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/arm/gthr-posix.h b/gnu/lib/libstdc++-v3/arch/arm/gthr-posix.h deleted file mode 100644 index 205fa9e2190..00000000000 --- a/gnu/lib/libstdc++-v3/arch/arm/gthr-posix.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/arm/gthr-single.h b/gnu/lib/libstdc++-v3/arch/arm/gthr-single.h deleted file mode 100644 index 6fa2b1ed699..00000000000 --- a/gnu/lib/libstdc++-v3/arch/arm/gthr-single.h +++ /dev/null @@ -1,242 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H -#define _GLIBCPP_GCC_GTHR_SINGLE_H - -/* Just provide compatibility for mutex handling. */ - -typedef int __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT 0 - -#ifdef __cplusplus -#define _GLIBCPP_UNUSED(x) -#else -#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) -#endif - -#ifdef _LIBOBJC - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) -{ - /* No thread support available */ - return NULL; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) -{ - /* No thread support available */ - return -1; -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - return; -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - /* No thread support available */ - /* Should we really exit the program */ - /* exit (&__objc_thread_exit_status); */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - /* No thread support, use 1. */ - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - thread_local_storage = value; - return 0; -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), - objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - return 0; -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -#endif /* _LIBOBJC */ - -#undef _GLIBCPP_UNUSED - -#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/arm/gthr.h b/gnu/lib/libstdc++-v3/arch/arm/gthr.h deleted file mode 100644 index d463cf98ec6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/arm/gthr.h +++ /dev/null @@ -1,108 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1998 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_H -#define _GLIBCPP_GCC_GTHR_H - -/* If this file is compiled with threads support, it must - #define __GTHREADS 1 - to indicate that threads support is present. Also it has define - function - int __gthread_active_p () - that returns 1 if thread system is active, 0 if not. - - The threads interface must define the following types: - __gthread_key_t - __gthread_once_t - __gthread_mutex_t - - The threads interface must define the following macros: - - __GTHREAD_ONCE_INIT - to initialize __gthread_once_t - __GTHREAD_MUTEX_INIT - to initialize __gthread_mutex_t to get a fast - non-recursive mutex. - __GTHREAD_MUTEX_INIT_FUNCTION - some systems can't initialize a mutex without a - function call. On such systems, define this to a - function which looks like this: - void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *) - Don't define __GTHREAD_MUTEX_INIT in this case - - The threads interface must define the following static functions: - - int __gthread_once (__gthread_once_t *once, void (*func) ()) - - int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *)) - int __gthread_key_delete (__gthread_key_t key) - - int __gthread_key_dtor (__gthread_key_t key, void *ptr) - - void *__gthread_getspecific (__gthread_key_t key) - int __gthread_setspecific (__gthread_key_t key, const void *ptr) - - int __gthread_mutex_lock (__gthread_mutex_t *mutex); - int __gthread_mutex_trylock (__gthread_mutex_t *mutex); - int __gthread_mutex_unlock (__gthread_mutex_t *mutex); - - All functions returning int should return zero on success or the error - number. If the operation is not supported, -1 is returned. - - Currently supported threads packages are - POSIX threads with -D_PTHREADS - DCE threads with -D_DCE_THREADS - Solaris/UI threads with -D_SOLARIS_THREADS -*/ - -/* Check first for thread specific defines. */ -#if _GLIBCPP__PTHREADS -#include <bits/gthr-posix.h> -#elif _GLIBCPP__DCE_THREADS -#include <bits/gthr-dce.h> -#elif _GLIBCPP__SOLARIS_THREADS -#include <bits/gthr-solaris.h> - -/* Include GTHREAD_FILE if one is defined. */ -#elif defined(_GLIBCPP_HAVE_GTHR_DEFAULT) -#if _GLIBCPP_SUPPORTS_WEAK -#ifndef _GLIBCPP_GTHREAD_USE_WEAK -#define _GLIBCPP_GTHREAD_USE_WEAK 1 -#endif -#endif -#include <bits/gthr-default.h> - -/* Fallback to single thread definitions. */ -#else -#include <bits/gthr-single.h> -#endif - -#endif /* ! _GLIBCPP_GCC_GTHR_H */ diff --git a/gnu/lib/libstdc++-v3/arch/armeb/c++config.h b/gnu/lib/libstdc++-v3/arch/armeb/c++config.h deleted file mode 100644 index d910d11ba51..00000000000 --- a/gnu/lib/libstdc++-v3/arch/armeb/c++config.h +++ /dev/null @@ -1,1228 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -// Predefined symbols and macros -*- C++ -*- - -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -// Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) -// any later version. - -// This library 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 this library; see the file COPYING. If not, write to the Free -// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _CPP_CPPCONFIG -#define _CPP_CPPCONFIG 1 - -// Pick up any OS-specific definitions. -#include <bits/os_defines.h> - -// The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20050503 - -// This is necessary until GCC supports separate template compilation. -#define _GLIBCPP_NO_TEMPLATE_EXPORT 1 - -// This is a hack around not having either pre-compiled headers or -// export compilation. If defined, the io, string, and valarray -// headers will include all the necessary bits. If not defined, the -// implementation optimizes the headers for the most commonly-used -// types. For the io library, this means that larger, out-of-line -// member functions are only declared, and definitions are not parsed -// by the compiler, but instead instantiated into the library binary. -#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1 - -// Allow use of the GNU syntax extension, "extern template." This -// extension is fully documented in the g++ manual, but in a nutshell, -// it inhibits all implicit instantiations and is used throughout the -// library to avoid multiple weak definitions for required types that -// are already explicitly instantiated in the library binary. This -// substantially reduces the binary size of resulting executables. -#ifndef _GLIBCPP_EXTERN_TEMPLATE -#define _GLIBCPP_EXTERN_TEMPLATE 1 -#endif - -// To enable older, ARM-style iostreams and other anachronisms use this. -//#define _GLIBCPP_DEPRECATED 1 - -// Use corrected code from the committee library group's issues list. -#define _GLIBCPP_RESOLVE_LIB_DEFECTS 1 - -// Hopefully temporary workaround to autoconf/m4 issue with quoting '@'. -#define _GLIBCPP_AT_AT "@@" - -// In those parts of the standard C++ library that use a mutex instead -// of a spin-lock, we now unconditionally use GCC's gthr.h mutex -// abstraction layer. All support to directly map to various -// threading models has been removed. Note: gthr.h may well map to -// gthr-single.h which is a correct way to express no threads support -// in gcc. Support for the undocumented _NOTHREADS has been removed. - -// Default to the typically high-speed, pool-based allocator (as -// libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3 -// snapshots). See libstdc++-v3/docs/html/17_intro/howto.html for -// details on why you don't want to override this setting. Ensure -// that threads are properly configured on your platform before -// assigning blame to the STL container-memory allocator. After doing -// so, please report any possible issues to libstdc++@gcc.gnu.org . -// Do not define __USE_MALLOC on the command line. Enforce it here: -#ifdef __USE_MALLOC -#error __USE_MALLOC should never be defined. Read the release notes. -#endif - -// Create a boolean flag to be used to determine if --fast-math is set. -#ifdef __FAST_MATH__ -#define _GLIBCPP_FAST_MATH 1 -#else -#define _GLIBCPP_FAST_MATH 0 -#endif - -// The remainder of the prewritten config is mostly automatic; all the -// user hooks are listed above. - -// End of prewritten config; the discovered settings follow. -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define _GLIBCPP_HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define _GLIBCPP_HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef _GLIBCPP_HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define _GLIBCPP_HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define _GLIBCPP_HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef _GLIBCPP_HAVE_MODFL */ - -// Define if you have the expf function. -#define _GLIBCPP_HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef _GLIBCPP_HAVE_EXPL */ - -// Define if you have the hypotf function. -#define _GLIBCPP_HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef _GLIBCPP_HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef _GLIBCPP_HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef _GLIBCPP_HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef _GLIBCPP_HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef _GLIBCPP_HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef _GLIBCPP_HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define _GLIBCPP_HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef _GLIBCPP_HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef _GLIBCPP_HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef _GLIBCPP_HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef _GLIBCPP_HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef _GLIBCPP_HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef _GLIBCPP_HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef _GLIBCPP_HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef _GLIBCPP_HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef _GLIBCPP_HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef _GLIBCPP_HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef _GLIBCPP_HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef _GLIBCPP_HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef _GLIBCPP_HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef _GLIBCPP_HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef _GLIBCPP_HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef _GLIBCPP_HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef _GLIBCPP_HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef _GLIBCPP_HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef _GLIBCPP_HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef _GLIBCPP_HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef _GLIBCPP_HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef _GLIBCPP_HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef _GLIBCPP_HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef _GLIBCPP_HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef _GLIBCPP_HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef _GLIBCPP_HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef _GLIBCPP_HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef _GLIBCPP_HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef _GLIBCPP_HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef _GLIBCPP_HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef _GLIBCPP_HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef _GLIBCPP_HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef _GLIBCPP_HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef _GLIBCPP_HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef _GLIBCPP_HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef _GLIBCPP_HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef _GLIBCPP_HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef _GLIBCPP_HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef _GLIBCPP_HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef _GLIBCPP_HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef _GLIBCPP_HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef _GLIBCPP_HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef _GLIBCPP_HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef _GLIBCPP_HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef _GLIBCPP_HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef _GLIBCPP_HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef _GLIBCPP_HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef _GLIBCPP_HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef _GLIBCPP_HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef _GLIBCPP_HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef _GLIBCPP_HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef _GLIBCPP_HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef _GLIBCPP_HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef _GLIBCPP_HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef _GLIBCPP_HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef _GLIBCPP_HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef _GLIBCPP_HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef _GLIBCPP_HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef _GLIBCPP_HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef _GLIBCPP_HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef _GLIBCPP_HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef _GLIBCPP_HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define _GLIBCPP_HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef _GLIBCPP_HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define _GLIBCPP_HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef _GLIBCPP_HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define _GLIBCPP_HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef _GLIBCPP_HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define _GLIBCPP_HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef _GLIBCPP_HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define _GLIBCPP_HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define _GLIBCPP_HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef _GLIBCPP_HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define _GLIBCPP_HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define _GLIBCPP_HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef _GLIBCPP_HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define _GLIBCPP_HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define _GLIBCPP_HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef _GLIBCPP_HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef _GLIBCPP_HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define _GLIBCPP_HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef _GLIBCPP_HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define _GLIBCPP_HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef _GLIBCPP_HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define _GLIBCPP_HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define _GLIBCPP_HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define _GLIBCPP_HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define _GLIBCPP_HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef _GLIBCPP_HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define _GLIBCPP_HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef _GLIBCPP_HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define _GLIBCPP_HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef _GLIBCPP_HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef _GLIBCPP_HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define _GLIBCPP_HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define _GLIBCPP_HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define _GLIBCPP_HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef _GLIBCPP_HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define _GLIBCPP_HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define _GLIBCPP_HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define _GLIBCPP_HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define _GLIBCPP_HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define _GLIBCPP_HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef _GLIBCPP_HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define _GLIBCPP_HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define _GLIBCPP_HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define _GLIBCPP_HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define _GLIBCPP_HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef _GLIBCPP_HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define _GLIBCPP_HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define _GLIBCPP_HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef _GLIBCPP_HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define _GLIBCPP_HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define _GLIBCPP_HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef _GLIBCPP_HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define _GLIBCPP_HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef _GLIBCPP_HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define _GLIBCPP_HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef _GLIBCPP_HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define _GLIBCPP_HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef _GLIBCPP_HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define _GLIBCPP_HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define _GLIBCPP_HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define _GLIBCPP_HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define _GLIBCPP_HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define _GLIBCPP_HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef _GLIBCPP_HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define _GLIBCPP_HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define _GLIBCPP_HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define _GLIBCPP_HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef _GLIBCPP_HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define _GLIBCPP_HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define _GLIBCPP_HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef _GLIBCPP_HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef _GLIBCPP_HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef _GLIBCPP_HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef _GLIBCPP_HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef _GLIBCPP_HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define _GLIBCPP_HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define _GLIBCPP_HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef _GLIBCPP_HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef _GLIBCPP_HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define _GLIBCPP_HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef _GLIBCPP_HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define _GLIBCPP_HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define _GLIBCPP_HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define _GLIBCPP_HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define _GLIBCPP_HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define _GLIBCPP_HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define _GLIBCPP_HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef _GLIBCPP_HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef _GLIBCPP_HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define _GLIBCPP_HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define _GLIBCPP_HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define _GLIBCPP_HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define _GLIBCPP_HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define _GLIBCPP_HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define _GLIBCPP_HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define _GLIBCPP_HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define _GLIBCPP_HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define _GLIBCPP_HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define _GLIBCPP_HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define _GLIBCPP_HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define _GLIBCPP_HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define _GLIBCPP_HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define _GLIBCPP_HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define _GLIBCPP_HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define _GLIBCPP_HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define _GLIBCPP_HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define _GLIBCPP_HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define _GLIBCPP_HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define _GLIBCPP_HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define _GLIBCPP_HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define _GLIBCPP_HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define _GLIBCPP_HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define _GLIBCPP_HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define _GLIBCPP_HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define _GLIBCPP_HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define _GLIBCPP_HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define _GLIBCPP_HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define _GLIBCPP_HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define _GLIBCPP_HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define _GLIBCPP_HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define _GLIBCPP_HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define _GLIBCPP_HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define _GLIBCPP_HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define _GLIBCPP_HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define _GLIBCPP_HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define _GLIBCPP_HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define _GLIBCPP_HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef _GLIBCPP_HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define _GLIBCPP_HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef _GLIBCPP_HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef _GLIBCPP_HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define _GLIBCPP_HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define _GLIBCPP_HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define _GLIBCPP_HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef _GLIBCPP_HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define _GLIBCPP_HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define _GLIBCPP_HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define _GLIBCPP_HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef _GLIBCPP_HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define _GLIBCPP_HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define _GLIBCPP_HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define _GLIBCPP_HAVE_LIBM 1 - -/* Name of package */ -#define _GLIBCPP_PACKAGE "libstdc++" - -/* Version number of package */ -#define _GLIBCPP_VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -#define _GLIBCPP_SJLJ_EXCEPTIONS 1 - -/* Define if sigsetjmp is available. */ -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (_GLIBCPP_HAVE__ISNAN) && ! defined (_GLIBCPP_HAVE_ISNAN) -# define _GLIBCPP_HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (_GLIBCPP_HAVE__ISNANF) && ! defined (_GLIBCPP_HAVE_ISNANF) -# define _GLIBCPP_HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (_GLIBCPP_HAVE__ISNANL) && ! defined (_GLIBCPP_HAVE_ISNANL) -# define _GLIBCPP_HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (_GLIBCPP_HAVE__ISINF) && ! defined (_GLIBCPP_HAVE_ISINF) -# define _GLIBCPP_HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (_GLIBCPP_HAVE__ISINFF) && ! defined (_GLIBCPP_HAVE_ISINFF) -# define _GLIBCPP_HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (_GLIBCPP_HAVE__ISINFL) && ! defined (_GLIBCPP_HAVE_ISINFL) -# define _GLIBCPP_HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGN) && ! defined (_GLIBCPP_HAVE_COPYSIGN) -# define _GLIBCPP_HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGNL) && ! defined (_GLIBCPP_HAVE_COPYSIGNL) -# define _GLIBCPP_HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (_GLIBCPP_HAVE__COSF) && ! defined (_GLIBCPP_HAVE_COSF) -# define _GLIBCPP_HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSF) && ! defined (_GLIBCPP_HAVE_ACOSF) -# define _GLIBCPP_HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSL) && ! defined (_GLIBCPP_HAVE_ACOSL) -# define _GLIBCPP_HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (_GLIBCPP_HAVE__ASINF) && ! defined (_GLIBCPP_HAVE_ASINF) -# define _GLIBCPP_HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (_GLIBCPP_HAVE__ASINL) && ! defined (_GLIBCPP_HAVE_ASINL) -# define _GLIBCPP_HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (_GLIBCPP_HAVE__ATANF) && ! defined (_GLIBCPP_HAVE_ATANF) -# define _GLIBCPP_HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (_GLIBCPP_HAVE__ATANL) && ! defined (_GLIBCPP_HAVE_ATANL) -# define _GLIBCPP_HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (_GLIBCPP_HAVE__CEILF) && ! defined (_GLIBCPP_HAVE_CEILF) -# define _GLIBCPP_HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (_GLIBCPP_HAVE__CEILL) && ! defined (_GLIBCPP_HAVE_CEILL) -# define _GLIBCPP_HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (_GLIBCPP_HAVE__COSHF) && ! defined (_GLIBCPP_HAVE_COSHF) -# define _GLIBCPP_HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (_GLIBCPP_HAVE__COSL) && ! defined (_GLIBCPP_HAVE_COSL) -# define _GLIBCPP_HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (_GLIBCPP_HAVE__LOGF) && ! defined (_GLIBCPP_HAVE_LOGF) -# define _GLIBCPP_HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (_GLIBCPP_HAVE__COSHL) && ! defined (_GLIBCPP_HAVE_COSHL) -# define _GLIBCPP_HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (_GLIBCPP_HAVE__EXPF) && ! defined (_GLIBCPP_HAVE_EXPF) -# define _GLIBCPP_HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (_GLIBCPP_HAVE__EXPL) && ! defined (_GLIBCPP_HAVE_EXPL) -# define _GLIBCPP_HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (_GLIBCPP_HAVE__FABSF) && ! defined (_GLIBCPP_HAVE_FABSF) -# define _GLIBCPP_HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (_GLIBCPP_HAVE__FABSL) && ! defined (_GLIBCPP_HAVE_FABSL) -# define _GLIBCPP_HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (_GLIBCPP_HAVE__FLOORF) && ! defined (_GLIBCPP_HAVE_FLOORF) -# define _GLIBCPP_HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (_GLIBCPP_HAVE__FLOORL) && ! defined (_GLIBCPP_HAVE_FLOORL) -# define _GLIBCPP_HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (_GLIBCPP_HAVE__FMODF) && ! defined (_GLIBCPP_HAVE_FMODF) -# define _GLIBCPP_HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (_GLIBCPP_HAVE__FMODL) && ! defined (_GLIBCPP_HAVE_FMODL) -# define _GLIBCPP_HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (_GLIBCPP_HAVE__FREXPF) && ! defined (_GLIBCPP_HAVE_FREXPF) -# define _GLIBCPP_HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (_GLIBCPP_HAVE__FREXPL) && ! defined (_GLIBCPP_HAVE_FREXPL) -# define _GLIBCPP_HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPF) && ! defined (_GLIBCPP_HAVE_LDEXPF) -# define _GLIBCPP_HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPL) && ! defined (_GLIBCPP_HAVE_LDEXPL) -# define _GLIBCPP_HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (_GLIBCPP_HAVE__LOG10F) && ! defined (_GLIBCPP_HAVE_LOG10F) -# define _GLIBCPP_HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (_GLIBCPP_HAVE__LOGL) && ! defined (_GLIBCPP_HAVE_LOGL) -# define _GLIBCPP_HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (_GLIBCPP_HAVE__POWF) && ! defined (_GLIBCPP_HAVE_POWF) -# define _GLIBCPP_HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (_GLIBCPP_HAVE__LOG10L) && ! defined (_GLIBCPP_HAVE_LOG10L) -# define _GLIBCPP_HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (_GLIBCPP_HAVE__MODF) && ! defined (_GLIBCPP_HAVE_MODF) -# define _GLIBCPP_HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (_GLIBCPP_HAVE__MODL) && ! defined (_GLIBCPP_HAVE_MODL) -# define _GLIBCPP_HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (_GLIBCPP_HAVE__SINF) && ! defined (_GLIBCPP_HAVE_SINF) -# define _GLIBCPP_HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (_GLIBCPP_HAVE__POWL) && ! defined (_GLIBCPP_HAVE_POWL) -# define _GLIBCPP_HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (_GLIBCPP_HAVE__SINHF) && ! defined (_GLIBCPP_HAVE_SINHF) -# define _GLIBCPP_HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (_GLIBCPP_HAVE__SINL) && ! defined (_GLIBCPP_HAVE_SINL) -# define _GLIBCPP_HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (_GLIBCPP_HAVE__SQRTF) && ! defined (_GLIBCPP_HAVE_SQRTF) -# define _GLIBCPP_HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (_GLIBCPP_HAVE__SINHL) && ! defined (_GLIBCPP_HAVE_SINHL) -# define _GLIBCPP_HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (_GLIBCPP_HAVE__TANF) && ! defined (_GLIBCPP_HAVE_TANF) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__SQRTL) && ! defined (_GLIBCPP_HAVE_SQRTL) -# define _GLIBCPP_HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (_GLIBCPP_HAVE__TANHF) && ! defined (_GLIBCPP_HAVE_TANHF) -# define _GLIBCPP_HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (_GLIBCPP_HAVE__TANL) && ! defined (_GLIBCPP_HAVE_TANL) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__STRTOF) && ! defined (_GLIBCPP_HAVE_STRTOF) -# define _GLIBCPP_HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (_GLIBCPP_HAVE__TANHL) && ! defined (_GLIBCPP_HAVE_TANHL) -# define _GLIBCPP_HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (_GLIBCPP_HAVE__STRTOLD) && ! defined (_GLIBCPP_HAVE_STRTOLD) -# define _GLIBCPP_HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (_GLIBCPP_HAVE__SINCOS) && ! defined (_GLIBCPP_HAVE_SINCOS) -# define _GLIBCPP_HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSF) && ! defined (_GLIBCPP_HAVE_SINCOSF) -# define _GLIBCPP_HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSL) && ! defined (_GLIBCPP_HAVE_SINCOSL) -# define _GLIBCPP_HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (_GLIBCPP_HAVE__FINITE) && ! defined (_GLIBCPP_HAVE_FINITE) -# define _GLIBCPP_HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (_GLIBCPP_HAVE__FINITEF) && ! defined (_GLIBCPP_HAVE_FINITEF) -# define _GLIBCPP_HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (_GLIBCPP_HAVE__FINITEL) && ! defined (_GLIBCPP_HAVE_FINITEL) -# define _GLIBCPP_HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (_GLIBCPP_HAVE__QFINITE) && ! defined (_GLIBCPP_HAVE_QFINITE) -# define _GLIBCPP_HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (_GLIBCPP_HAVE__FPCLASS) && ! defined (_GLIBCPP_HAVE_FPCLASS) -# define _GLIBCPP_HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (_GLIBCPP_HAVE__QFPCLASS) && ! defined (_GLIBCPP_HAVE_QFPCLASS) -# define _GLIBCPP_HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - -#endif // _CPP_CPPCONFIG_ diff --git a/gnu/lib/libstdc++-v3/arch/armeb/config.h b/gnu/lib/libstdc++-v3/arch/armeb/config.h deleted file mode 100644 index 575aed2db24..00000000000 --- a/gnu/lib/libstdc++-v3/arch/armeb/config.h +++ /dev/null @@ -1,1127 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef HAVE_MODFL */ - -// Define if you have the expf function. -#define HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef HAVE_EXPL */ - -// Define if you have the hypotf function. -#define HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define HAVE_LIBM 1 - -/* Name of package */ -#define PACKAGE "libstdc++" - -/* Version number of package */ -#define VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -#define _GLIBCPP_SJLJ_EXCEPTIONS 1 - -/* Define if sigsetjmp is available. */ -/* #undef HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) -# define HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) -# define HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) -# define HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) -# define HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) -# define HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) -# define HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN) -# define HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL) -# define HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (HAVE__COSF) && ! defined (HAVE_COSF) -# define HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) -# define HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) -# define HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) -# define HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) -# define HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) -# define HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) -# define HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) -# define HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) -# define HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) -# define HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (HAVE__COSL) && ! defined (HAVE_COSL) -# define HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) -# define HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) -# define HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) -# define HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) -# define HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) -# define HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) -# define HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) -# define HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) -# define HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) -# define HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) -# define HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) -# define HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) -# define HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) -# define HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) -# define HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) -# define HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (HAVE__POWF) && ! defined (HAVE_POWF) -# define HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) -# define HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (HAVE__MODF) && ! defined (HAVE_MODF) -# define HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (HAVE__MODL) && ! defined (HAVE_MODL) -# define HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (HAVE__SINF) && ! defined (HAVE_SINF) -# define HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (HAVE__POWL) && ! defined (HAVE_POWL) -# define HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) -# define HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (HAVE__SINL) && ! defined (HAVE_SINL) -# define HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) -# define HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) -# define HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (HAVE__TANF) && ! defined (HAVE_TANF) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) -# define HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) -# define HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (HAVE__TANL) && ! defined (HAVE_TANL) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) -# define HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) -# define HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) -# define HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) -# define HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) -# define HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) -# define HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) -# define HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) -# define HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) -# define HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE) -# define HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) -# define HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) -# define HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - diff --git a/gnu/lib/libstdc++-v3/arch/armeb/defs.mk b/gnu/lib/libstdc++-v3/arch/armeb/defs.mk deleted file mode 100644 index e66862c1dc6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/armeb/defs.mk +++ /dev/null @@ -1,18 +0,0 @@ -# This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp -# -G_libmath_la_SOURCES=stubs.c -G_libmath_la_LIBADD=signbit.lo -G_LIBSUPCXX_SOURCES=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc -G_LIBSUPCXX_C_SOURCES=cxa_demangle.c dyn-string.c -G_SRC_SOURCES=bitset.cc codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc vterminate.cc wstring-inst.cc codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc basic_file.cc c++locale.cc -G_SECTION_FLAGS=-ffunction-sections -fdata-sections -G_c_base_headers_rename=cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype -G_std_headers_rename=algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector -G_bits_headers=basic_ios.h basic_ios.tcc basic_string.h basic_string.tcc boost_concept_check.h char_traits.h codecvt.h concept_check.h cpp_type_traits.h deque.tcc fpos.h fstream.tcc functexcept.h gslice.h gslice_array.h indirect_array.h ios_base.h istream.tcc list.tcc locale_classes.h locale_facets.h locale_facets.tcc localefwd.h mask_array.h ostream.tcc pthread_allocimpl.h stream_iterator.h streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h stl_algobase.h stl_alloc.h stl_bvector.h stl_construct.h stl_deque.h stl_function.h stl_heap.h stl_iterator.h stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h stl_queue.h stl_raw_storage_iter.h stl_relops.h stl_set.h stl_stack.h stl_tempbuf.h stl_threads.h stl_tree.h stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h type_traits.h valarray_array.h valarray_array.tcc valarray_meta.h vector.tcc -G_backward_headers=complex.h iomanip.h istream.h ostream.h stream.h streambuf.h algo.h algobase.h alloc.h bvector.h defalloc.h deque.h function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h iterator.h list.h map.h multimap.h new.h multiset.h pair.h queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h vector.h fstream.h strstream backward_warning.h -G_ext_headers=algorithm enc_filebuf.h stdio_filebuf.h functional hash_map hash_set iterator memory numeric rb_tree rope ropeimpl.h slist stl_hash_fun.h stl_hashtable.h stl_rope.h -G_c_base_headers_extra=cmath.tcc -G_target_headers=ctype_base.h ctype_inline.h ctype_noninline.h os_defines.h atomicity.h -G_thread_target_headers=gthr.h gthr-single.h gthr-posix.h gthr-default.h -G_target_headers_extra=basic_file.h c++config.h c++io.h c++locale.h messages_members.h time_members.h codecvt_specializations.h diff --git a/gnu/lib/libstdc++-v3/arch/armeb/gthr-default.h b/gnu/lib/libstdc++-v3/arch/armeb/gthr-default.h deleted file mode 100644 index 6d49ac3e797..00000000000 --- a/gnu/lib/libstdc++-v3/arch/armeb/gthr-default.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/armeb/gthr-posix.h b/gnu/lib/libstdc++-v3/arch/armeb/gthr-posix.h deleted file mode 100644 index 6d49ac3e797..00000000000 --- a/gnu/lib/libstdc++-v3/arch/armeb/gthr-posix.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/armeb/gthr-single.h b/gnu/lib/libstdc++-v3/arch/armeb/gthr-single.h deleted file mode 100644 index 6e13a634ac3..00000000000 --- a/gnu/lib/libstdc++-v3/arch/armeb/gthr-single.h +++ /dev/null @@ -1,242 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H -#define _GLIBCPP_GCC_GTHR_SINGLE_H - -/* Just provide compatibility for mutex handling. */ - -typedef int __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT 0 - -#ifdef __cplusplus -#define _GLIBCPP_UNUSED(x) -#else -#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) -#endif - -#ifdef _LIBOBJC - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) -{ - /* No thread support available */ - return NULL; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) -{ - /* No thread support available */ - return -1; -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - return; -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - /* No thread support available */ - /* Should we really exit the program */ - /* exit (&__objc_thread_exit_status); */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - /* No thread support, use 1. */ - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - thread_local_storage = value; - return 0; -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), - objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - return 0; -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -#endif /* _LIBOBJC */ - -#undef _GLIBCPP_UNUSED - -#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/armeb/gthr.h b/gnu/lib/libstdc++-v3/arch/armeb/gthr.h deleted file mode 100644 index cf06719ee38..00000000000 --- a/gnu/lib/libstdc++-v3/arch/armeb/gthr.h +++ /dev/null @@ -1,108 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp */ - -/* Threads compatibility routines for libgcc2. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1998 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_H -#define _GLIBCPP_GCC_GTHR_H - -/* If this file is compiled with threads support, it must - #define __GTHREADS 1 - to indicate that threads support is present. Also it has define - function - int __gthread_active_p () - that returns 1 if thread system is active, 0 if not. - - The threads interface must define the following types: - __gthread_key_t - __gthread_once_t - __gthread_mutex_t - - The threads interface must define the following macros: - - __GTHREAD_ONCE_INIT - to initialize __gthread_once_t - __GTHREAD_MUTEX_INIT - to initialize __gthread_mutex_t to get a fast - non-recursive mutex. - __GTHREAD_MUTEX_INIT_FUNCTION - some systems can't initialize a mutex without a - function call. On such systems, define this to a - function which looks like this: - void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *) - Don't define __GTHREAD_MUTEX_INIT in this case - - The threads interface must define the following static functions: - - int __gthread_once (__gthread_once_t *once, void (*func) ()) - - int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *)) - int __gthread_key_delete (__gthread_key_t key) - - int __gthread_key_dtor (__gthread_key_t key, void *ptr) - - void *__gthread_getspecific (__gthread_key_t key) - int __gthread_setspecific (__gthread_key_t key, const void *ptr) - - int __gthread_mutex_lock (__gthread_mutex_t *mutex); - int __gthread_mutex_trylock (__gthread_mutex_t *mutex); - int __gthread_mutex_unlock (__gthread_mutex_t *mutex); - - All functions returning int should return zero on success or the error - number. If the operation is not supported, -1 is returned. - - Currently supported threads packages are - POSIX threads with -D_PTHREADS - DCE threads with -D_DCE_THREADS - Solaris/UI threads with -D_SOLARIS_THREADS -*/ - -/* Check first for thread specific defines. */ -#if _GLIBCPP__PTHREADS -#include <bits/gthr-posix.h> -#elif _GLIBCPP__DCE_THREADS -#include <bits/gthr-dce.h> -#elif _GLIBCPP__SOLARIS_THREADS -#include <bits/gthr-solaris.h> - -/* Include GTHREAD_FILE if one is defined. */ -#elif defined(_GLIBCPP_HAVE_GTHR_DEFAULT) -#if _GLIBCPP_SUPPORTS_WEAK -#ifndef _GLIBCPP_GTHREAD_USE_WEAK -#define _GLIBCPP_GTHREAD_USE_WEAK 1 -#endif -#endif -#include <bits/gthr-default.h> - -/* Fallback to single thread definitions. */ -#else -#include <bits/gthr-single.h> -#endif - -#endif /* ! _GLIBCPP_GCC_GTHR_H */ diff --git a/gnu/lib/libstdc++-v3/arch/hppa/c++config.h b/gnu/lib/libstdc++-v3/arch/hppa/c++config.h deleted file mode 100644 index a73086022ad..00000000000 --- a/gnu/lib/libstdc++-v3/arch/hppa/c++config.h +++ /dev/null @@ -1,1228 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -// Predefined symbols and macros -*- C++ -*- - -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -// Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) -// any later version. - -// This library 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 this library; see the file COPYING. If not, write to the Free -// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _CPP_CPPCONFIG -#define _CPP_CPPCONFIG 1 - -// Pick up any OS-specific definitions. -#include <bits/os_defines.h> - -// The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20050503 - -// This is necessary until GCC supports separate template compilation. -#define _GLIBCPP_NO_TEMPLATE_EXPORT 1 - -// This is a hack around not having either pre-compiled headers or -// export compilation. If defined, the io, string, and valarray -// headers will include all the necessary bits. If not defined, the -// implementation optimizes the headers for the most commonly-used -// types. For the io library, this means that larger, out-of-line -// member functions are only declared, and definitions are not parsed -// by the compiler, but instead instantiated into the library binary. -#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1 - -// Allow use of the GNU syntax extension, "extern template." This -// extension is fully documented in the g++ manual, but in a nutshell, -// it inhibits all implicit instantiations and is used throughout the -// library to avoid multiple weak definitions for required types that -// are already explicitly instantiated in the library binary. This -// substantially reduces the binary size of resulting executables. -#ifndef _GLIBCPP_EXTERN_TEMPLATE -#define _GLIBCPP_EXTERN_TEMPLATE 1 -#endif - -// To enable older, ARM-style iostreams and other anachronisms use this. -//#define _GLIBCPP_DEPRECATED 1 - -// Use corrected code from the committee library group's issues list. -#define _GLIBCPP_RESOLVE_LIB_DEFECTS 1 - -// Hopefully temporary workaround to autoconf/m4 issue with quoting '@'. -#define _GLIBCPP_AT_AT "@@" - -// In those parts of the standard C++ library that use a mutex instead -// of a spin-lock, we now unconditionally use GCC's gthr.h mutex -// abstraction layer. All support to directly map to various -// threading models has been removed. Note: gthr.h may well map to -// gthr-single.h which is a correct way to express no threads support -// in gcc. Support for the undocumented _NOTHREADS has been removed. - -// Default to the typically high-speed, pool-based allocator (as -// libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3 -// snapshots). See libstdc++-v3/docs/html/17_intro/howto.html for -// details on why you don't want to override this setting. Ensure -// that threads are properly configured on your platform before -// assigning blame to the STL container-memory allocator. After doing -// so, please report any possible issues to libstdc++@gcc.gnu.org . -// Do not define __USE_MALLOC on the command line. Enforce it here: -#ifdef __USE_MALLOC -#error __USE_MALLOC should never be defined. Read the release notes. -#endif - -// Create a boolean flag to be used to determine if --fast-math is set. -#ifdef __FAST_MATH__ -#define _GLIBCPP_FAST_MATH 1 -#else -#define _GLIBCPP_FAST_MATH 0 -#endif - -// The remainder of the prewritten config is mostly automatic; all the -// user hooks are listed above. - -// End of prewritten config; the discovered settings follow. -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define _GLIBCPP_HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define _GLIBCPP_HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef _GLIBCPP_HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define _GLIBCPP_HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define _GLIBCPP_HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef _GLIBCPP_HAVE_MODFL */ - -// Define if you have the expf function. -#define _GLIBCPP_HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef _GLIBCPP_HAVE_EXPL */ - -// Define if you have the hypotf function. -#define _GLIBCPP_HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef _GLIBCPP_HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef _GLIBCPP_HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef _GLIBCPP_HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef _GLIBCPP_HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef _GLIBCPP_HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef _GLIBCPP_HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define _GLIBCPP_HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef _GLIBCPP_HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef _GLIBCPP_HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef _GLIBCPP_HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef _GLIBCPP_HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef _GLIBCPP_HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef _GLIBCPP_HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef _GLIBCPP_HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef _GLIBCPP_HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef _GLIBCPP_HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef _GLIBCPP_HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef _GLIBCPP_HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef _GLIBCPP_HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef _GLIBCPP_HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef _GLIBCPP_HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef _GLIBCPP_HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef _GLIBCPP_HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef _GLIBCPP_HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef _GLIBCPP_HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef _GLIBCPP_HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef _GLIBCPP_HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef _GLIBCPP_HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef _GLIBCPP_HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef _GLIBCPP_HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef _GLIBCPP_HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef _GLIBCPP_HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef _GLIBCPP_HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef _GLIBCPP_HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef _GLIBCPP_HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef _GLIBCPP_HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef _GLIBCPP_HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef _GLIBCPP_HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef _GLIBCPP_HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef _GLIBCPP_HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef _GLIBCPP_HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef _GLIBCPP_HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef _GLIBCPP_HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef _GLIBCPP_HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef _GLIBCPP_HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef _GLIBCPP_HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef _GLIBCPP_HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef _GLIBCPP_HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef _GLIBCPP_HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef _GLIBCPP_HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef _GLIBCPP_HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef _GLIBCPP_HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef _GLIBCPP_HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef _GLIBCPP_HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef _GLIBCPP_HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef _GLIBCPP_HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef _GLIBCPP_HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef _GLIBCPP_HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef _GLIBCPP_HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef _GLIBCPP_HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef _GLIBCPP_HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef _GLIBCPP_HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef _GLIBCPP_HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef _GLIBCPP_HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef _GLIBCPP_HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef _GLIBCPP_HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef _GLIBCPP_HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef _GLIBCPP_HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef _GLIBCPP_HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define _GLIBCPP_HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef _GLIBCPP_HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define _GLIBCPP_HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef _GLIBCPP_HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define _GLIBCPP_HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef _GLIBCPP_HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define _GLIBCPP_HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef _GLIBCPP_HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define _GLIBCPP_HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define _GLIBCPP_HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef _GLIBCPP_HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define _GLIBCPP_HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define _GLIBCPP_HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef _GLIBCPP_HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define _GLIBCPP_HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define _GLIBCPP_HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef _GLIBCPP_HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef _GLIBCPP_HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define _GLIBCPP_HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef _GLIBCPP_HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define _GLIBCPP_HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef _GLIBCPP_HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define _GLIBCPP_HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define _GLIBCPP_HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define _GLIBCPP_HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define _GLIBCPP_HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef _GLIBCPP_HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define _GLIBCPP_HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef _GLIBCPP_HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define _GLIBCPP_HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef _GLIBCPP_HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef _GLIBCPP_HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define _GLIBCPP_HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define _GLIBCPP_HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define _GLIBCPP_HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef _GLIBCPP_HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define _GLIBCPP_HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define _GLIBCPP_HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define _GLIBCPP_HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define _GLIBCPP_HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define _GLIBCPP_HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef _GLIBCPP_HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define _GLIBCPP_HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define _GLIBCPP_HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define _GLIBCPP_HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define _GLIBCPP_HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef _GLIBCPP_HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define _GLIBCPP_HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define _GLIBCPP_HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef _GLIBCPP_HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define _GLIBCPP_HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define _GLIBCPP_HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef _GLIBCPP_HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define _GLIBCPP_HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef _GLIBCPP_HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define _GLIBCPP_HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef _GLIBCPP_HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define _GLIBCPP_HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef _GLIBCPP_HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define _GLIBCPP_HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define _GLIBCPP_HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define _GLIBCPP_HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define _GLIBCPP_HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define _GLIBCPP_HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef _GLIBCPP_HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define _GLIBCPP_HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define _GLIBCPP_HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define _GLIBCPP_HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef _GLIBCPP_HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define _GLIBCPP_HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define _GLIBCPP_HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef _GLIBCPP_HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef _GLIBCPP_HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef _GLIBCPP_HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef _GLIBCPP_HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef _GLIBCPP_HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define _GLIBCPP_HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define _GLIBCPP_HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef _GLIBCPP_HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef _GLIBCPP_HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define _GLIBCPP_HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef _GLIBCPP_HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define _GLIBCPP_HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define _GLIBCPP_HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define _GLIBCPP_HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define _GLIBCPP_HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define _GLIBCPP_HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define _GLIBCPP_HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef _GLIBCPP_HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef _GLIBCPP_HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define _GLIBCPP_HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define _GLIBCPP_HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define _GLIBCPP_HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define _GLIBCPP_HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define _GLIBCPP_HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define _GLIBCPP_HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define _GLIBCPP_HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define _GLIBCPP_HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define _GLIBCPP_HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define _GLIBCPP_HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define _GLIBCPP_HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define _GLIBCPP_HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define _GLIBCPP_HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define _GLIBCPP_HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define _GLIBCPP_HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define _GLIBCPP_HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define _GLIBCPP_HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define _GLIBCPP_HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define _GLIBCPP_HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define _GLIBCPP_HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define _GLIBCPP_HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define _GLIBCPP_HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define _GLIBCPP_HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define _GLIBCPP_HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define _GLIBCPP_HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define _GLIBCPP_HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define _GLIBCPP_HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define _GLIBCPP_HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define _GLIBCPP_HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define _GLIBCPP_HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define _GLIBCPP_HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define _GLIBCPP_HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define _GLIBCPP_HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define _GLIBCPP_HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define _GLIBCPP_HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define _GLIBCPP_HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define _GLIBCPP_HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define _GLIBCPP_HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef _GLIBCPP_HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define _GLIBCPP_HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef _GLIBCPP_HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef _GLIBCPP_HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define _GLIBCPP_HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define _GLIBCPP_HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define _GLIBCPP_HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef _GLIBCPP_HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define _GLIBCPP_HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define _GLIBCPP_HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define _GLIBCPP_HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef _GLIBCPP_HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define _GLIBCPP_HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define _GLIBCPP_HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define _GLIBCPP_HAVE_LIBM 1 - -/* Name of package */ -#define _GLIBCPP_PACKAGE "libstdc++" - -/* Version number of package */ -#define _GLIBCPP_VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (_GLIBCPP_HAVE__ISNAN) && ! defined (_GLIBCPP_HAVE_ISNAN) -# define _GLIBCPP_HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (_GLIBCPP_HAVE__ISNANF) && ! defined (_GLIBCPP_HAVE_ISNANF) -# define _GLIBCPP_HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (_GLIBCPP_HAVE__ISNANL) && ! defined (_GLIBCPP_HAVE_ISNANL) -# define _GLIBCPP_HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (_GLIBCPP_HAVE__ISINF) && ! defined (_GLIBCPP_HAVE_ISINF) -# define _GLIBCPP_HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (_GLIBCPP_HAVE__ISINFF) && ! defined (_GLIBCPP_HAVE_ISINFF) -# define _GLIBCPP_HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (_GLIBCPP_HAVE__ISINFL) && ! defined (_GLIBCPP_HAVE_ISINFL) -# define _GLIBCPP_HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGN) && ! defined (_GLIBCPP_HAVE_COPYSIGN) -# define _GLIBCPP_HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGNL) && ! defined (_GLIBCPP_HAVE_COPYSIGNL) -# define _GLIBCPP_HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (_GLIBCPP_HAVE__COSF) && ! defined (_GLIBCPP_HAVE_COSF) -# define _GLIBCPP_HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSF) && ! defined (_GLIBCPP_HAVE_ACOSF) -# define _GLIBCPP_HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSL) && ! defined (_GLIBCPP_HAVE_ACOSL) -# define _GLIBCPP_HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (_GLIBCPP_HAVE__ASINF) && ! defined (_GLIBCPP_HAVE_ASINF) -# define _GLIBCPP_HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (_GLIBCPP_HAVE__ASINL) && ! defined (_GLIBCPP_HAVE_ASINL) -# define _GLIBCPP_HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (_GLIBCPP_HAVE__ATANF) && ! defined (_GLIBCPP_HAVE_ATANF) -# define _GLIBCPP_HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (_GLIBCPP_HAVE__ATANL) && ! defined (_GLIBCPP_HAVE_ATANL) -# define _GLIBCPP_HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (_GLIBCPP_HAVE__CEILF) && ! defined (_GLIBCPP_HAVE_CEILF) -# define _GLIBCPP_HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (_GLIBCPP_HAVE__CEILL) && ! defined (_GLIBCPP_HAVE_CEILL) -# define _GLIBCPP_HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (_GLIBCPP_HAVE__COSHF) && ! defined (_GLIBCPP_HAVE_COSHF) -# define _GLIBCPP_HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (_GLIBCPP_HAVE__COSL) && ! defined (_GLIBCPP_HAVE_COSL) -# define _GLIBCPP_HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (_GLIBCPP_HAVE__LOGF) && ! defined (_GLIBCPP_HAVE_LOGF) -# define _GLIBCPP_HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (_GLIBCPP_HAVE__COSHL) && ! defined (_GLIBCPP_HAVE_COSHL) -# define _GLIBCPP_HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (_GLIBCPP_HAVE__EXPF) && ! defined (_GLIBCPP_HAVE_EXPF) -# define _GLIBCPP_HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (_GLIBCPP_HAVE__EXPL) && ! defined (_GLIBCPP_HAVE_EXPL) -# define _GLIBCPP_HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (_GLIBCPP_HAVE__FABSF) && ! defined (_GLIBCPP_HAVE_FABSF) -# define _GLIBCPP_HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (_GLIBCPP_HAVE__FABSL) && ! defined (_GLIBCPP_HAVE_FABSL) -# define _GLIBCPP_HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (_GLIBCPP_HAVE__FLOORF) && ! defined (_GLIBCPP_HAVE_FLOORF) -# define _GLIBCPP_HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (_GLIBCPP_HAVE__FLOORL) && ! defined (_GLIBCPP_HAVE_FLOORL) -# define _GLIBCPP_HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (_GLIBCPP_HAVE__FMODF) && ! defined (_GLIBCPP_HAVE_FMODF) -# define _GLIBCPP_HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (_GLIBCPP_HAVE__FMODL) && ! defined (_GLIBCPP_HAVE_FMODL) -# define _GLIBCPP_HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (_GLIBCPP_HAVE__FREXPF) && ! defined (_GLIBCPP_HAVE_FREXPF) -# define _GLIBCPP_HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (_GLIBCPP_HAVE__FREXPL) && ! defined (_GLIBCPP_HAVE_FREXPL) -# define _GLIBCPP_HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPF) && ! defined (_GLIBCPP_HAVE_LDEXPF) -# define _GLIBCPP_HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPL) && ! defined (_GLIBCPP_HAVE_LDEXPL) -# define _GLIBCPP_HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (_GLIBCPP_HAVE__LOG10F) && ! defined (_GLIBCPP_HAVE_LOG10F) -# define _GLIBCPP_HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (_GLIBCPP_HAVE__LOGL) && ! defined (_GLIBCPP_HAVE_LOGL) -# define _GLIBCPP_HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (_GLIBCPP_HAVE__POWF) && ! defined (_GLIBCPP_HAVE_POWF) -# define _GLIBCPP_HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (_GLIBCPP_HAVE__LOG10L) && ! defined (_GLIBCPP_HAVE_LOG10L) -# define _GLIBCPP_HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (_GLIBCPP_HAVE__MODF) && ! defined (_GLIBCPP_HAVE_MODF) -# define _GLIBCPP_HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (_GLIBCPP_HAVE__MODL) && ! defined (_GLIBCPP_HAVE_MODL) -# define _GLIBCPP_HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (_GLIBCPP_HAVE__SINF) && ! defined (_GLIBCPP_HAVE_SINF) -# define _GLIBCPP_HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (_GLIBCPP_HAVE__POWL) && ! defined (_GLIBCPP_HAVE_POWL) -# define _GLIBCPP_HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (_GLIBCPP_HAVE__SINHF) && ! defined (_GLIBCPP_HAVE_SINHF) -# define _GLIBCPP_HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (_GLIBCPP_HAVE__SINL) && ! defined (_GLIBCPP_HAVE_SINL) -# define _GLIBCPP_HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (_GLIBCPP_HAVE__SQRTF) && ! defined (_GLIBCPP_HAVE_SQRTF) -# define _GLIBCPP_HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (_GLIBCPP_HAVE__SINHL) && ! defined (_GLIBCPP_HAVE_SINHL) -# define _GLIBCPP_HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (_GLIBCPP_HAVE__TANF) && ! defined (_GLIBCPP_HAVE_TANF) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__SQRTL) && ! defined (_GLIBCPP_HAVE_SQRTL) -# define _GLIBCPP_HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (_GLIBCPP_HAVE__TANHF) && ! defined (_GLIBCPP_HAVE_TANHF) -# define _GLIBCPP_HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (_GLIBCPP_HAVE__TANL) && ! defined (_GLIBCPP_HAVE_TANL) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__STRTOF) && ! defined (_GLIBCPP_HAVE_STRTOF) -# define _GLIBCPP_HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (_GLIBCPP_HAVE__TANHL) && ! defined (_GLIBCPP_HAVE_TANHL) -# define _GLIBCPP_HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (_GLIBCPP_HAVE__STRTOLD) && ! defined (_GLIBCPP_HAVE_STRTOLD) -# define _GLIBCPP_HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (_GLIBCPP_HAVE__SINCOS) && ! defined (_GLIBCPP_HAVE_SINCOS) -# define _GLIBCPP_HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSF) && ! defined (_GLIBCPP_HAVE_SINCOSF) -# define _GLIBCPP_HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSL) && ! defined (_GLIBCPP_HAVE_SINCOSL) -# define _GLIBCPP_HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (_GLIBCPP_HAVE__FINITE) && ! defined (_GLIBCPP_HAVE_FINITE) -# define _GLIBCPP_HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (_GLIBCPP_HAVE__FINITEF) && ! defined (_GLIBCPP_HAVE_FINITEF) -# define _GLIBCPP_HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (_GLIBCPP_HAVE__FINITEL) && ! defined (_GLIBCPP_HAVE_FINITEL) -# define _GLIBCPP_HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (_GLIBCPP_HAVE__QFINITE) && ! defined (_GLIBCPP_HAVE_QFINITE) -# define _GLIBCPP_HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (_GLIBCPP_HAVE__FPCLASS) && ! defined (_GLIBCPP_HAVE_FPCLASS) -# define _GLIBCPP_HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (_GLIBCPP_HAVE__QFPCLASS) && ! defined (_GLIBCPP_HAVE_QFPCLASS) -# define _GLIBCPP_HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - -#endif // _CPP_CPPCONFIG_ diff --git a/gnu/lib/libstdc++-v3/arch/hppa/config.h b/gnu/lib/libstdc++-v3/arch/hppa/config.h deleted file mode 100644 index 02ea4f7a34a..00000000000 --- a/gnu/lib/libstdc++-v3/arch/hppa/config.h +++ /dev/null @@ -1,1127 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef HAVE_MODFL */ - -// Define if you have the expf function. -#define HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef HAVE_EXPL */ - -// Define if you have the hypotf function. -#define HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define HAVE_LIBM 1 - -/* Name of package */ -#define PACKAGE "libstdc++" - -/* Version number of package */ -#define VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) -# define HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) -# define HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) -# define HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) -# define HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) -# define HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) -# define HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN) -# define HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL) -# define HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (HAVE__COSF) && ! defined (HAVE_COSF) -# define HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) -# define HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) -# define HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) -# define HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) -# define HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) -# define HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) -# define HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) -# define HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) -# define HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) -# define HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (HAVE__COSL) && ! defined (HAVE_COSL) -# define HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) -# define HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) -# define HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) -# define HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) -# define HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) -# define HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) -# define HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) -# define HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) -# define HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) -# define HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) -# define HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) -# define HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) -# define HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) -# define HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) -# define HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) -# define HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (HAVE__POWF) && ! defined (HAVE_POWF) -# define HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) -# define HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (HAVE__MODF) && ! defined (HAVE_MODF) -# define HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (HAVE__MODL) && ! defined (HAVE_MODL) -# define HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (HAVE__SINF) && ! defined (HAVE_SINF) -# define HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (HAVE__POWL) && ! defined (HAVE_POWL) -# define HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) -# define HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (HAVE__SINL) && ! defined (HAVE_SINL) -# define HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) -# define HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) -# define HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (HAVE__TANF) && ! defined (HAVE_TANF) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) -# define HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) -# define HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (HAVE__TANL) && ! defined (HAVE_TANL) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) -# define HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) -# define HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) -# define HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) -# define HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) -# define HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) -# define HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) -# define HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) -# define HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) -# define HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE) -# define HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) -# define HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) -# define HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - diff --git a/gnu/lib/libstdc++-v3/arch/hppa/defs.mk b/gnu/lib/libstdc++-v3/arch/hppa/defs.mk deleted file mode 100644 index e66862c1dc6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/hppa/defs.mk +++ /dev/null @@ -1,18 +0,0 @@ -# This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp -# -G_libmath_la_SOURCES=stubs.c -G_libmath_la_LIBADD=signbit.lo -G_LIBSUPCXX_SOURCES=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc -G_LIBSUPCXX_C_SOURCES=cxa_demangle.c dyn-string.c -G_SRC_SOURCES=bitset.cc codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc vterminate.cc wstring-inst.cc codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc basic_file.cc c++locale.cc -G_SECTION_FLAGS=-ffunction-sections -fdata-sections -G_c_base_headers_rename=cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype -G_std_headers_rename=algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector -G_bits_headers=basic_ios.h basic_ios.tcc basic_string.h basic_string.tcc boost_concept_check.h char_traits.h codecvt.h concept_check.h cpp_type_traits.h deque.tcc fpos.h fstream.tcc functexcept.h gslice.h gslice_array.h indirect_array.h ios_base.h istream.tcc list.tcc locale_classes.h locale_facets.h locale_facets.tcc localefwd.h mask_array.h ostream.tcc pthread_allocimpl.h stream_iterator.h streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h stl_algobase.h stl_alloc.h stl_bvector.h stl_construct.h stl_deque.h stl_function.h stl_heap.h stl_iterator.h stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h stl_queue.h stl_raw_storage_iter.h stl_relops.h stl_set.h stl_stack.h stl_tempbuf.h stl_threads.h stl_tree.h stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h type_traits.h valarray_array.h valarray_array.tcc valarray_meta.h vector.tcc -G_backward_headers=complex.h iomanip.h istream.h ostream.h stream.h streambuf.h algo.h algobase.h alloc.h bvector.h defalloc.h deque.h function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h iterator.h list.h map.h multimap.h new.h multiset.h pair.h queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h vector.h fstream.h strstream backward_warning.h -G_ext_headers=algorithm enc_filebuf.h stdio_filebuf.h functional hash_map hash_set iterator memory numeric rb_tree rope ropeimpl.h slist stl_hash_fun.h stl_hashtable.h stl_rope.h -G_c_base_headers_extra=cmath.tcc -G_target_headers=ctype_base.h ctype_inline.h ctype_noninline.h os_defines.h atomicity.h -G_thread_target_headers=gthr.h gthr-single.h gthr-posix.h gthr-default.h -G_target_headers_extra=basic_file.h c++config.h c++io.h c++locale.h messages_members.h time_members.h codecvt_specializations.h diff --git a/gnu/lib/libstdc++-v3/arch/hppa/gthr-default.h b/gnu/lib/libstdc++-v3/arch/hppa/gthr-default.h deleted file mode 100644 index 6d49ac3e797..00000000000 --- a/gnu/lib/libstdc++-v3/arch/hppa/gthr-default.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/hppa/gthr-posix.h b/gnu/lib/libstdc++-v3/arch/hppa/gthr-posix.h deleted file mode 100644 index 6d49ac3e797..00000000000 --- a/gnu/lib/libstdc++-v3/arch/hppa/gthr-posix.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/hppa/gthr-single.h b/gnu/lib/libstdc++-v3/arch/hppa/gthr-single.h deleted file mode 100644 index 6e13a634ac3..00000000000 --- a/gnu/lib/libstdc++-v3/arch/hppa/gthr-single.h +++ /dev/null @@ -1,242 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H -#define _GLIBCPP_GCC_GTHR_SINGLE_H - -/* Just provide compatibility for mutex handling. */ - -typedef int __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT 0 - -#ifdef __cplusplus -#define _GLIBCPP_UNUSED(x) -#else -#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) -#endif - -#ifdef _LIBOBJC - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) -{ - /* No thread support available */ - return NULL; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) -{ - /* No thread support available */ - return -1; -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - return; -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - /* No thread support available */ - /* Should we really exit the program */ - /* exit (&__objc_thread_exit_status); */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - /* No thread support, use 1. */ - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - thread_local_storage = value; - return 0; -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), - objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - return 0; -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -#endif /* _LIBOBJC */ - -#undef _GLIBCPP_UNUSED - -#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/hppa/gthr.h b/gnu/lib/libstdc++-v3/arch/hppa/gthr.h deleted file mode 100644 index cf06719ee38..00000000000 --- a/gnu/lib/libstdc++-v3/arch/hppa/gthr.h +++ /dev/null @@ -1,108 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp */ - -/* Threads compatibility routines for libgcc2. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1998 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_H -#define _GLIBCPP_GCC_GTHR_H - -/* If this file is compiled with threads support, it must - #define __GTHREADS 1 - to indicate that threads support is present. Also it has define - function - int __gthread_active_p () - that returns 1 if thread system is active, 0 if not. - - The threads interface must define the following types: - __gthread_key_t - __gthread_once_t - __gthread_mutex_t - - The threads interface must define the following macros: - - __GTHREAD_ONCE_INIT - to initialize __gthread_once_t - __GTHREAD_MUTEX_INIT - to initialize __gthread_mutex_t to get a fast - non-recursive mutex. - __GTHREAD_MUTEX_INIT_FUNCTION - some systems can't initialize a mutex without a - function call. On such systems, define this to a - function which looks like this: - void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *) - Don't define __GTHREAD_MUTEX_INIT in this case - - The threads interface must define the following static functions: - - int __gthread_once (__gthread_once_t *once, void (*func) ()) - - int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *)) - int __gthread_key_delete (__gthread_key_t key) - - int __gthread_key_dtor (__gthread_key_t key, void *ptr) - - void *__gthread_getspecific (__gthread_key_t key) - int __gthread_setspecific (__gthread_key_t key, const void *ptr) - - int __gthread_mutex_lock (__gthread_mutex_t *mutex); - int __gthread_mutex_trylock (__gthread_mutex_t *mutex); - int __gthread_mutex_unlock (__gthread_mutex_t *mutex); - - All functions returning int should return zero on success or the error - number. If the operation is not supported, -1 is returned. - - Currently supported threads packages are - POSIX threads with -D_PTHREADS - DCE threads with -D_DCE_THREADS - Solaris/UI threads with -D_SOLARIS_THREADS -*/ - -/* Check first for thread specific defines. */ -#if _GLIBCPP__PTHREADS -#include <bits/gthr-posix.h> -#elif _GLIBCPP__DCE_THREADS -#include <bits/gthr-dce.h> -#elif _GLIBCPP__SOLARIS_THREADS -#include <bits/gthr-solaris.h> - -/* Include GTHREAD_FILE if one is defined. */ -#elif defined(_GLIBCPP_HAVE_GTHR_DEFAULT) -#if _GLIBCPP_SUPPORTS_WEAK -#ifndef _GLIBCPP_GTHREAD_USE_WEAK -#define _GLIBCPP_GTHREAD_USE_WEAK 1 -#endif -#endif -#include <bits/gthr-default.h> - -/* Fallback to single thread definitions. */ -#else -#include <bits/gthr-single.h> -#endif - -#endif /* ! _GLIBCPP_GCC_GTHR_H */ diff --git a/gnu/lib/libstdc++-v3/arch/i386/c++config.h b/gnu/lib/libstdc++-v3/arch/i386/c++config.h deleted file mode 100644 index a73086022ad..00000000000 --- a/gnu/lib/libstdc++-v3/arch/i386/c++config.h +++ /dev/null @@ -1,1228 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -// Predefined symbols and macros -*- C++ -*- - -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -// Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) -// any later version. - -// This library 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 this library; see the file COPYING. If not, write to the Free -// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _CPP_CPPCONFIG -#define _CPP_CPPCONFIG 1 - -// Pick up any OS-specific definitions. -#include <bits/os_defines.h> - -// The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20050503 - -// This is necessary until GCC supports separate template compilation. -#define _GLIBCPP_NO_TEMPLATE_EXPORT 1 - -// This is a hack around not having either pre-compiled headers or -// export compilation. If defined, the io, string, and valarray -// headers will include all the necessary bits. If not defined, the -// implementation optimizes the headers for the most commonly-used -// types. For the io library, this means that larger, out-of-line -// member functions are only declared, and definitions are not parsed -// by the compiler, but instead instantiated into the library binary. -#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1 - -// Allow use of the GNU syntax extension, "extern template." This -// extension is fully documented in the g++ manual, but in a nutshell, -// it inhibits all implicit instantiations and is used throughout the -// library to avoid multiple weak definitions for required types that -// are already explicitly instantiated in the library binary. This -// substantially reduces the binary size of resulting executables. -#ifndef _GLIBCPP_EXTERN_TEMPLATE -#define _GLIBCPP_EXTERN_TEMPLATE 1 -#endif - -// To enable older, ARM-style iostreams and other anachronisms use this. -//#define _GLIBCPP_DEPRECATED 1 - -// Use corrected code from the committee library group's issues list. -#define _GLIBCPP_RESOLVE_LIB_DEFECTS 1 - -// Hopefully temporary workaround to autoconf/m4 issue with quoting '@'. -#define _GLIBCPP_AT_AT "@@" - -// In those parts of the standard C++ library that use a mutex instead -// of a spin-lock, we now unconditionally use GCC's gthr.h mutex -// abstraction layer. All support to directly map to various -// threading models has been removed. Note: gthr.h may well map to -// gthr-single.h which is a correct way to express no threads support -// in gcc. Support for the undocumented _NOTHREADS has been removed. - -// Default to the typically high-speed, pool-based allocator (as -// libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3 -// snapshots). See libstdc++-v3/docs/html/17_intro/howto.html for -// details on why you don't want to override this setting. Ensure -// that threads are properly configured on your platform before -// assigning blame to the STL container-memory allocator. After doing -// so, please report any possible issues to libstdc++@gcc.gnu.org . -// Do not define __USE_MALLOC on the command line. Enforce it here: -#ifdef __USE_MALLOC -#error __USE_MALLOC should never be defined. Read the release notes. -#endif - -// Create a boolean flag to be used to determine if --fast-math is set. -#ifdef __FAST_MATH__ -#define _GLIBCPP_FAST_MATH 1 -#else -#define _GLIBCPP_FAST_MATH 0 -#endif - -// The remainder of the prewritten config is mostly automatic; all the -// user hooks are listed above. - -// End of prewritten config; the discovered settings follow. -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define _GLIBCPP_HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define _GLIBCPP_HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef _GLIBCPP_HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define _GLIBCPP_HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define _GLIBCPP_HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef _GLIBCPP_HAVE_MODFL */ - -// Define if you have the expf function. -#define _GLIBCPP_HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef _GLIBCPP_HAVE_EXPL */ - -// Define if you have the hypotf function. -#define _GLIBCPP_HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef _GLIBCPP_HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef _GLIBCPP_HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef _GLIBCPP_HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef _GLIBCPP_HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef _GLIBCPP_HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef _GLIBCPP_HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define _GLIBCPP_HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef _GLIBCPP_HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef _GLIBCPP_HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef _GLIBCPP_HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef _GLIBCPP_HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef _GLIBCPP_HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef _GLIBCPP_HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef _GLIBCPP_HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef _GLIBCPP_HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef _GLIBCPP_HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef _GLIBCPP_HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef _GLIBCPP_HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef _GLIBCPP_HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef _GLIBCPP_HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef _GLIBCPP_HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef _GLIBCPP_HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef _GLIBCPP_HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef _GLIBCPP_HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef _GLIBCPP_HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef _GLIBCPP_HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef _GLIBCPP_HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef _GLIBCPP_HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef _GLIBCPP_HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef _GLIBCPP_HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef _GLIBCPP_HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef _GLIBCPP_HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef _GLIBCPP_HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef _GLIBCPP_HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef _GLIBCPP_HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef _GLIBCPP_HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef _GLIBCPP_HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef _GLIBCPP_HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef _GLIBCPP_HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef _GLIBCPP_HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef _GLIBCPP_HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef _GLIBCPP_HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef _GLIBCPP_HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef _GLIBCPP_HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef _GLIBCPP_HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef _GLIBCPP_HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef _GLIBCPP_HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef _GLIBCPP_HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef _GLIBCPP_HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef _GLIBCPP_HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef _GLIBCPP_HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef _GLIBCPP_HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef _GLIBCPP_HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef _GLIBCPP_HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef _GLIBCPP_HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef _GLIBCPP_HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef _GLIBCPP_HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef _GLIBCPP_HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef _GLIBCPP_HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef _GLIBCPP_HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef _GLIBCPP_HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef _GLIBCPP_HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef _GLIBCPP_HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef _GLIBCPP_HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef _GLIBCPP_HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef _GLIBCPP_HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef _GLIBCPP_HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef _GLIBCPP_HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef _GLIBCPP_HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define _GLIBCPP_HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef _GLIBCPP_HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define _GLIBCPP_HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef _GLIBCPP_HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define _GLIBCPP_HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef _GLIBCPP_HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define _GLIBCPP_HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef _GLIBCPP_HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define _GLIBCPP_HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define _GLIBCPP_HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef _GLIBCPP_HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define _GLIBCPP_HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define _GLIBCPP_HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef _GLIBCPP_HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define _GLIBCPP_HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define _GLIBCPP_HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef _GLIBCPP_HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef _GLIBCPP_HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define _GLIBCPP_HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef _GLIBCPP_HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define _GLIBCPP_HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef _GLIBCPP_HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define _GLIBCPP_HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define _GLIBCPP_HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define _GLIBCPP_HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define _GLIBCPP_HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef _GLIBCPP_HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define _GLIBCPP_HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef _GLIBCPP_HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define _GLIBCPP_HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef _GLIBCPP_HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef _GLIBCPP_HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define _GLIBCPP_HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define _GLIBCPP_HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define _GLIBCPP_HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef _GLIBCPP_HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define _GLIBCPP_HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define _GLIBCPP_HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define _GLIBCPP_HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define _GLIBCPP_HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define _GLIBCPP_HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef _GLIBCPP_HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define _GLIBCPP_HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define _GLIBCPP_HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define _GLIBCPP_HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define _GLIBCPP_HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef _GLIBCPP_HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define _GLIBCPP_HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define _GLIBCPP_HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef _GLIBCPP_HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define _GLIBCPP_HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define _GLIBCPP_HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef _GLIBCPP_HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define _GLIBCPP_HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef _GLIBCPP_HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define _GLIBCPP_HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef _GLIBCPP_HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define _GLIBCPP_HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef _GLIBCPP_HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define _GLIBCPP_HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define _GLIBCPP_HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define _GLIBCPP_HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define _GLIBCPP_HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define _GLIBCPP_HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef _GLIBCPP_HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define _GLIBCPP_HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define _GLIBCPP_HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define _GLIBCPP_HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef _GLIBCPP_HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define _GLIBCPP_HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define _GLIBCPP_HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef _GLIBCPP_HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef _GLIBCPP_HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef _GLIBCPP_HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef _GLIBCPP_HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef _GLIBCPP_HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define _GLIBCPP_HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define _GLIBCPP_HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef _GLIBCPP_HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef _GLIBCPP_HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define _GLIBCPP_HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef _GLIBCPP_HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define _GLIBCPP_HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define _GLIBCPP_HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define _GLIBCPP_HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define _GLIBCPP_HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define _GLIBCPP_HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define _GLIBCPP_HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef _GLIBCPP_HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef _GLIBCPP_HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define _GLIBCPP_HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define _GLIBCPP_HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define _GLIBCPP_HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define _GLIBCPP_HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define _GLIBCPP_HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define _GLIBCPP_HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define _GLIBCPP_HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define _GLIBCPP_HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define _GLIBCPP_HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define _GLIBCPP_HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define _GLIBCPP_HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define _GLIBCPP_HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define _GLIBCPP_HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define _GLIBCPP_HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define _GLIBCPP_HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define _GLIBCPP_HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define _GLIBCPP_HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define _GLIBCPP_HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define _GLIBCPP_HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define _GLIBCPP_HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define _GLIBCPP_HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define _GLIBCPP_HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define _GLIBCPP_HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define _GLIBCPP_HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define _GLIBCPP_HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define _GLIBCPP_HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define _GLIBCPP_HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define _GLIBCPP_HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define _GLIBCPP_HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define _GLIBCPP_HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define _GLIBCPP_HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define _GLIBCPP_HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define _GLIBCPP_HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define _GLIBCPP_HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define _GLIBCPP_HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define _GLIBCPP_HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define _GLIBCPP_HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define _GLIBCPP_HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef _GLIBCPP_HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define _GLIBCPP_HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef _GLIBCPP_HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef _GLIBCPP_HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define _GLIBCPP_HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define _GLIBCPP_HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define _GLIBCPP_HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef _GLIBCPP_HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define _GLIBCPP_HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define _GLIBCPP_HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define _GLIBCPP_HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef _GLIBCPP_HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define _GLIBCPP_HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define _GLIBCPP_HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define _GLIBCPP_HAVE_LIBM 1 - -/* Name of package */ -#define _GLIBCPP_PACKAGE "libstdc++" - -/* Version number of package */ -#define _GLIBCPP_VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (_GLIBCPP_HAVE__ISNAN) && ! defined (_GLIBCPP_HAVE_ISNAN) -# define _GLIBCPP_HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (_GLIBCPP_HAVE__ISNANF) && ! defined (_GLIBCPP_HAVE_ISNANF) -# define _GLIBCPP_HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (_GLIBCPP_HAVE__ISNANL) && ! defined (_GLIBCPP_HAVE_ISNANL) -# define _GLIBCPP_HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (_GLIBCPP_HAVE__ISINF) && ! defined (_GLIBCPP_HAVE_ISINF) -# define _GLIBCPP_HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (_GLIBCPP_HAVE__ISINFF) && ! defined (_GLIBCPP_HAVE_ISINFF) -# define _GLIBCPP_HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (_GLIBCPP_HAVE__ISINFL) && ! defined (_GLIBCPP_HAVE_ISINFL) -# define _GLIBCPP_HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGN) && ! defined (_GLIBCPP_HAVE_COPYSIGN) -# define _GLIBCPP_HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGNL) && ! defined (_GLIBCPP_HAVE_COPYSIGNL) -# define _GLIBCPP_HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (_GLIBCPP_HAVE__COSF) && ! defined (_GLIBCPP_HAVE_COSF) -# define _GLIBCPP_HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSF) && ! defined (_GLIBCPP_HAVE_ACOSF) -# define _GLIBCPP_HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSL) && ! defined (_GLIBCPP_HAVE_ACOSL) -# define _GLIBCPP_HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (_GLIBCPP_HAVE__ASINF) && ! defined (_GLIBCPP_HAVE_ASINF) -# define _GLIBCPP_HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (_GLIBCPP_HAVE__ASINL) && ! defined (_GLIBCPP_HAVE_ASINL) -# define _GLIBCPP_HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (_GLIBCPP_HAVE__ATANF) && ! defined (_GLIBCPP_HAVE_ATANF) -# define _GLIBCPP_HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (_GLIBCPP_HAVE__ATANL) && ! defined (_GLIBCPP_HAVE_ATANL) -# define _GLIBCPP_HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (_GLIBCPP_HAVE__CEILF) && ! defined (_GLIBCPP_HAVE_CEILF) -# define _GLIBCPP_HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (_GLIBCPP_HAVE__CEILL) && ! defined (_GLIBCPP_HAVE_CEILL) -# define _GLIBCPP_HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (_GLIBCPP_HAVE__COSHF) && ! defined (_GLIBCPP_HAVE_COSHF) -# define _GLIBCPP_HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (_GLIBCPP_HAVE__COSL) && ! defined (_GLIBCPP_HAVE_COSL) -# define _GLIBCPP_HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (_GLIBCPP_HAVE__LOGF) && ! defined (_GLIBCPP_HAVE_LOGF) -# define _GLIBCPP_HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (_GLIBCPP_HAVE__COSHL) && ! defined (_GLIBCPP_HAVE_COSHL) -# define _GLIBCPP_HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (_GLIBCPP_HAVE__EXPF) && ! defined (_GLIBCPP_HAVE_EXPF) -# define _GLIBCPP_HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (_GLIBCPP_HAVE__EXPL) && ! defined (_GLIBCPP_HAVE_EXPL) -# define _GLIBCPP_HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (_GLIBCPP_HAVE__FABSF) && ! defined (_GLIBCPP_HAVE_FABSF) -# define _GLIBCPP_HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (_GLIBCPP_HAVE__FABSL) && ! defined (_GLIBCPP_HAVE_FABSL) -# define _GLIBCPP_HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (_GLIBCPP_HAVE__FLOORF) && ! defined (_GLIBCPP_HAVE_FLOORF) -# define _GLIBCPP_HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (_GLIBCPP_HAVE__FLOORL) && ! defined (_GLIBCPP_HAVE_FLOORL) -# define _GLIBCPP_HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (_GLIBCPP_HAVE__FMODF) && ! defined (_GLIBCPP_HAVE_FMODF) -# define _GLIBCPP_HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (_GLIBCPP_HAVE__FMODL) && ! defined (_GLIBCPP_HAVE_FMODL) -# define _GLIBCPP_HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (_GLIBCPP_HAVE__FREXPF) && ! defined (_GLIBCPP_HAVE_FREXPF) -# define _GLIBCPP_HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (_GLIBCPP_HAVE__FREXPL) && ! defined (_GLIBCPP_HAVE_FREXPL) -# define _GLIBCPP_HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPF) && ! defined (_GLIBCPP_HAVE_LDEXPF) -# define _GLIBCPP_HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPL) && ! defined (_GLIBCPP_HAVE_LDEXPL) -# define _GLIBCPP_HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (_GLIBCPP_HAVE__LOG10F) && ! defined (_GLIBCPP_HAVE_LOG10F) -# define _GLIBCPP_HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (_GLIBCPP_HAVE__LOGL) && ! defined (_GLIBCPP_HAVE_LOGL) -# define _GLIBCPP_HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (_GLIBCPP_HAVE__POWF) && ! defined (_GLIBCPP_HAVE_POWF) -# define _GLIBCPP_HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (_GLIBCPP_HAVE__LOG10L) && ! defined (_GLIBCPP_HAVE_LOG10L) -# define _GLIBCPP_HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (_GLIBCPP_HAVE__MODF) && ! defined (_GLIBCPP_HAVE_MODF) -# define _GLIBCPP_HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (_GLIBCPP_HAVE__MODL) && ! defined (_GLIBCPP_HAVE_MODL) -# define _GLIBCPP_HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (_GLIBCPP_HAVE__SINF) && ! defined (_GLIBCPP_HAVE_SINF) -# define _GLIBCPP_HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (_GLIBCPP_HAVE__POWL) && ! defined (_GLIBCPP_HAVE_POWL) -# define _GLIBCPP_HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (_GLIBCPP_HAVE__SINHF) && ! defined (_GLIBCPP_HAVE_SINHF) -# define _GLIBCPP_HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (_GLIBCPP_HAVE__SINL) && ! defined (_GLIBCPP_HAVE_SINL) -# define _GLIBCPP_HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (_GLIBCPP_HAVE__SQRTF) && ! defined (_GLIBCPP_HAVE_SQRTF) -# define _GLIBCPP_HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (_GLIBCPP_HAVE__SINHL) && ! defined (_GLIBCPP_HAVE_SINHL) -# define _GLIBCPP_HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (_GLIBCPP_HAVE__TANF) && ! defined (_GLIBCPP_HAVE_TANF) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__SQRTL) && ! defined (_GLIBCPP_HAVE_SQRTL) -# define _GLIBCPP_HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (_GLIBCPP_HAVE__TANHF) && ! defined (_GLIBCPP_HAVE_TANHF) -# define _GLIBCPP_HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (_GLIBCPP_HAVE__TANL) && ! defined (_GLIBCPP_HAVE_TANL) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__STRTOF) && ! defined (_GLIBCPP_HAVE_STRTOF) -# define _GLIBCPP_HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (_GLIBCPP_HAVE__TANHL) && ! defined (_GLIBCPP_HAVE_TANHL) -# define _GLIBCPP_HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (_GLIBCPP_HAVE__STRTOLD) && ! defined (_GLIBCPP_HAVE_STRTOLD) -# define _GLIBCPP_HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (_GLIBCPP_HAVE__SINCOS) && ! defined (_GLIBCPP_HAVE_SINCOS) -# define _GLIBCPP_HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSF) && ! defined (_GLIBCPP_HAVE_SINCOSF) -# define _GLIBCPP_HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSL) && ! defined (_GLIBCPP_HAVE_SINCOSL) -# define _GLIBCPP_HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (_GLIBCPP_HAVE__FINITE) && ! defined (_GLIBCPP_HAVE_FINITE) -# define _GLIBCPP_HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (_GLIBCPP_HAVE__FINITEF) && ! defined (_GLIBCPP_HAVE_FINITEF) -# define _GLIBCPP_HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (_GLIBCPP_HAVE__FINITEL) && ! defined (_GLIBCPP_HAVE_FINITEL) -# define _GLIBCPP_HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (_GLIBCPP_HAVE__QFINITE) && ! defined (_GLIBCPP_HAVE_QFINITE) -# define _GLIBCPP_HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (_GLIBCPP_HAVE__FPCLASS) && ! defined (_GLIBCPP_HAVE_FPCLASS) -# define _GLIBCPP_HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (_GLIBCPP_HAVE__QFPCLASS) && ! defined (_GLIBCPP_HAVE_QFPCLASS) -# define _GLIBCPP_HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - -#endif // _CPP_CPPCONFIG_ diff --git a/gnu/lib/libstdc++-v3/arch/i386/config.h b/gnu/lib/libstdc++-v3/arch/i386/config.h deleted file mode 100644 index 02ea4f7a34a..00000000000 --- a/gnu/lib/libstdc++-v3/arch/i386/config.h +++ /dev/null @@ -1,1127 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef HAVE_MODFL */ - -// Define if you have the expf function. -#define HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef HAVE_EXPL */ - -// Define if you have the hypotf function. -#define HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define HAVE_LIBM 1 - -/* Name of package */ -#define PACKAGE "libstdc++" - -/* Version number of package */ -#define VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) -# define HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) -# define HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) -# define HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) -# define HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) -# define HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) -# define HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN) -# define HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL) -# define HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (HAVE__COSF) && ! defined (HAVE_COSF) -# define HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) -# define HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) -# define HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) -# define HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) -# define HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) -# define HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) -# define HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) -# define HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) -# define HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) -# define HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (HAVE__COSL) && ! defined (HAVE_COSL) -# define HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) -# define HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) -# define HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) -# define HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) -# define HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) -# define HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) -# define HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) -# define HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) -# define HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) -# define HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) -# define HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) -# define HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) -# define HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) -# define HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) -# define HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) -# define HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (HAVE__POWF) && ! defined (HAVE_POWF) -# define HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) -# define HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (HAVE__MODF) && ! defined (HAVE_MODF) -# define HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (HAVE__MODL) && ! defined (HAVE_MODL) -# define HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (HAVE__SINF) && ! defined (HAVE_SINF) -# define HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (HAVE__POWL) && ! defined (HAVE_POWL) -# define HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) -# define HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (HAVE__SINL) && ! defined (HAVE_SINL) -# define HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) -# define HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) -# define HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (HAVE__TANF) && ! defined (HAVE_TANF) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) -# define HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) -# define HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (HAVE__TANL) && ! defined (HAVE_TANL) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) -# define HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) -# define HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) -# define HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) -# define HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) -# define HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) -# define HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) -# define HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) -# define HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) -# define HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE) -# define HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) -# define HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) -# define HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - diff --git a/gnu/lib/libstdc++-v3/arch/i386/defs.mk b/gnu/lib/libstdc++-v3/arch/i386/defs.mk deleted file mode 100644 index e66862c1dc6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/i386/defs.mk +++ /dev/null @@ -1,18 +0,0 @@ -# This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp -# -G_libmath_la_SOURCES=stubs.c -G_libmath_la_LIBADD=signbit.lo -G_LIBSUPCXX_SOURCES=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc -G_LIBSUPCXX_C_SOURCES=cxa_demangle.c dyn-string.c -G_SRC_SOURCES=bitset.cc codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc vterminate.cc wstring-inst.cc codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc basic_file.cc c++locale.cc -G_SECTION_FLAGS=-ffunction-sections -fdata-sections -G_c_base_headers_rename=cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype -G_std_headers_rename=algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector -G_bits_headers=basic_ios.h basic_ios.tcc basic_string.h basic_string.tcc boost_concept_check.h char_traits.h codecvt.h concept_check.h cpp_type_traits.h deque.tcc fpos.h fstream.tcc functexcept.h gslice.h gslice_array.h indirect_array.h ios_base.h istream.tcc list.tcc locale_classes.h locale_facets.h locale_facets.tcc localefwd.h mask_array.h ostream.tcc pthread_allocimpl.h stream_iterator.h streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h stl_algobase.h stl_alloc.h stl_bvector.h stl_construct.h stl_deque.h stl_function.h stl_heap.h stl_iterator.h stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h stl_queue.h stl_raw_storage_iter.h stl_relops.h stl_set.h stl_stack.h stl_tempbuf.h stl_threads.h stl_tree.h stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h type_traits.h valarray_array.h valarray_array.tcc valarray_meta.h vector.tcc -G_backward_headers=complex.h iomanip.h istream.h ostream.h stream.h streambuf.h algo.h algobase.h alloc.h bvector.h defalloc.h deque.h function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h iterator.h list.h map.h multimap.h new.h multiset.h pair.h queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h vector.h fstream.h strstream backward_warning.h -G_ext_headers=algorithm enc_filebuf.h stdio_filebuf.h functional hash_map hash_set iterator memory numeric rb_tree rope ropeimpl.h slist stl_hash_fun.h stl_hashtable.h stl_rope.h -G_c_base_headers_extra=cmath.tcc -G_target_headers=ctype_base.h ctype_inline.h ctype_noninline.h os_defines.h atomicity.h -G_thread_target_headers=gthr.h gthr-single.h gthr-posix.h gthr-default.h -G_target_headers_extra=basic_file.h c++config.h c++io.h c++locale.h messages_members.h time_members.h codecvt_specializations.h diff --git a/gnu/lib/libstdc++-v3/arch/i386/gthr-default.h b/gnu/lib/libstdc++-v3/arch/i386/gthr-default.h deleted file mode 100644 index 8050c2fb1c7..00000000000 --- a/gnu/lib/libstdc++-v3/arch/i386/gthr-default.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.5 2003/07/30 05:10:06 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/i386/gthr-posix.h b/gnu/lib/libstdc++-v3/arch/i386/gthr-posix.h deleted file mode 100644 index 8b6907f2375..00000000000 --- a/gnu/lib/libstdc++-v3/arch/i386/gthr-posix.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative,v 1.12 2003/03/05 06:17:17 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/i386/gthr-single.h b/gnu/lib/libstdc++-v3/arch/i386/gthr-single.h deleted file mode 100644 index 1aca68c12e6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/i386/gthr-single.h +++ /dev/null @@ -1,242 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative,v 1.12 2003/03/05 06:17:17 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H -#define _GLIBCPP_GCC_GTHR_SINGLE_H - -/* Just provide compatibility for mutex handling. */ - -typedef int __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT 0 - -#ifdef __cplusplus -#define _GLIBCPP_UNUSED(x) -#else -#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) -#endif - -#ifdef _LIBOBJC - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) -{ - /* No thread support available */ - return NULL; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) -{ - /* No thread support available */ - return -1; -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - return; -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - /* No thread support available */ - /* Should we really exit the program */ - /* exit (&__objc_thread_exit_status); */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - /* No thread support, use 1. */ - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - thread_local_storage = value; - return 0; -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), - objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - return 0; -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -#endif /* _LIBOBJC */ - -#undef _GLIBCPP_UNUSED - -#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/i386/gthr.h b/gnu/lib/libstdc++-v3/arch/i386/gthr.h deleted file mode 100644 index 5b9046dadb8..00000000000 --- a/gnu/lib/libstdc++-v3/arch/i386/gthr.h +++ /dev/null @@ -1,108 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative,v 1.12 2003/03/05 06:17:17 mrg Exp */ - -/* Threads compatibility routines for libgcc2. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1998 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_H -#define _GLIBCPP_GCC_GTHR_H - -/* If this file is compiled with threads support, it must - #define __GTHREADS 1 - to indicate that threads support is present. Also it has define - function - int __gthread_active_p () - that returns 1 if thread system is active, 0 if not. - - The threads interface must define the following types: - __gthread_key_t - __gthread_once_t - __gthread_mutex_t - - The threads interface must define the following macros: - - __GTHREAD_ONCE_INIT - to initialize __gthread_once_t - __GTHREAD_MUTEX_INIT - to initialize __gthread_mutex_t to get a fast - non-recursive mutex. - __GTHREAD_MUTEX_INIT_FUNCTION - some systems can't initialize a mutex without a - function call. On such systems, define this to a - function which looks like this: - void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *) - Don't define __GTHREAD_MUTEX_INIT in this case - - The threads interface must define the following static functions: - - int __gthread_once (__gthread_once_t *once, void (*func) ()) - - int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *)) - int __gthread_key_delete (__gthread_key_t key) - - int __gthread_key_dtor (__gthread_key_t key, void *ptr) - - void *__gthread_getspecific (__gthread_key_t key) - int __gthread_setspecific (__gthread_key_t key, const void *ptr) - - int __gthread_mutex_lock (__gthread_mutex_t *mutex); - int __gthread_mutex_trylock (__gthread_mutex_t *mutex); - int __gthread_mutex_unlock (__gthread_mutex_t *mutex); - - All functions returning int should return zero on success or the error - number. If the operation is not supported, -1 is returned. - - Currently supported threads packages are - POSIX threads with -D_PTHREADS - DCE threads with -D_DCE_THREADS - Solaris/UI threads with -D_SOLARIS_THREADS -*/ - -/* Check first for thread specific defines. */ -#if _GLIBCPP__PTHREADS -#include <bits/gthr-posix.h> -#elif _GLIBCPP__DCE_THREADS -#include <bits/gthr-dce.h> -#elif _GLIBCPP__SOLARIS_THREADS -#include <bits/gthr-solaris.h> - -/* Include GTHREAD_FILE if one is defined. */ -#elif defined(_GLIBCPP_HAVE_GTHR_DEFAULT) -#if _GLIBCPP_SUPPORTS_WEAK -#ifndef _GLIBCPP_GTHREAD_USE_WEAK -#define _GLIBCPP_GTHREAD_USE_WEAK 1 -#endif -#endif -#include <bits/gthr-default.h> - -/* Fallback to single thread definitions. */ -#else -#include <bits/gthr-single.h> -#endif - -#endif /* ! _GLIBCPP_GCC_GTHR_H */ diff --git a/gnu/lib/libstdc++-v3/arch/m68000/c++config.h b/gnu/lib/libstdc++-v3/arch/m68000/c++config.h deleted file mode 100644 index a73086022ad..00000000000 --- a/gnu/lib/libstdc++-v3/arch/m68000/c++config.h +++ /dev/null @@ -1,1228 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -// Predefined symbols and macros -*- C++ -*- - -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -// Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) -// any later version. - -// This library 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 this library; see the file COPYING. If not, write to the Free -// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _CPP_CPPCONFIG -#define _CPP_CPPCONFIG 1 - -// Pick up any OS-specific definitions. -#include <bits/os_defines.h> - -// The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20050503 - -// This is necessary until GCC supports separate template compilation. -#define _GLIBCPP_NO_TEMPLATE_EXPORT 1 - -// This is a hack around not having either pre-compiled headers or -// export compilation. If defined, the io, string, and valarray -// headers will include all the necessary bits. If not defined, the -// implementation optimizes the headers for the most commonly-used -// types. For the io library, this means that larger, out-of-line -// member functions are only declared, and definitions are not parsed -// by the compiler, but instead instantiated into the library binary. -#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1 - -// Allow use of the GNU syntax extension, "extern template." This -// extension is fully documented in the g++ manual, but in a nutshell, -// it inhibits all implicit instantiations and is used throughout the -// library to avoid multiple weak definitions for required types that -// are already explicitly instantiated in the library binary. This -// substantially reduces the binary size of resulting executables. -#ifndef _GLIBCPP_EXTERN_TEMPLATE -#define _GLIBCPP_EXTERN_TEMPLATE 1 -#endif - -// To enable older, ARM-style iostreams and other anachronisms use this. -//#define _GLIBCPP_DEPRECATED 1 - -// Use corrected code from the committee library group's issues list. -#define _GLIBCPP_RESOLVE_LIB_DEFECTS 1 - -// Hopefully temporary workaround to autoconf/m4 issue with quoting '@'. -#define _GLIBCPP_AT_AT "@@" - -// In those parts of the standard C++ library that use a mutex instead -// of a spin-lock, we now unconditionally use GCC's gthr.h mutex -// abstraction layer. All support to directly map to various -// threading models has been removed. Note: gthr.h may well map to -// gthr-single.h which is a correct way to express no threads support -// in gcc. Support for the undocumented _NOTHREADS has been removed. - -// Default to the typically high-speed, pool-based allocator (as -// libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3 -// snapshots). See libstdc++-v3/docs/html/17_intro/howto.html for -// details on why you don't want to override this setting. Ensure -// that threads are properly configured on your platform before -// assigning blame to the STL container-memory allocator. After doing -// so, please report any possible issues to libstdc++@gcc.gnu.org . -// Do not define __USE_MALLOC on the command line. Enforce it here: -#ifdef __USE_MALLOC -#error __USE_MALLOC should never be defined. Read the release notes. -#endif - -// Create a boolean flag to be used to determine if --fast-math is set. -#ifdef __FAST_MATH__ -#define _GLIBCPP_FAST_MATH 1 -#else -#define _GLIBCPP_FAST_MATH 0 -#endif - -// The remainder of the prewritten config is mostly automatic; all the -// user hooks are listed above. - -// End of prewritten config; the discovered settings follow. -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define _GLIBCPP_HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define _GLIBCPP_HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef _GLIBCPP_HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define _GLIBCPP_HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define _GLIBCPP_HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef _GLIBCPP_HAVE_MODFL */ - -// Define if you have the expf function. -#define _GLIBCPP_HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef _GLIBCPP_HAVE_EXPL */ - -// Define if you have the hypotf function. -#define _GLIBCPP_HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef _GLIBCPP_HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef _GLIBCPP_HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef _GLIBCPP_HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef _GLIBCPP_HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef _GLIBCPP_HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef _GLIBCPP_HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define _GLIBCPP_HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef _GLIBCPP_HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef _GLIBCPP_HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef _GLIBCPP_HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef _GLIBCPP_HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef _GLIBCPP_HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef _GLIBCPP_HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef _GLIBCPP_HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef _GLIBCPP_HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef _GLIBCPP_HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef _GLIBCPP_HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef _GLIBCPP_HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef _GLIBCPP_HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef _GLIBCPP_HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef _GLIBCPP_HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef _GLIBCPP_HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef _GLIBCPP_HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef _GLIBCPP_HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef _GLIBCPP_HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef _GLIBCPP_HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef _GLIBCPP_HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef _GLIBCPP_HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef _GLIBCPP_HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef _GLIBCPP_HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef _GLIBCPP_HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef _GLIBCPP_HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef _GLIBCPP_HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef _GLIBCPP_HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef _GLIBCPP_HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef _GLIBCPP_HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef _GLIBCPP_HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef _GLIBCPP_HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef _GLIBCPP_HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef _GLIBCPP_HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef _GLIBCPP_HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef _GLIBCPP_HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef _GLIBCPP_HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef _GLIBCPP_HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef _GLIBCPP_HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef _GLIBCPP_HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef _GLIBCPP_HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef _GLIBCPP_HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef _GLIBCPP_HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef _GLIBCPP_HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef _GLIBCPP_HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef _GLIBCPP_HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef _GLIBCPP_HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef _GLIBCPP_HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef _GLIBCPP_HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef _GLIBCPP_HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef _GLIBCPP_HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef _GLIBCPP_HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef _GLIBCPP_HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef _GLIBCPP_HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef _GLIBCPP_HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef _GLIBCPP_HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef _GLIBCPP_HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef _GLIBCPP_HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef _GLIBCPP_HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef _GLIBCPP_HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef _GLIBCPP_HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef _GLIBCPP_HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef _GLIBCPP_HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define _GLIBCPP_HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef _GLIBCPP_HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define _GLIBCPP_HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef _GLIBCPP_HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define _GLIBCPP_HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef _GLIBCPP_HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define _GLIBCPP_HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef _GLIBCPP_HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define _GLIBCPP_HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define _GLIBCPP_HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef _GLIBCPP_HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define _GLIBCPP_HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define _GLIBCPP_HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef _GLIBCPP_HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define _GLIBCPP_HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define _GLIBCPP_HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef _GLIBCPP_HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef _GLIBCPP_HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define _GLIBCPP_HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef _GLIBCPP_HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define _GLIBCPP_HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef _GLIBCPP_HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define _GLIBCPP_HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define _GLIBCPP_HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define _GLIBCPP_HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define _GLIBCPP_HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef _GLIBCPP_HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define _GLIBCPP_HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef _GLIBCPP_HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define _GLIBCPP_HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef _GLIBCPP_HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef _GLIBCPP_HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define _GLIBCPP_HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define _GLIBCPP_HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define _GLIBCPP_HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef _GLIBCPP_HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define _GLIBCPP_HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define _GLIBCPP_HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define _GLIBCPP_HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define _GLIBCPP_HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define _GLIBCPP_HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef _GLIBCPP_HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define _GLIBCPP_HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define _GLIBCPP_HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define _GLIBCPP_HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define _GLIBCPP_HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef _GLIBCPP_HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define _GLIBCPP_HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define _GLIBCPP_HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef _GLIBCPP_HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define _GLIBCPP_HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define _GLIBCPP_HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef _GLIBCPP_HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define _GLIBCPP_HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef _GLIBCPP_HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define _GLIBCPP_HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef _GLIBCPP_HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define _GLIBCPP_HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef _GLIBCPP_HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define _GLIBCPP_HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define _GLIBCPP_HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define _GLIBCPP_HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define _GLIBCPP_HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define _GLIBCPP_HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef _GLIBCPP_HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define _GLIBCPP_HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define _GLIBCPP_HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define _GLIBCPP_HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef _GLIBCPP_HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define _GLIBCPP_HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define _GLIBCPP_HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef _GLIBCPP_HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef _GLIBCPP_HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef _GLIBCPP_HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef _GLIBCPP_HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef _GLIBCPP_HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define _GLIBCPP_HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define _GLIBCPP_HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef _GLIBCPP_HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef _GLIBCPP_HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define _GLIBCPP_HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef _GLIBCPP_HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define _GLIBCPP_HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define _GLIBCPP_HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define _GLIBCPP_HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define _GLIBCPP_HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define _GLIBCPP_HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define _GLIBCPP_HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef _GLIBCPP_HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef _GLIBCPP_HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define _GLIBCPP_HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define _GLIBCPP_HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define _GLIBCPP_HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define _GLIBCPP_HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define _GLIBCPP_HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define _GLIBCPP_HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define _GLIBCPP_HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define _GLIBCPP_HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define _GLIBCPP_HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define _GLIBCPP_HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define _GLIBCPP_HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define _GLIBCPP_HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define _GLIBCPP_HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define _GLIBCPP_HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define _GLIBCPP_HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define _GLIBCPP_HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define _GLIBCPP_HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define _GLIBCPP_HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define _GLIBCPP_HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define _GLIBCPP_HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define _GLIBCPP_HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define _GLIBCPP_HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define _GLIBCPP_HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define _GLIBCPP_HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define _GLIBCPP_HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define _GLIBCPP_HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define _GLIBCPP_HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define _GLIBCPP_HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define _GLIBCPP_HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define _GLIBCPP_HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define _GLIBCPP_HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define _GLIBCPP_HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define _GLIBCPP_HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define _GLIBCPP_HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define _GLIBCPP_HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define _GLIBCPP_HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define _GLIBCPP_HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define _GLIBCPP_HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef _GLIBCPP_HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define _GLIBCPP_HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef _GLIBCPP_HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef _GLIBCPP_HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define _GLIBCPP_HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define _GLIBCPP_HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define _GLIBCPP_HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef _GLIBCPP_HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define _GLIBCPP_HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define _GLIBCPP_HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define _GLIBCPP_HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef _GLIBCPP_HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define _GLIBCPP_HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define _GLIBCPP_HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define _GLIBCPP_HAVE_LIBM 1 - -/* Name of package */ -#define _GLIBCPP_PACKAGE "libstdc++" - -/* Version number of package */ -#define _GLIBCPP_VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (_GLIBCPP_HAVE__ISNAN) && ! defined (_GLIBCPP_HAVE_ISNAN) -# define _GLIBCPP_HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (_GLIBCPP_HAVE__ISNANF) && ! defined (_GLIBCPP_HAVE_ISNANF) -# define _GLIBCPP_HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (_GLIBCPP_HAVE__ISNANL) && ! defined (_GLIBCPP_HAVE_ISNANL) -# define _GLIBCPP_HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (_GLIBCPP_HAVE__ISINF) && ! defined (_GLIBCPP_HAVE_ISINF) -# define _GLIBCPP_HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (_GLIBCPP_HAVE__ISINFF) && ! defined (_GLIBCPP_HAVE_ISINFF) -# define _GLIBCPP_HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (_GLIBCPP_HAVE__ISINFL) && ! defined (_GLIBCPP_HAVE_ISINFL) -# define _GLIBCPP_HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGN) && ! defined (_GLIBCPP_HAVE_COPYSIGN) -# define _GLIBCPP_HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGNL) && ! defined (_GLIBCPP_HAVE_COPYSIGNL) -# define _GLIBCPP_HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (_GLIBCPP_HAVE__COSF) && ! defined (_GLIBCPP_HAVE_COSF) -# define _GLIBCPP_HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSF) && ! defined (_GLIBCPP_HAVE_ACOSF) -# define _GLIBCPP_HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSL) && ! defined (_GLIBCPP_HAVE_ACOSL) -# define _GLIBCPP_HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (_GLIBCPP_HAVE__ASINF) && ! defined (_GLIBCPP_HAVE_ASINF) -# define _GLIBCPP_HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (_GLIBCPP_HAVE__ASINL) && ! defined (_GLIBCPP_HAVE_ASINL) -# define _GLIBCPP_HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (_GLIBCPP_HAVE__ATANF) && ! defined (_GLIBCPP_HAVE_ATANF) -# define _GLIBCPP_HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (_GLIBCPP_HAVE__ATANL) && ! defined (_GLIBCPP_HAVE_ATANL) -# define _GLIBCPP_HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (_GLIBCPP_HAVE__CEILF) && ! defined (_GLIBCPP_HAVE_CEILF) -# define _GLIBCPP_HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (_GLIBCPP_HAVE__CEILL) && ! defined (_GLIBCPP_HAVE_CEILL) -# define _GLIBCPP_HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (_GLIBCPP_HAVE__COSHF) && ! defined (_GLIBCPP_HAVE_COSHF) -# define _GLIBCPP_HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (_GLIBCPP_HAVE__COSL) && ! defined (_GLIBCPP_HAVE_COSL) -# define _GLIBCPP_HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (_GLIBCPP_HAVE__LOGF) && ! defined (_GLIBCPP_HAVE_LOGF) -# define _GLIBCPP_HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (_GLIBCPP_HAVE__COSHL) && ! defined (_GLIBCPP_HAVE_COSHL) -# define _GLIBCPP_HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (_GLIBCPP_HAVE__EXPF) && ! defined (_GLIBCPP_HAVE_EXPF) -# define _GLIBCPP_HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (_GLIBCPP_HAVE__EXPL) && ! defined (_GLIBCPP_HAVE_EXPL) -# define _GLIBCPP_HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (_GLIBCPP_HAVE__FABSF) && ! defined (_GLIBCPP_HAVE_FABSF) -# define _GLIBCPP_HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (_GLIBCPP_HAVE__FABSL) && ! defined (_GLIBCPP_HAVE_FABSL) -# define _GLIBCPP_HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (_GLIBCPP_HAVE__FLOORF) && ! defined (_GLIBCPP_HAVE_FLOORF) -# define _GLIBCPP_HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (_GLIBCPP_HAVE__FLOORL) && ! defined (_GLIBCPP_HAVE_FLOORL) -# define _GLIBCPP_HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (_GLIBCPP_HAVE__FMODF) && ! defined (_GLIBCPP_HAVE_FMODF) -# define _GLIBCPP_HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (_GLIBCPP_HAVE__FMODL) && ! defined (_GLIBCPP_HAVE_FMODL) -# define _GLIBCPP_HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (_GLIBCPP_HAVE__FREXPF) && ! defined (_GLIBCPP_HAVE_FREXPF) -# define _GLIBCPP_HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (_GLIBCPP_HAVE__FREXPL) && ! defined (_GLIBCPP_HAVE_FREXPL) -# define _GLIBCPP_HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPF) && ! defined (_GLIBCPP_HAVE_LDEXPF) -# define _GLIBCPP_HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPL) && ! defined (_GLIBCPP_HAVE_LDEXPL) -# define _GLIBCPP_HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (_GLIBCPP_HAVE__LOG10F) && ! defined (_GLIBCPP_HAVE_LOG10F) -# define _GLIBCPP_HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (_GLIBCPP_HAVE__LOGL) && ! defined (_GLIBCPP_HAVE_LOGL) -# define _GLIBCPP_HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (_GLIBCPP_HAVE__POWF) && ! defined (_GLIBCPP_HAVE_POWF) -# define _GLIBCPP_HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (_GLIBCPP_HAVE__LOG10L) && ! defined (_GLIBCPP_HAVE_LOG10L) -# define _GLIBCPP_HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (_GLIBCPP_HAVE__MODF) && ! defined (_GLIBCPP_HAVE_MODF) -# define _GLIBCPP_HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (_GLIBCPP_HAVE__MODL) && ! defined (_GLIBCPP_HAVE_MODL) -# define _GLIBCPP_HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (_GLIBCPP_HAVE__SINF) && ! defined (_GLIBCPP_HAVE_SINF) -# define _GLIBCPP_HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (_GLIBCPP_HAVE__POWL) && ! defined (_GLIBCPP_HAVE_POWL) -# define _GLIBCPP_HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (_GLIBCPP_HAVE__SINHF) && ! defined (_GLIBCPP_HAVE_SINHF) -# define _GLIBCPP_HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (_GLIBCPP_HAVE__SINL) && ! defined (_GLIBCPP_HAVE_SINL) -# define _GLIBCPP_HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (_GLIBCPP_HAVE__SQRTF) && ! defined (_GLIBCPP_HAVE_SQRTF) -# define _GLIBCPP_HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (_GLIBCPP_HAVE__SINHL) && ! defined (_GLIBCPP_HAVE_SINHL) -# define _GLIBCPP_HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (_GLIBCPP_HAVE__TANF) && ! defined (_GLIBCPP_HAVE_TANF) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__SQRTL) && ! defined (_GLIBCPP_HAVE_SQRTL) -# define _GLIBCPP_HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (_GLIBCPP_HAVE__TANHF) && ! defined (_GLIBCPP_HAVE_TANHF) -# define _GLIBCPP_HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (_GLIBCPP_HAVE__TANL) && ! defined (_GLIBCPP_HAVE_TANL) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__STRTOF) && ! defined (_GLIBCPP_HAVE_STRTOF) -# define _GLIBCPP_HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (_GLIBCPP_HAVE__TANHL) && ! defined (_GLIBCPP_HAVE_TANHL) -# define _GLIBCPP_HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (_GLIBCPP_HAVE__STRTOLD) && ! defined (_GLIBCPP_HAVE_STRTOLD) -# define _GLIBCPP_HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (_GLIBCPP_HAVE__SINCOS) && ! defined (_GLIBCPP_HAVE_SINCOS) -# define _GLIBCPP_HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSF) && ! defined (_GLIBCPP_HAVE_SINCOSF) -# define _GLIBCPP_HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSL) && ! defined (_GLIBCPP_HAVE_SINCOSL) -# define _GLIBCPP_HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (_GLIBCPP_HAVE__FINITE) && ! defined (_GLIBCPP_HAVE_FINITE) -# define _GLIBCPP_HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (_GLIBCPP_HAVE__FINITEF) && ! defined (_GLIBCPP_HAVE_FINITEF) -# define _GLIBCPP_HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (_GLIBCPP_HAVE__FINITEL) && ! defined (_GLIBCPP_HAVE_FINITEL) -# define _GLIBCPP_HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (_GLIBCPP_HAVE__QFINITE) && ! defined (_GLIBCPP_HAVE_QFINITE) -# define _GLIBCPP_HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (_GLIBCPP_HAVE__FPCLASS) && ! defined (_GLIBCPP_HAVE_FPCLASS) -# define _GLIBCPP_HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (_GLIBCPP_HAVE__QFPCLASS) && ! defined (_GLIBCPP_HAVE_QFPCLASS) -# define _GLIBCPP_HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - -#endif // _CPP_CPPCONFIG_ diff --git a/gnu/lib/libstdc++-v3/arch/m68000/config.h b/gnu/lib/libstdc++-v3/arch/m68000/config.h deleted file mode 100644 index 02ea4f7a34a..00000000000 --- a/gnu/lib/libstdc++-v3/arch/m68000/config.h +++ /dev/null @@ -1,1127 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef HAVE_MODFL */ - -// Define if you have the expf function. -#define HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef HAVE_EXPL */ - -// Define if you have the hypotf function. -#define HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define HAVE_LIBM 1 - -/* Name of package */ -#define PACKAGE "libstdc++" - -/* Version number of package */ -#define VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) -# define HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) -# define HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) -# define HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) -# define HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) -# define HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) -# define HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN) -# define HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL) -# define HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (HAVE__COSF) && ! defined (HAVE_COSF) -# define HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) -# define HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) -# define HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) -# define HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) -# define HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) -# define HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) -# define HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) -# define HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) -# define HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) -# define HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (HAVE__COSL) && ! defined (HAVE_COSL) -# define HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) -# define HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) -# define HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) -# define HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) -# define HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) -# define HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) -# define HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) -# define HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) -# define HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) -# define HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) -# define HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) -# define HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) -# define HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) -# define HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) -# define HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) -# define HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (HAVE__POWF) && ! defined (HAVE_POWF) -# define HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) -# define HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (HAVE__MODF) && ! defined (HAVE_MODF) -# define HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (HAVE__MODL) && ! defined (HAVE_MODL) -# define HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (HAVE__SINF) && ! defined (HAVE_SINF) -# define HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (HAVE__POWL) && ! defined (HAVE_POWL) -# define HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) -# define HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (HAVE__SINL) && ! defined (HAVE_SINL) -# define HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) -# define HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) -# define HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (HAVE__TANF) && ! defined (HAVE_TANF) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) -# define HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) -# define HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (HAVE__TANL) && ! defined (HAVE_TANL) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) -# define HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) -# define HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) -# define HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) -# define HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) -# define HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) -# define HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) -# define HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) -# define HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) -# define HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE) -# define HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) -# define HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) -# define HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - diff --git a/gnu/lib/libstdc++-v3/arch/m68000/defs.mk b/gnu/lib/libstdc++-v3/arch/m68000/defs.mk deleted file mode 100644 index e66862c1dc6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/m68000/defs.mk +++ /dev/null @@ -1,18 +0,0 @@ -# This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp -# -G_libmath_la_SOURCES=stubs.c -G_libmath_la_LIBADD=signbit.lo -G_LIBSUPCXX_SOURCES=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc -G_LIBSUPCXX_C_SOURCES=cxa_demangle.c dyn-string.c -G_SRC_SOURCES=bitset.cc codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc vterminate.cc wstring-inst.cc codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc basic_file.cc c++locale.cc -G_SECTION_FLAGS=-ffunction-sections -fdata-sections -G_c_base_headers_rename=cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype -G_std_headers_rename=algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector -G_bits_headers=basic_ios.h basic_ios.tcc basic_string.h basic_string.tcc boost_concept_check.h char_traits.h codecvt.h concept_check.h cpp_type_traits.h deque.tcc fpos.h fstream.tcc functexcept.h gslice.h gslice_array.h indirect_array.h ios_base.h istream.tcc list.tcc locale_classes.h locale_facets.h locale_facets.tcc localefwd.h mask_array.h ostream.tcc pthread_allocimpl.h stream_iterator.h streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h stl_algobase.h stl_alloc.h stl_bvector.h stl_construct.h stl_deque.h stl_function.h stl_heap.h stl_iterator.h stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h stl_queue.h stl_raw_storage_iter.h stl_relops.h stl_set.h stl_stack.h stl_tempbuf.h stl_threads.h stl_tree.h stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h type_traits.h valarray_array.h valarray_array.tcc valarray_meta.h vector.tcc -G_backward_headers=complex.h iomanip.h istream.h ostream.h stream.h streambuf.h algo.h algobase.h alloc.h bvector.h defalloc.h deque.h function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h iterator.h list.h map.h multimap.h new.h multiset.h pair.h queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h vector.h fstream.h strstream backward_warning.h -G_ext_headers=algorithm enc_filebuf.h stdio_filebuf.h functional hash_map hash_set iterator memory numeric rb_tree rope ropeimpl.h slist stl_hash_fun.h stl_hashtable.h stl_rope.h -G_c_base_headers_extra=cmath.tcc -G_target_headers=ctype_base.h ctype_inline.h ctype_noninline.h os_defines.h atomicity.h -G_thread_target_headers=gthr.h gthr-single.h gthr-posix.h gthr-default.h -G_target_headers_extra=basic_file.h c++config.h c++io.h c++locale.h messages_members.h time_members.h codecvt_specializations.h diff --git a/gnu/lib/libstdc++-v3/arch/m68000/gthr-default.h b/gnu/lib/libstdc++-v3/arch/m68000/gthr-default.h deleted file mode 100644 index 6d49ac3e797..00000000000 --- a/gnu/lib/libstdc++-v3/arch/m68000/gthr-default.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/m68000/gthr-posix.h b/gnu/lib/libstdc++-v3/arch/m68000/gthr-posix.h deleted file mode 100644 index 205fa9e2190..00000000000 --- a/gnu/lib/libstdc++-v3/arch/m68000/gthr-posix.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/m68000/gthr-single.h b/gnu/lib/libstdc++-v3/arch/m68000/gthr-single.h deleted file mode 100644 index 6fa2b1ed699..00000000000 --- a/gnu/lib/libstdc++-v3/arch/m68000/gthr-single.h +++ /dev/null @@ -1,242 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H -#define _GLIBCPP_GCC_GTHR_SINGLE_H - -/* Just provide compatibility for mutex handling. */ - -typedef int __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT 0 - -#ifdef __cplusplus -#define _GLIBCPP_UNUSED(x) -#else -#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) -#endif - -#ifdef _LIBOBJC - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) -{ - /* No thread support available */ - return NULL; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) -{ - /* No thread support available */ - return -1; -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - return; -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - /* No thread support available */ - /* Should we really exit the program */ - /* exit (&__objc_thread_exit_status); */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - /* No thread support, use 1. */ - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - thread_local_storage = value; - return 0; -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), - objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - return 0; -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -#endif /* _LIBOBJC */ - -#undef _GLIBCPP_UNUSED - -#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/m68000/gthr.h b/gnu/lib/libstdc++-v3/arch/m68000/gthr.h deleted file mode 100644 index d463cf98ec6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/m68000/gthr.h +++ /dev/null @@ -1,108 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1998 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_H -#define _GLIBCPP_GCC_GTHR_H - -/* If this file is compiled with threads support, it must - #define __GTHREADS 1 - to indicate that threads support is present. Also it has define - function - int __gthread_active_p () - that returns 1 if thread system is active, 0 if not. - - The threads interface must define the following types: - __gthread_key_t - __gthread_once_t - __gthread_mutex_t - - The threads interface must define the following macros: - - __GTHREAD_ONCE_INIT - to initialize __gthread_once_t - __GTHREAD_MUTEX_INIT - to initialize __gthread_mutex_t to get a fast - non-recursive mutex. - __GTHREAD_MUTEX_INIT_FUNCTION - some systems can't initialize a mutex without a - function call. On such systems, define this to a - function which looks like this: - void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *) - Don't define __GTHREAD_MUTEX_INIT in this case - - The threads interface must define the following static functions: - - int __gthread_once (__gthread_once_t *once, void (*func) ()) - - int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *)) - int __gthread_key_delete (__gthread_key_t key) - - int __gthread_key_dtor (__gthread_key_t key, void *ptr) - - void *__gthread_getspecific (__gthread_key_t key) - int __gthread_setspecific (__gthread_key_t key, const void *ptr) - - int __gthread_mutex_lock (__gthread_mutex_t *mutex); - int __gthread_mutex_trylock (__gthread_mutex_t *mutex); - int __gthread_mutex_unlock (__gthread_mutex_t *mutex); - - All functions returning int should return zero on success or the error - number. If the operation is not supported, -1 is returned. - - Currently supported threads packages are - POSIX threads with -D_PTHREADS - DCE threads with -D_DCE_THREADS - Solaris/UI threads with -D_SOLARIS_THREADS -*/ - -/* Check first for thread specific defines. */ -#if _GLIBCPP__PTHREADS -#include <bits/gthr-posix.h> -#elif _GLIBCPP__DCE_THREADS -#include <bits/gthr-dce.h> -#elif _GLIBCPP__SOLARIS_THREADS -#include <bits/gthr-solaris.h> - -/* Include GTHREAD_FILE if one is defined. */ -#elif defined(_GLIBCPP_HAVE_GTHR_DEFAULT) -#if _GLIBCPP_SUPPORTS_WEAK -#ifndef _GLIBCPP_GTHREAD_USE_WEAK -#define _GLIBCPP_GTHREAD_USE_WEAK 1 -#endif -#endif -#include <bits/gthr-default.h> - -/* Fallback to single thread definitions. */ -#else -#include <bits/gthr-single.h> -#endif - -#endif /* ! _GLIBCPP_GCC_GTHR_H */ diff --git a/gnu/lib/libstdc++-v3/arch/m68k/c++config.h b/gnu/lib/libstdc++-v3/arch/m68k/c++config.h deleted file mode 100644 index a73086022ad..00000000000 --- a/gnu/lib/libstdc++-v3/arch/m68k/c++config.h +++ /dev/null @@ -1,1228 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -// Predefined symbols and macros -*- C++ -*- - -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -// Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) -// any later version. - -// This library 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 this library; see the file COPYING. If not, write to the Free -// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _CPP_CPPCONFIG -#define _CPP_CPPCONFIG 1 - -// Pick up any OS-specific definitions. -#include <bits/os_defines.h> - -// The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20050503 - -// This is necessary until GCC supports separate template compilation. -#define _GLIBCPP_NO_TEMPLATE_EXPORT 1 - -// This is a hack around not having either pre-compiled headers or -// export compilation. If defined, the io, string, and valarray -// headers will include all the necessary bits. If not defined, the -// implementation optimizes the headers for the most commonly-used -// types. For the io library, this means that larger, out-of-line -// member functions are only declared, and definitions are not parsed -// by the compiler, but instead instantiated into the library binary. -#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1 - -// Allow use of the GNU syntax extension, "extern template." This -// extension is fully documented in the g++ manual, but in a nutshell, -// it inhibits all implicit instantiations and is used throughout the -// library to avoid multiple weak definitions for required types that -// are already explicitly instantiated in the library binary. This -// substantially reduces the binary size of resulting executables. -#ifndef _GLIBCPP_EXTERN_TEMPLATE -#define _GLIBCPP_EXTERN_TEMPLATE 1 -#endif - -// To enable older, ARM-style iostreams and other anachronisms use this. -//#define _GLIBCPP_DEPRECATED 1 - -// Use corrected code from the committee library group's issues list. -#define _GLIBCPP_RESOLVE_LIB_DEFECTS 1 - -// Hopefully temporary workaround to autoconf/m4 issue with quoting '@'. -#define _GLIBCPP_AT_AT "@@" - -// In those parts of the standard C++ library that use a mutex instead -// of a spin-lock, we now unconditionally use GCC's gthr.h mutex -// abstraction layer. All support to directly map to various -// threading models has been removed. Note: gthr.h may well map to -// gthr-single.h which is a correct way to express no threads support -// in gcc. Support for the undocumented _NOTHREADS has been removed. - -// Default to the typically high-speed, pool-based allocator (as -// libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3 -// snapshots). See libstdc++-v3/docs/html/17_intro/howto.html for -// details on why you don't want to override this setting. Ensure -// that threads are properly configured on your platform before -// assigning blame to the STL container-memory allocator. After doing -// so, please report any possible issues to libstdc++@gcc.gnu.org . -// Do not define __USE_MALLOC on the command line. Enforce it here: -#ifdef __USE_MALLOC -#error __USE_MALLOC should never be defined. Read the release notes. -#endif - -// Create a boolean flag to be used to determine if --fast-math is set. -#ifdef __FAST_MATH__ -#define _GLIBCPP_FAST_MATH 1 -#else -#define _GLIBCPP_FAST_MATH 0 -#endif - -// The remainder of the prewritten config is mostly automatic; all the -// user hooks are listed above. - -// End of prewritten config; the discovered settings follow. -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define _GLIBCPP_HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define _GLIBCPP_HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef _GLIBCPP_HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define _GLIBCPP_HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define _GLIBCPP_HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef _GLIBCPP_HAVE_MODFL */ - -// Define if you have the expf function. -#define _GLIBCPP_HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef _GLIBCPP_HAVE_EXPL */ - -// Define if you have the hypotf function. -#define _GLIBCPP_HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef _GLIBCPP_HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef _GLIBCPP_HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef _GLIBCPP_HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef _GLIBCPP_HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef _GLIBCPP_HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef _GLIBCPP_HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define _GLIBCPP_HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef _GLIBCPP_HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef _GLIBCPP_HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef _GLIBCPP_HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef _GLIBCPP_HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef _GLIBCPP_HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef _GLIBCPP_HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef _GLIBCPP_HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef _GLIBCPP_HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef _GLIBCPP_HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef _GLIBCPP_HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef _GLIBCPP_HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef _GLIBCPP_HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef _GLIBCPP_HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef _GLIBCPP_HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef _GLIBCPP_HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef _GLIBCPP_HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef _GLIBCPP_HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef _GLIBCPP_HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef _GLIBCPP_HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef _GLIBCPP_HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef _GLIBCPP_HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef _GLIBCPP_HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef _GLIBCPP_HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef _GLIBCPP_HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef _GLIBCPP_HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef _GLIBCPP_HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef _GLIBCPP_HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef _GLIBCPP_HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef _GLIBCPP_HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef _GLIBCPP_HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef _GLIBCPP_HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef _GLIBCPP_HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef _GLIBCPP_HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef _GLIBCPP_HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef _GLIBCPP_HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef _GLIBCPP_HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef _GLIBCPP_HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef _GLIBCPP_HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef _GLIBCPP_HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef _GLIBCPP_HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef _GLIBCPP_HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef _GLIBCPP_HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef _GLIBCPP_HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef _GLIBCPP_HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef _GLIBCPP_HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef _GLIBCPP_HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef _GLIBCPP_HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef _GLIBCPP_HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef _GLIBCPP_HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef _GLIBCPP_HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef _GLIBCPP_HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef _GLIBCPP_HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef _GLIBCPP_HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef _GLIBCPP_HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef _GLIBCPP_HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef _GLIBCPP_HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef _GLIBCPP_HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef _GLIBCPP_HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef _GLIBCPP_HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef _GLIBCPP_HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef _GLIBCPP_HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef _GLIBCPP_HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define _GLIBCPP_HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef _GLIBCPP_HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define _GLIBCPP_HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef _GLIBCPP_HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define _GLIBCPP_HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef _GLIBCPP_HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define _GLIBCPP_HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef _GLIBCPP_HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define _GLIBCPP_HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define _GLIBCPP_HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef _GLIBCPP_HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define _GLIBCPP_HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define _GLIBCPP_HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef _GLIBCPP_HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define _GLIBCPP_HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define _GLIBCPP_HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef _GLIBCPP_HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef _GLIBCPP_HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define _GLIBCPP_HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef _GLIBCPP_HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define _GLIBCPP_HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef _GLIBCPP_HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define _GLIBCPP_HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define _GLIBCPP_HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define _GLIBCPP_HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define _GLIBCPP_HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef _GLIBCPP_HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define _GLIBCPP_HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef _GLIBCPP_HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define _GLIBCPP_HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef _GLIBCPP_HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef _GLIBCPP_HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define _GLIBCPP_HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define _GLIBCPP_HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define _GLIBCPP_HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef _GLIBCPP_HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define _GLIBCPP_HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define _GLIBCPP_HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define _GLIBCPP_HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define _GLIBCPP_HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define _GLIBCPP_HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef _GLIBCPP_HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define _GLIBCPP_HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define _GLIBCPP_HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define _GLIBCPP_HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define _GLIBCPP_HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef _GLIBCPP_HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define _GLIBCPP_HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define _GLIBCPP_HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef _GLIBCPP_HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define _GLIBCPP_HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define _GLIBCPP_HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef _GLIBCPP_HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define _GLIBCPP_HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef _GLIBCPP_HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define _GLIBCPP_HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef _GLIBCPP_HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define _GLIBCPP_HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef _GLIBCPP_HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define _GLIBCPP_HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define _GLIBCPP_HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define _GLIBCPP_HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define _GLIBCPP_HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define _GLIBCPP_HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef _GLIBCPP_HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define _GLIBCPP_HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define _GLIBCPP_HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define _GLIBCPP_HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef _GLIBCPP_HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define _GLIBCPP_HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define _GLIBCPP_HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef _GLIBCPP_HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef _GLIBCPP_HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef _GLIBCPP_HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef _GLIBCPP_HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef _GLIBCPP_HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define _GLIBCPP_HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define _GLIBCPP_HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef _GLIBCPP_HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef _GLIBCPP_HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define _GLIBCPP_HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef _GLIBCPP_HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define _GLIBCPP_HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define _GLIBCPP_HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define _GLIBCPP_HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define _GLIBCPP_HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define _GLIBCPP_HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define _GLIBCPP_HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef _GLIBCPP_HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef _GLIBCPP_HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define _GLIBCPP_HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define _GLIBCPP_HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define _GLIBCPP_HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define _GLIBCPP_HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define _GLIBCPP_HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define _GLIBCPP_HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define _GLIBCPP_HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define _GLIBCPP_HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define _GLIBCPP_HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define _GLIBCPP_HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define _GLIBCPP_HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define _GLIBCPP_HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define _GLIBCPP_HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define _GLIBCPP_HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define _GLIBCPP_HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define _GLIBCPP_HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define _GLIBCPP_HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define _GLIBCPP_HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define _GLIBCPP_HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define _GLIBCPP_HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define _GLIBCPP_HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define _GLIBCPP_HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define _GLIBCPP_HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define _GLIBCPP_HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define _GLIBCPP_HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define _GLIBCPP_HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define _GLIBCPP_HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define _GLIBCPP_HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define _GLIBCPP_HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define _GLIBCPP_HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define _GLIBCPP_HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define _GLIBCPP_HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define _GLIBCPP_HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define _GLIBCPP_HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define _GLIBCPP_HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define _GLIBCPP_HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define _GLIBCPP_HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define _GLIBCPP_HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef _GLIBCPP_HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define _GLIBCPP_HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef _GLIBCPP_HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef _GLIBCPP_HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define _GLIBCPP_HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define _GLIBCPP_HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define _GLIBCPP_HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef _GLIBCPP_HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define _GLIBCPP_HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define _GLIBCPP_HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define _GLIBCPP_HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef _GLIBCPP_HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define _GLIBCPP_HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define _GLIBCPP_HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define _GLIBCPP_HAVE_LIBM 1 - -/* Name of package */ -#define _GLIBCPP_PACKAGE "libstdc++" - -/* Version number of package */ -#define _GLIBCPP_VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (_GLIBCPP_HAVE__ISNAN) && ! defined (_GLIBCPP_HAVE_ISNAN) -# define _GLIBCPP_HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (_GLIBCPP_HAVE__ISNANF) && ! defined (_GLIBCPP_HAVE_ISNANF) -# define _GLIBCPP_HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (_GLIBCPP_HAVE__ISNANL) && ! defined (_GLIBCPP_HAVE_ISNANL) -# define _GLIBCPP_HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (_GLIBCPP_HAVE__ISINF) && ! defined (_GLIBCPP_HAVE_ISINF) -# define _GLIBCPP_HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (_GLIBCPP_HAVE__ISINFF) && ! defined (_GLIBCPP_HAVE_ISINFF) -# define _GLIBCPP_HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (_GLIBCPP_HAVE__ISINFL) && ! defined (_GLIBCPP_HAVE_ISINFL) -# define _GLIBCPP_HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGN) && ! defined (_GLIBCPP_HAVE_COPYSIGN) -# define _GLIBCPP_HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGNL) && ! defined (_GLIBCPP_HAVE_COPYSIGNL) -# define _GLIBCPP_HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (_GLIBCPP_HAVE__COSF) && ! defined (_GLIBCPP_HAVE_COSF) -# define _GLIBCPP_HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSF) && ! defined (_GLIBCPP_HAVE_ACOSF) -# define _GLIBCPP_HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSL) && ! defined (_GLIBCPP_HAVE_ACOSL) -# define _GLIBCPP_HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (_GLIBCPP_HAVE__ASINF) && ! defined (_GLIBCPP_HAVE_ASINF) -# define _GLIBCPP_HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (_GLIBCPP_HAVE__ASINL) && ! defined (_GLIBCPP_HAVE_ASINL) -# define _GLIBCPP_HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (_GLIBCPP_HAVE__ATANF) && ! defined (_GLIBCPP_HAVE_ATANF) -# define _GLIBCPP_HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (_GLIBCPP_HAVE__ATANL) && ! defined (_GLIBCPP_HAVE_ATANL) -# define _GLIBCPP_HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (_GLIBCPP_HAVE__CEILF) && ! defined (_GLIBCPP_HAVE_CEILF) -# define _GLIBCPP_HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (_GLIBCPP_HAVE__CEILL) && ! defined (_GLIBCPP_HAVE_CEILL) -# define _GLIBCPP_HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (_GLIBCPP_HAVE__COSHF) && ! defined (_GLIBCPP_HAVE_COSHF) -# define _GLIBCPP_HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (_GLIBCPP_HAVE__COSL) && ! defined (_GLIBCPP_HAVE_COSL) -# define _GLIBCPP_HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (_GLIBCPP_HAVE__LOGF) && ! defined (_GLIBCPP_HAVE_LOGF) -# define _GLIBCPP_HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (_GLIBCPP_HAVE__COSHL) && ! defined (_GLIBCPP_HAVE_COSHL) -# define _GLIBCPP_HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (_GLIBCPP_HAVE__EXPF) && ! defined (_GLIBCPP_HAVE_EXPF) -# define _GLIBCPP_HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (_GLIBCPP_HAVE__EXPL) && ! defined (_GLIBCPP_HAVE_EXPL) -# define _GLIBCPP_HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (_GLIBCPP_HAVE__FABSF) && ! defined (_GLIBCPP_HAVE_FABSF) -# define _GLIBCPP_HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (_GLIBCPP_HAVE__FABSL) && ! defined (_GLIBCPP_HAVE_FABSL) -# define _GLIBCPP_HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (_GLIBCPP_HAVE__FLOORF) && ! defined (_GLIBCPP_HAVE_FLOORF) -# define _GLIBCPP_HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (_GLIBCPP_HAVE__FLOORL) && ! defined (_GLIBCPP_HAVE_FLOORL) -# define _GLIBCPP_HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (_GLIBCPP_HAVE__FMODF) && ! defined (_GLIBCPP_HAVE_FMODF) -# define _GLIBCPP_HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (_GLIBCPP_HAVE__FMODL) && ! defined (_GLIBCPP_HAVE_FMODL) -# define _GLIBCPP_HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (_GLIBCPP_HAVE__FREXPF) && ! defined (_GLIBCPP_HAVE_FREXPF) -# define _GLIBCPP_HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (_GLIBCPP_HAVE__FREXPL) && ! defined (_GLIBCPP_HAVE_FREXPL) -# define _GLIBCPP_HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPF) && ! defined (_GLIBCPP_HAVE_LDEXPF) -# define _GLIBCPP_HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPL) && ! defined (_GLIBCPP_HAVE_LDEXPL) -# define _GLIBCPP_HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (_GLIBCPP_HAVE__LOG10F) && ! defined (_GLIBCPP_HAVE_LOG10F) -# define _GLIBCPP_HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (_GLIBCPP_HAVE__LOGL) && ! defined (_GLIBCPP_HAVE_LOGL) -# define _GLIBCPP_HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (_GLIBCPP_HAVE__POWF) && ! defined (_GLIBCPP_HAVE_POWF) -# define _GLIBCPP_HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (_GLIBCPP_HAVE__LOG10L) && ! defined (_GLIBCPP_HAVE_LOG10L) -# define _GLIBCPP_HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (_GLIBCPP_HAVE__MODF) && ! defined (_GLIBCPP_HAVE_MODF) -# define _GLIBCPP_HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (_GLIBCPP_HAVE__MODL) && ! defined (_GLIBCPP_HAVE_MODL) -# define _GLIBCPP_HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (_GLIBCPP_HAVE__SINF) && ! defined (_GLIBCPP_HAVE_SINF) -# define _GLIBCPP_HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (_GLIBCPP_HAVE__POWL) && ! defined (_GLIBCPP_HAVE_POWL) -# define _GLIBCPP_HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (_GLIBCPP_HAVE__SINHF) && ! defined (_GLIBCPP_HAVE_SINHF) -# define _GLIBCPP_HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (_GLIBCPP_HAVE__SINL) && ! defined (_GLIBCPP_HAVE_SINL) -# define _GLIBCPP_HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (_GLIBCPP_HAVE__SQRTF) && ! defined (_GLIBCPP_HAVE_SQRTF) -# define _GLIBCPP_HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (_GLIBCPP_HAVE__SINHL) && ! defined (_GLIBCPP_HAVE_SINHL) -# define _GLIBCPP_HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (_GLIBCPP_HAVE__TANF) && ! defined (_GLIBCPP_HAVE_TANF) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__SQRTL) && ! defined (_GLIBCPP_HAVE_SQRTL) -# define _GLIBCPP_HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (_GLIBCPP_HAVE__TANHF) && ! defined (_GLIBCPP_HAVE_TANHF) -# define _GLIBCPP_HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (_GLIBCPP_HAVE__TANL) && ! defined (_GLIBCPP_HAVE_TANL) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__STRTOF) && ! defined (_GLIBCPP_HAVE_STRTOF) -# define _GLIBCPP_HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (_GLIBCPP_HAVE__TANHL) && ! defined (_GLIBCPP_HAVE_TANHL) -# define _GLIBCPP_HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (_GLIBCPP_HAVE__STRTOLD) && ! defined (_GLIBCPP_HAVE_STRTOLD) -# define _GLIBCPP_HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (_GLIBCPP_HAVE__SINCOS) && ! defined (_GLIBCPP_HAVE_SINCOS) -# define _GLIBCPP_HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSF) && ! defined (_GLIBCPP_HAVE_SINCOSF) -# define _GLIBCPP_HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSL) && ! defined (_GLIBCPP_HAVE_SINCOSL) -# define _GLIBCPP_HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (_GLIBCPP_HAVE__FINITE) && ! defined (_GLIBCPP_HAVE_FINITE) -# define _GLIBCPP_HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (_GLIBCPP_HAVE__FINITEF) && ! defined (_GLIBCPP_HAVE_FINITEF) -# define _GLIBCPP_HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (_GLIBCPP_HAVE__FINITEL) && ! defined (_GLIBCPP_HAVE_FINITEL) -# define _GLIBCPP_HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (_GLIBCPP_HAVE__QFINITE) && ! defined (_GLIBCPP_HAVE_QFINITE) -# define _GLIBCPP_HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (_GLIBCPP_HAVE__FPCLASS) && ! defined (_GLIBCPP_HAVE_FPCLASS) -# define _GLIBCPP_HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (_GLIBCPP_HAVE__QFPCLASS) && ! defined (_GLIBCPP_HAVE_QFPCLASS) -# define _GLIBCPP_HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - -#endif // _CPP_CPPCONFIG_ diff --git a/gnu/lib/libstdc++-v3/arch/m68k/config.h b/gnu/lib/libstdc++-v3/arch/m68k/config.h deleted file mode 100644 index 02ea4f7a34a..00000000000 --- a/gnu/lib/libstdc++-v3/arch/m68k/config.h +++ /dev/null @@ -1,1127 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef HAVE_MODFL */ - -// Define if you have the expf function. -#define HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef HAVE_EXPL */ - -// Define if you have the hypotf function. -#define HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define HAVE_LIBM 1 - -/* Name of package */ -#define PACKAGE "libstdc++" - -/* Version number of package */ -#define VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) -# define HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) -# define HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) -# define HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) -# define HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) -# define HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) -# define HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN) -# define HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL) -# define HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (HAVE__COSF) && ! defined (HAVE_COSF) -# define HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) -# define HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) -# define HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) -# define HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) -# define HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) -# define HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) -# define HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) -# define HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) -# define HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) -# define HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (HAVE__COSL) && ! defined (HAVE_COSL) -# define HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) -# define HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) -# define HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) -# define HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) -# define HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) -# define HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) -# define HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) -# define HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) -# define HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) -# define HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) -# define HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) -# define HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) -# define HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) -# define HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) -# define HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) -# define HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (HAVE__POWF) && ! defined (HAVE_POWF) -# define HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) -# define HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (HAVE__MODF) && ! defined (HAVE_MODF) -# define HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (HAVE__MODL) && ! defined (HAVE_MODL) -# define HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (HAVE__SINF) && ! defined (HAVE_SINF) -# define HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (HAVE__POWL) && ! defined (HAVE_POWL) -# define HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) -# define HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (HAVE__SINL) && ! defined (HAVE_SINL) -# define HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) -# define HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) -# define HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (HAVE__TANF) && ! defined (HAVE_TANF) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) -# define HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) -# define HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (HAVE__TANL) && ! defined (HAVE_TANL) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) -# define HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) -# define HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) -# define HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) -# define HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) -# define HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) -# define HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) -# define HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) -# define HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) -# define HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE) -# define HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) -# define HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) -# define HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - diff --git a/gnu/lib/libstdc++-v3/arch/m68k/defs.mk b/gnu/lib/libstdc++-v3/arch/m68k/defs.mk deleted file mode 100644 index e66862c1dc6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/m68k/defs.mk +++ /dev/null @@ -1,18 +0,0 @@ -# This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp -# -G_libmath_la_SOURCES=stubs.c -G_libmath_la_LIBADD=signbit.lo -G_LIBSUPCXX_SOURCES=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc -G_LIBSUPCXX_C_SOURCES=cxa_demangle.c dyn-string.c -G_SRC_SOURCES=bitset.cc codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc vterminate.cc wstring-inst.cc codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc basic_file.cc c++locale.cc -G_SECTION_FLAGS=-ffunction-sections -fdata-sections -G_c_base_headers_rename=cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype -G_std_headers_rename=algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector -G_bits_headers=basic_ios.h basic_ios.tcc basic_string.h basic_string.tcc boost_concept_check.h char_traits.h codecvt.h concept_check.h cpp_type_traits.h deque.tcc fpos.h fstream.tcc functexcept.h gslice.h gslice_array.h indirect_array.h ios_base.h istream.tcc list.tcc locale_classes.h locale_facets.h locale_facets.tcc localefwd.h mask_array.h ostream.tcc pthread_allocimpl.h stream_iterator.h streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h stl_algobase.h stl_alloc.h stl_bvector.h stl_construct.h stl_deque.h stl_function.h stl_heap.h stl_iterator.h stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h stl_queue.h stl_raw_storage_iter.h stl_relops.h stl_set.h stl_stack.h stl_tempbuf.h stl_threads.h stl_tree.h stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h type_traits.h valarray_array.h valarray_array.tcc valarray_meta.h vector.tcc -G_backward_headers=complex.h iomanip.h istream.h ostream.h stream.h streambuf.h algo.h algobase.h alloc.h bvector.h defalloc.h deque.h function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h iterator.h list.h map.h multimap.h new.h multiset.h pair.h queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h vector.h fstream.h strstream backward_warning.h -G_ext_headers=algorithm enc_filebuf.h stdio_filebuf.h functional hash_map hash_set iterator memory numeric rb_tree rope ropeimpl.h slist stl_hash_fun.h stl_hashtable.h stl_rope.h -G_c_base_headers_extra=cmath.tcc -G_target_headers=ctype_base.h ctype_inline.h ctype_noninline.h os_defines.h atomicity.h -G_thread_target_headers=gthr.h gthr-single.h gthr-posix.h gthr-default.h -G_target_headers_extra=basic_file.h c++config.h c++io.h c++locale.h messages_members.h time_members.h codecvt_specializations.h diff --git a/gnu/lib/libstdc++-v3/arch/m68k/gthr-default.h b/gnu/lib/libstdc++-v3/arch/m68k/gthr-default.h deleted file mode 100644 index 4e720ae28e4..00000000000 --- a/gnu/lib/libstdc++-v3/arch/m68k/gthr-default.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.6 2003/08/01 02:44:56 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/m68k/gthr-posix.h b/gnu/lib/libstdc++-v3/arch/m68k/gthr-posix.h deleted file mode 100644 index 205fa9e2190..00000000000 --- a/gnu/lib/libstdc++-v3/arch/m68k/gthr-posix.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/m68k/gthr-single.h b/gnu/lib/libstdc++-v3/arch/m68k/gthr-single.h deleted file mode 100644 index 6fa2b1ed699..00000000000 --- a/gnu/lib/libstdc++-v3/arch/m68k/gthr-single.h +++ /dev/null @@ -1,242 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H -#define _GLIBCPP_GCC_GTHR_SINGLE_H - -/* Just provide compatibility for mutex handling. */ - -typedef int __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT 0 - -#ifdef __cplusplus -#define _GLIBCPP_UNUSED(x) -#else -#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) -#endif - -#ifdef _LIBOBJC - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) -{ - /* No thread support available */ - return NULL; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) -{ - /* No thread support available */ - return -1; -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - return; -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - /* No thread support available */ - /* Should we really exit the program */ - /* exit (&__objc_thread_exit_status); */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - /* No thread support, use 1. */ - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - thread_local_storage = value; - return 0; -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), - objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - return 0; -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -#endif /* _LIBOBJC */ - -#undef _GLIBCPP_UNUSED - -#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/m68k/gthr.h b/gnu/lib/libstdc++-v3/arch/m68k/gthr.h deleted file mode 100644 index d463cf98ec6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/m68k/gthr.h +++ /dev/null @@ -1,108 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1998 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_H -#define _GLIBCPP_GCC_GTHR_H - -/* If this file is compiled with threads support, it must - #define __GTHREADS 1 - to indicate that threads support is present. Also it has define - function - int __gthread_active_p () - that returns 1 if thread system is active, 0 if not. - - The threads interface must define the following types: - __gthread_key_t - __gthread_once_t - __gthread_mutex_t - - The threads interface must define the following macros: - - __GTHREAD_ONCE_INIT - to initialize __gthread_once_t - __GTHREAD_MUTEX_INIT - to initialize __gthread_mutex_t to get a fast - non-recursive mutex. - __GTHREAD_MUTEX_INIT_FUNCTION - some systems can't initialize a mutex without a - function call. On such systems, define this to a - function which looks like this: - void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *) - Don't define __GTHREAD_MUTEX_INIT in this case - - The threads interface must define the following static functions: - - int __gthread_once (__gthread_once_t *once, void (*func) ()) - - int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *)) - int __gthread_key_delete (__gthread_key_t key) - - int __gthread_key_dtor (__gthread_key_t key, void *ptr) - - void *__gthread_getspecific (__gthread_key_t key) - int __gthread_setspecific (__gthread_key_t key, const void *ptr) - - int __gthread_mutex_lock (__gthread_mutex_t *mutex); - int __gthread_mutex_trylock (__gthread_mutex_t *mutex); - int __gthread_mutex_unlock (__gthread_mutex_t *mutex); - - All functions returning int should return zero on success or the error - number. If the operation is not supported, -1 is returned. - - Currently supported threads packages are - POSIX threads with -D_PTHREADS - DCE threads with -D_DCE_THREADS - Solaris/UI threads with -D_SOLARIS_THREADS -*/ - -/* Check first for thread specific defines. */ -#if _GLIBCPP__PTHREADS -#include <bits/gthr-posix.h> -#elif _GLIBCPP__DCE_THREADS -#include <bits/gthr-dce.h> -#elif _GLIBCPP__SOLARIS_THREADS -#include <bits/gthr-solaris.h> - -/* Include GTHREAD_FILE if one is defined. */ -#elif defined(_GLIBCPP_HAVE_GTHR_DEFAULT) -#if _GLIBCPP_SUPPORTS_WEAK -#ifndef _GLIBCPP_GTHREAD_USE_WEAK -#define _GLIBCPP_GTHREAD_USE_WEAK 1 -#endif -#endif -#include <bits/gthr-default.h> - -/* Fallback to single thread definitions. */ -#else -#include <bits/gthr-single.h> -#endif - -#endif /* ! _GLIBCPP_GCC_GTHR_H */ diff --git a/gnu/lib/libstdc++-v3/arch/mipseb/c++config.h b/gnu/lib/libstdc++-v3/arch/mipseb/c++config.h deleted file mode 100644 index a73086022ad..00000000000 --- a/gnu/lib/libstdc++-v3/arch/mipseb/c++config.h +++ /dev/null @@ -1,1228 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -// Predefined symbols and macros -*- C++ -*- - -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -// Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) -// any later version. - -// This library 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 this library; see the file COPYING. If not, write to the Free -// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _CPP_CPPCONFIG -#define _CPP_CPPCONFIG 1 - -// Pick up any OS-specific definitions. -#include <bits/os_defines.h> - -// The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20050503 - -// This is necessary until GCC supports separate template compilation. -#define _GLIBCPP_NO_TEMPLATE_EXPORT 1 - -// This is a hack around not having either pre-compiled headers or -// export compilation. If defined, the io, string, and valarray -// headers will include all the necessary bits. If not defined, the -// implementation optimizes the headers for the most commonly-used -// types. For the io library, this means that larger, out-of-line -// member functions are only declared, and definitions are not parsed -// by the compiler, but instead instantiated into the library binary. -#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1 - -// Allow use of the GNU syntax extension, "extern template." This -// extension is fully documented in the g++ manual, but in a nutshell, -// it inhibits all implicit instantiations and is used throughout the -// library to avoid multiple weak definitions for required types that -// are already explicitly instantiated in the library binary. This -// substantially reduces the binary size of resulting executables. -#ifndef _GLIBCPP_EXTERN_TEMPLATE -#define _GLIBCPP_EXTERN_TEMPLATE 1 -#endif - -// To enable older, ARM-style iostreams and other anachronisms use this. -//#define _GLIBCPP_DEPRECATED 1 - -// Use corrected code from the committee library group's issues list. -#define _GLIBCPP_RESOLVE_LIB_DEFECTS 1 - -// Hopefully temporary workaround to autoconf/m4 issue with quoting '@'. -#define _GLIBCPP_AT_AT "@@" - -// In those parts of the standard C++ library that use a mutex instead -// of a spin-lock, we now unconditionally use GCC's gthr.h mutex -// abstraction layer. All support to directly map to various -// threading models has been removed. Note: gthr.h may well map to -// gthr-single.h which is a correct way to express no threads support -// in gcc. Support for the undocumented _NOTHREADS has been removed. - -// Default to the typically high-speed, pool-based allocator (as -// libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3 -// snapshots). See libstdc++-v3/docs/html/17_intro/howto.html for -// details on why you don't want to override this setting. Ensure -// that threads are properly configured on your platform before -// assigning blame to the STL container-memory allocator. After doing -// so, please report any possible issues to libstdc++@gcc.gnu.org . -// Do not define __USE_MALLOC on the command line. Enforce it here: -#ifdef __USE_MALLOC -#error __USE_MALLOC should never be defined. Read the release notes. -#endif - -// Create a boolean flag to be used to determine if --fast-math is set. -#ifdef __FAST_MATH__ -#define _GLIBCPP_FAST_MATH 1 -#else -#define _GLIBCPP_FAST_MATH 0 -#endif - -// The remainder of the prewritten config is mostly automatic; all the -// user hooks are listed above. - -// End of prewritten config; the discovered settings follow. -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define _GLIBCPP_HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define _GLIBCPP_HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef _GLIBCPP_HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define _GLIBCPP_HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define _GLIBCPP_HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef _GLIBCPP_HAVE_MODFL */ - -// Define if you have the expf function. -#define _GLIBCPP_HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef _GLIBCPP_HAVE_EXPL */ - -// Define if you have the hypotf function. -#define _GLIBCPP_HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef _GLIBCPP_HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef _GLIBCPP_HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef _GLIBCPP_HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef _GLIBCPP_HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef _GLIBCPP_HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef _GLIBCPP_HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define _GLIBCPP_HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef _GLIBCPP_HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef _GLIBCPP_HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef _GLIBCPP_HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef _GLIBCPP_HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef _GLIBCPP_HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef _GLIBCPP_HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef _GLIBCPP_HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef _GLIBCPP_HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef _GLIBCPP_HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef _GLIBCPP_HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef _GLIBCPP_HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef _GLIBCPP_HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef _GLIBCPP_HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef _GLIBCPP_HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef _GLIBCPP_HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef _GLIBCPP_HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef _GLIBCPP_HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef _GLIBCPP_HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef _GLIBCPP_HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef _GLIBCPP_HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef _GLIBCPP_HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef _GLIBCPP_HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef _GLIBCPP_HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef _GLIBCPP_HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef _GLIBCPP_HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef _GLIBCPP_HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef _GLIBCPP_HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef _GLIBCPP_HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef _GLIBCPP_HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef _GLIBCPP_HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef _GLIBCPP_HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef _GLIBCPP_HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef _GLIBCPP_HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef _GLIBCPP_HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef _GLIBCPP_HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef _GLIBCPP_HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef _GLIBCPP_HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef _GLIBCPP_HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef _GLIBCPP_HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef _GLIBCPP_HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef _GLIBCPP_HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef _GLIBCPP_HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef _GLIBCPP_HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef _GLIBCPP_HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef _GLIBCPP_HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef _GLIBCPP_HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef _GLIBCPP_HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef _GLIBCPP_HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef _GLIBCPP_HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef _GLIBCPP_HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef _GLIBCPP_HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef _GLIBCPP_HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef _GLIBCPP_HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef _GLIBCPP_HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef _GLIBCPP_HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef _GLIBCPP_HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef _GLIBCPP_HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef _GLIBCPP_HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef _GLIBCPP_HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef _GLIBCPP_HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef _GLIBCPP_HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef _GLIBCPP_HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define _GLIBCPP_HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef _GLIBCPP_HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define _GLIBCPP_HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef _GLIBCPP_HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define _GLIBCPP_HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef _GLIBCPP_HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define _GLIBCPP_HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef _GLIBCPP_HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define _GLIBCPP_HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define _GLIBCPP_HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef _GLIBCPP_HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define _GLIBCPP_HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define _GLIBCPP_HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef _GLIBCPP_HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define _GLIBCPP_HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define _GLIBCPP_HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef _GLIBCPP_HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef _GLIBCPP_HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define _GLIBCPP_HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef _GLIBCPP_HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define _GLIBCPP_HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef _GLIBCPP_HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define _GLIBCPP_HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define _GLIBCPP_HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define _GLIBCPP_HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define _GLIBCPP_HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef _GLIBCPP_HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define _GLIBCPP_HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef _GLIBCPP_HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define _GLIBCPP_HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef _GLIBCPP_HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef _GLIBCPP_HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define _GLIBCPP_HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define _GLIBCPP_HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define _GLIBCPP_HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef _GLIBCPP_HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define _GLIBCPP_HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define _GLIBCPP_HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define _GLIBCPP_HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define _GLIBCPP_HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define _GLIBCPP_HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef _GLIBCPP_HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define _GLIBCPP_HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define _GLIBCPP_HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define _GLIBCPP_HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define _GLIBCPP_HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef _GLIBCPP_HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define _GLIBCPP_HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define _GLIBCPP_HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef _GLIBCPP_HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define _GLIBCPP_HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define _GLIBCPP_HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef _GLIBCPP_HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define _GLIBCPP_HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef _GLIBCPP_HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define _GLIBCPP_HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef _GLIBCPP_HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define _GLIBCPP_HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef _GLIBCPP_HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define _GLIBCPP_HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define _GLIBCPP_HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define _GLIBCPP_HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define _GLIBCPP_HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define _GLIBCPP_HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef _GLIBCPP_HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define _GLIBCPP_HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define _GLIBCPP_HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define _GLIBCPP_HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef _GLIBCPP_HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define _GLIBCPP_HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define _GLIBCPP_HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef _GLIBCPP_HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef _GLIBCPP_HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef _GLIBCPP_HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef _GLIBCPP_HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef _GLIBCPP_HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define _GLIBCPP_HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define _GLIBCPP_HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef _GLIBCPP_HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef _GLIBCPP_HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define _GLIBCPP_HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef _GLIBCPP_HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define _GLIBCPP_HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define _GLIBCPP_HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define _GLIBCPP_HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define _GLIBCPP_HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define _GLIBCPP_HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define _GLIBCPP_HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef _GLIBCPP_HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef _GLIBCPP_HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define _GLIBCPP_HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define _GLIBCPP_HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define _GLIBCPP_HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define _GLIBCPP_HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define _GLIBCPP_HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define _GLIBCPP_HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define _GLIBCPP_HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define _GLIBCPP_HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define _GLIBCPP_HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define _GLIBCPP_HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define _GLIBCPP_HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define _GLIBCPP_HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define _GLIBCPP_HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define _GLIBCPP_HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define _GLIBCPP_HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define _GLIBCPP_HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define _GLIBCPP_HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define _GLIBCPP_HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define _GLIBCPP_HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define _GLIBCPP_HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define _GLIBCPP_HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define _GLIBCPP_HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define _GLIBCPP_HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define _GLIBCPP_HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define _GLIBCPP_HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define _GLIBCPP_HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define _GLIBCPP_HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define _GLIBCPP_HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define _GLIBCPP_HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define _GLIBCPP_HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define _GLIBCPP_HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define _GLIBCPP_HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define _GLIBCPP_HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define _GLIBCPP_HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define _GLIBCPP_HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define _GLIBCPP_HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define _GLIBCPP_HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define _GLIBCPP_HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef _GLIBCPP_HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define _GLIBCPP_HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef _GLIBCPP_HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef _GLIBCPP_HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define _GLIBCPP_HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define _GLIBCPP_HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define _GLIBCPP_HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef _GLIBCPP_HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define _GLIBCPP_HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define _GLIBCPP_HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define _GLIBCPP_HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef _GLIBCPP_HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define _GLIBCPP_HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define _GLIBCPP_HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define _GLIBCPP_HAVE_LIBM 1 - -/* Name of package */ -#define _GLIBCPP_PACKAGE "libstdc++" - -/* Version number of package */ -#define _GLIBCPP_VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (_GLIBCPP_HAVE__ISNAN) && ! defined (_GLIBCPP_HAVE_ISNAN) -# define _GLIBCPP_HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (_GLIBCPP_HAVE__ISNANF) && ! defined (_GLIBCPP_HAVE_ISNANF) -# define _GLIBCPP_HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (_GLIBCPP_HAVE__ISNANL) && ! defined (_GLIBCPP_HAVE_ISNANL) -# define _GLIBCPP_HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (_GLIBCPP_HAVE__ISINF) && ! defined (_GLIBCPP_HAVE_ISINF) -# define _GLIBCPP_HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (_GLIBCPP_HAVE__ISINFF) && ! defined (_GLIBCPP_HAVE_ISINFF) -# define _GLIBCPP_HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (_GLIBCPP_HAVE__ISINFL) && ! defined (_GLIBCPP_HAVE_ISINFL) -# define _GLIBCPP_HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGN) && ! defined (_GLIBCPP_HAVE_COPYSIGN) -# define _GLIBCPP_HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGNL) && ! defined (_GLIBCPP_HAVE_COPYSIGNL) -# define _GLIBCPP_HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (_GLIBCPP_HAVE__COSF) && ! defined (_GLIBCPP_HAVE_COSF) -# define _GLIBCPP_HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSF) && ! defined (_GLIBCPP_HAVE_ACOSF) -# define _GLIBCPP_HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSL) && ! defined (_GLIBCPP_HAVE_ACOSL) -# define _GLIBCPP_HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (_GLIBCPP_HAVE__ASINF) && ! defined (_GLIBCPP_HAVE_ASINF) -# define _GLIBCPP_HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (_GLIBCPP_HAVE__ASINL) && ! defined (_GLIBCPP_HAVE_ASINL) -# define _GLIBCPP_HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (_GLIBCPP_HAVE__ATANF) && ! defined (_GLIBCPP_HAVE_ATANF) -# define _GLIBCPP_HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (_GLIBCPP_HAVE__ATANL) && ! defined (_GLIBCPP_HAVE_ATANL) -# define _GLIBCPP_HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (_GLIBCPP_HAVE__CEILF) && ! defined (_GLIBCPP_HAVE_CEILF) -# define _GLIBCPP_HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (_GLIBCPP_HAVE__CEILL) && ! defined (_GLIBCPP_HAVE_CEILL) -# define _GLIBCPP_HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (_GLIBCPP_HAVE__COSHF) && ! defined (_GLIBCPP_HAVE_COSHF) -# define _GLIBCPP_HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (_GLIBCPP_HAVE__COSL) && ! defined (_GLIBCPP_HAVE_COSL) -# define _GLIBCPP_HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (_GLIBCPP_HAVE__LOGF) && ! defined (_GLIBCPP_HAVE_LOGF) -# define _GLIBCPP_HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (_GLIBCPP_HAVE__COSHL) && ! defined (_GLIBCPP_HAVE_COSHL) -# define _GLIBCPP_HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (_GLIBCPP_HAVE__EXPF) && ! defined (_GLIBCPP_HAVE_EXPF) -# define _GLIBCPP_HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (_GLIBCPP_HAVE__EXPL) && ! defined (_GLIBCPP_HAVE_EXPL) -# define _GLIBCPP_HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (_GLIBCPP_HAVE__FABSF) && ! defined (_GLIBCPP_HAVE_FABSF) -# define _GLIBCPP_HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (_GLIBCPP_HAVE__FABSL) && ! defined (_GLIBCPP_HAVE_FABSL) -# define _GLIBCPP_HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (_GLIBCPP_HAVE__FLOORF) && ! defined (_GLIBCPP_HAVE_FLOORF) -# define _GLIBCPP_HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (_GLIBCPP_HAVE__FLOORL) && ! defined (_GLIBCPP_HAVE_FLOORL) -# define _GLIBCPP_HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (_GLIBCPP_HAVE__FMODF) && ! defined (_GLIBCPP_HAVE_FMODF) -# define _GLIBCPP_HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (_GLIBCPP_HAVE__FMODL) && ! defined (_GLIBCPP_HAVE_FMODL) -# define _GLIBCPP_HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (_GLIBCPP_HAVE__FREXPF) && ! defined (_GLIBCPP_HAVE_FREXPF) -# define _GLIBCPP_HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (_GLIBCPP_HAVE__FREXPL) && ! defined (_GLIBCPP_HAVE_FREXPL) -# define _GLIBCPP_HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPF) && ! defined (_GLIBCPP_HAVE_LDEXPF) -# define _GLIBCPP_HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPL) && ! defined (_GLIBCPP_HAVE_LDEXPL) -# define _GLIBCPP_HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (_GLIBCPP_HAVE__LOG10F) && ! defined (_GLIBCPP_HAVE_LOG10F) -# define _GLIBCPP_HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (_GLIBCPP_HAVE__LOGL) && ! defined (_GLIBCPP_HAVE_LOGL) -# define _GLIBCPP_HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (_GLIBCPP_HAVE__POWF) && ! defined (_GLIBCPP_HAVE_POWF) -# define _GLIBCPP_HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (_GLIBCPP_HAVE__LOG10L) && ! defined (_GLIBCPP_HAVE_LOG10L) -# define _GLIBCPP_HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (_GLIBCPP_HAVE__MODF) && ! defined (_GLIBCPP_HAVE_MODF) -# define _GLIBCPP_HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (_GLIBCPP_HAVE__MODL) && ! defined (_GLIBCPP_HAVE_MODL) -# define _GLIBCPP_HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (_GLIBCPP_HAVE__SINF) && ! defined (_GLIBCPP_HAVE_SINF) -# define _GLIBCPP_HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (_GLIBCPP_HAVE__POWL) && ! defined (_GLIBCPP_HAVE_POWL) -# define _GLIBCPP_HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (_GLIBCPP_HAVE__SINHF) && ! defined (_GLIBCPP_HAVE_SINHF) -# define _GLIBCPP_HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (_GLIBCPP_HAVE__SINL) && ! defined (_GLIBCPP_HAVE_SINL) -# define _GLIBCPP_HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (_GLIBCPP_HAVE__SQRTF) && ! defined (_GLIBCPP_HAVE_SQRTF) -# define _GLIBCPP_HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (_GLIBCPP_HAVE__SINHL) && ! defined (_GLIBCPP_HAVE_SINHL) -# define _GLIBCPP_HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (_GLIBCPP_HAVE__TANF) && ! defined (_GLIBCPP_HAVE_TANF) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__SQRTL) && ! defined (_GLIBCPP_HAVE_SQRTL) -# define _GLIBCPP_HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (_GLIBCPP_HAVE__TANHF) && ! defined (_GLIBCPP_HAVE_TANHF) -# define _GLIBCPP_HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (_GLIBCPP_HAVE__TANL) && ! defined (_GLIBCPP_HAVE_TANL) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__STRTOF) && ! defined (_GLIBCPP_HAVE_STRTOF) -# define _GLIBCPP_HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (_GLIBCPP_HAVE__TANHL) && ! defined (_GLIBCPP_HAVE_TANHL) -# define _GLIBCPP_HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (_GLIBCPP_HAVE__STRTOLD) && ! defined (_GLIBCPP_HAVE_STRTOLD) -# define _GLIBCPP_HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (_GLIBCPP_HAVE__SINCOS) && ! defined (_GLIBCPP_HAVE_SINCOS) -# define _GLIBCPP_HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSF) && ! defined (_GLIBCPP_HAVE_SINCOSF) -# define _GLIBCPP_HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSL) && ! defined (_GLIBCPP_HAVE_SINCOSL) -# define _GLIBCPP_HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (_GLIBCPP_HAVE__FINITE) && ! defined (_GLIBCPP_HAVE_FINITE) -# define _GLIBCPP_HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (_GLIBCPP_HAVE__FINITEF) && ! defined (_GLIBCPP_HAVE_FINITEF) -# define _GLIBCPP_HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (_GLIBCPP_HAVE__FINITEL) && ! defined (_GLIBCPP_HAVE_FINITEL) -# define _GLIBCPP_HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (_GLIBCPP_HAVE__QFINITE) && ! defined (_GLIBCPP_HAVE_QFINITE) -# define _GLIBCPP_HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (_GLIBCPP_HAVE__FPCLASS) && ! defined (_GLIBCPP_HAVE_FPCLASS) -# define _GLIBCPP_HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (_GLIBCPP_HAVE__QFPCLASS) && ! defined (_GLIBCPP_HAVE_QFPCLASS) -# define _GLIBCPP_HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - -#endif // _CPP_CPPCONFIG_ diff --git a/gnu/lib/libstdc++-v3/arch/mipseb/config.h b/gnu/lib/libstdc++-v3/arch/mipseb/config.h deleted file mode 100644 index 02ea4f7a34a..00000000000 --- a/gnu/lib/libstdc++-v3/arch/mipseb/config.h +++ /dev/null @@ -1,1127 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef HAVE_MODFL */ - -// Define if you have the expf function. -#define HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef HAVE_EXPL */ - -// Define if you have the hypotf function. -#define HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define HAVE_LIBM 1 - -/* Name of package */ -#define PACKAGE "libstdc++" - -/* Version number of package */ -#define VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) -# define HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) -# define HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) -# define HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) -# define HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) -# define HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) -# define HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN) -# define HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL) -# define HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (HAVE__COSF) && ! defined (HAVE_COSF) -# define HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) -# define HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) -# define HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) -# define HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) -# define HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) -# define HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) -# define HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) -# define HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) -# define HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) -# define HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (HAVE__COSL) && ! defined (HAVE_COSL) -# define HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) -# define HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) -# define HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) -# define HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) -# define HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) -# define HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) -# define HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) -# define HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) -# define HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) -# define HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) -# define HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) -# define HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) -# define HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) -# define HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) -# define HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) -# define HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (HAVE__POWF) && ! defined (HAVE_POWF) -# define HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) -# define HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (HAVE__MODF) && ! defined (HAVE_MODF) -# define HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (HAVE__MODL) && ! defined (HAVE_MODL) -# define HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (HAVE__SINF) && ! defined (HAVE_SINF) -# define HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (HAVE__POWL) && ! defined (HAVE_POWL) -# define HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) -# define HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (HAVE__SINL) && ! defined (HAVE_SINL) -# define HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) -# define HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) -# define HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (HAVE__TANF) && ! defined (HAVE_TANF) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) -# define HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) -# define HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (HAVE__TANL) && ! defined (HAVE_TANL) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) -# define HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) -# define HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) -# define HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) -# define HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) -# define HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) -# define HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) -# define HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) -# define HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) -# define HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE) -# define HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) -# define HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) -# define HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - diff --git a/gnu/lib/libstdc++-v3/arch/mipseb/defs.mk b/gnu/lib/libstdc++-v3/arch/mipseb/defs.mk deleted file mode 100644 index e66862c1dc6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/mipseb/defs.mk +++ /dev/null @@ -1,18 +0,0 @@ -# This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp -# -G_libmath_la_SOURCES=stubs.c -G_libmath_la_LIBADD=signbit.lo -G_LIBSUPCXX_SOURCES=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc -G_LIBSUPCXX_C_SOURCES=cxa_demangle.c dyn-string.c -G_SRC_SOURCES=bitset.cc codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc vterminate.cc wstring-inst.cc codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc basic_file.cc c++locale.cc -G_SECTION_FLAGS=-ffunction-sections -fdata-sections -G_c_base_headers_rename=cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype -G_std_headers_rename=algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector -G_bits_headers=basic_ios.h basic_ios.tcc basic_string.h basic_string.tcc boost_concept_check.h char_traits.h codecvt.h concept_check.h cpp_type_traits.h deque.tcc fpos.h fstream.tcc functexcept.h gslice.h gslice_array.h indirect_array.h ios_base.h istream.tcc list.tcc locale_classes.h locale_facets.h locale_facets.tcc localefwd.h mask_array.h ostream.tcc pthread_allocimpl.h stream_iterator.h streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h stl_algobase.h stl_alloc.h stl_bvector.h stl_construct.h stl_deque.h stl_function.h stl_heap.h stl_iterator.h stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h stl_queue.h stl_raw_storage_iter.h stl_relops.h stl_set.h stl_stack.h stl_tempbuf.h stl_threads.h stl_tree.h stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h type_traits.h valarray_array.h valarray_array.tcc valarray_meta.h vector.tcc -G_backward_headers=complex.h iomanip.h istream.h ostream.h stream.h streambuf.h algo.h algobase.h alloc.h bvector.h defalloc.h deque.h function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h iterator.h list.h map.h multimap.h new.h multiset.h pair.h queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h vector.h fstream.h strstream backward_warning.h -G_ext_headers=algorithm enc_filebuf.h stdio_filebuf.h functional hash_map hash_set iterator memory numeric rb_tree rope ropeimpl.h slist stl_hash_fun.h stl_hashtable.h stl_rope.h -G_c_base_headers_extra=cmath.tcc -G_target_headers=ctype_base.h ctype_inline.h ctype_noninline.h os_defines.h atomicity.h -G_thread_target_headers=gthr.h gthr-single.h gthr-posix.h gthr-default.h -G_target_headers_extra=basic_file.h c++config.h c++io.h c++locale.h messages_members.h time_members.h codecvt_specializations.h diff --git a/gnu/lib/libstdc++-v3/arch/mipseb/gthr-default.h b/gnu/lib/libstdc++-v3/arch/mipseb/gthr-default.h deleted file mode 100644 index 4e720ae28e4..00000000000 --- a/gnu/lib/libstdc++-v3/arch/mipseb/gthr-default.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.6 2003/08/01 02:44:56 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/mipseb/gthr-posix.h b/gnu/lib/libstdc++-v3/arch/mipseb/gthr-posix.h deleted file mode 100644 index 205fa9e2190..00000000000 --- a/gnu/lib/libstdc++-v3/arch/mipseb/gthr-posix.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/mipseb/gthr-single.h b/gnu/lib/libstdc++-v3/arch/mipseb/gthr-single.h deleted file mode 100644 index 6fa2b1ed699..00000000000 --- a/gnu/lib/libstdc++-v3/arch/mipseb/gthr-single.h +++ /dev/null @@ -1,242 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H -#define _GLIBCPP_GCC_GTHR_SINGLE_H - -/* Just provide compatibility for mutex handling. */ - -typedef int __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT 0 - -#ifdef __cplusplus -#define _GLIBCPP_UNUSED(x) -#else -#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) -#endif - -#ifdef _LIBOBJC - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) -{ - /* No thread support available */ - return NULL; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) -{ - /* No thread support available */ - return -1; -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - return; -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - /* No thread support available */ - /* Should we really exit the program */ - /* exit (&__objc_thread_exit_status); */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - /* No thread support, use 1. */ - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - thread_local_storage = value; - return 0; -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), - objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - return 0; -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -#endif /* _LIBOBJC */ - -#undef _GLIBCPP_UNUSED - -#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/mipseb/gthr.h b/gnu/lib/libstdc++-v3/arch/mipseb/gthr.h deleted file mode 100644 index d463cf98ec6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/mipseb/gthr.h +++ /dev/null @@ -1,108 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1998 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_H -#define _GLIBCPP_GCC_GTHR_H - -/* If this file is compiled with threads support, it must - #define __GTHREADS 1 - to indicate that threads support is present. Also it has define - function - int __gthread_active_p () - that returns 1 if thread system is active, 0 if not. - - The threads interface must define the following types: - __gthread_key_t - __gthread_once_t - __gthread_mutex_t - - The threads interface must define the following macros: - - __GTHREAD_ONCE_INIT - to initialize __gthread_once_t - __GTHREAD_MUTEX_INIT - to initialize __gthread_mutex_t to get a fast - non-recursive mutex. - __GTHREAD_MUTEX_INIT_FUNCTION - some systems can't initialize a mutex without a - function call. On such systems, define this to a - function which looks like this: - void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *) - Don't define __GTHREAD_MUTEX_INIT in this case - - The threads interface must define the following static functions: - - int __gthread_once (__gthread_once_t *once, void (*func) ()) - - int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *)) - int __gthread_key_delete (__gthread_key_t key) - - int __gthread_key_dtor (__gthread_key_t key, void *ptr) - - void *__gthread_getspecific (__gthread_key_t key) - int __gthread_setspecific (__gthread_key_t key, const void *ptr) - - int __gthread_mutex_lock (__gthread_mutex_t *mutex); - int __gthread_mutex_trylock (__gthread_mutex_t *mutex); - int __gthread_mutex_unlock (__gthread_mutex_t *mutex); - - All functions returning int should return zero on success or the error - number. If the operation is not supported, -1 is returned. - - Currently supported threads packages are - POSIX threads with -D_PTHREADS - DCE threads with -D_DCE_THREADS - Solaris/UI threads with -D_SOLARIS_THREADS -*/ - -/* Check first for thread specific defines. */ -#if _GLIBCPP__PTHREADS -#include <bits/gthr-posix.h> -#elif _GLIBCPP__DCE_THREADS -#include <bits/gthr-dce.h> -#elif _GLIBCPP__SOLARIS_THREADS -#include <bits/gthr-solaris.h> - -/* Include GTHREAD_FILE if one is defined. */ -#elif defined(_GLIBCPP_HAVE_GTHR_DEFAULT) -#if _GLIBCPP_SUPPORTS_WEAK -#ifndef _GLIBCPP_GTHREAD_USE_WEAK -#define _GLIBCPP_GTHREAD_USE_WEAK 1 -#endif -#endif -#include <bits/gthr-default.h> - -/* Fallback to single thread definitions. */ -#else -#include <bits/gthr-single.h> -#endif - -#endif /* ! _GLIBCPP_GCC_GTHR_H */ diff --git a/gnu/lib/libstdc++-v3/arch/mipsel/c++config.h b/gnu/lib/libstdc++-v3/arch/mipsel/c++config.h deleted file mode 100644 index a73086022ad..00000000000 --- a/gnu/lib/libstdc++-v3/arch/mipsel/c++config.h +++ /dev/null @@ -1,1228 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -// Predefined symbols and macros -*- C++ -*- - -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -// Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) -// any later version. - -// This library 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 this library; see the file COPYING. If not, write to the Free -// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _CPP_CPPCONFIG -#define _CPP_CPPCONFIG 1 - -// Pick up any OS-specific definitions. -#include <bits/os_defines.h> - -// The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20050503 - -// This is necessary until GCC supports separate template compilation. -#define _GLIBCPP_NO_TEMPLATE_EXPORT 1 - -// This is a hack around not having either pre-compiled headers or -// export compilation. If defined, the io, string, and valarray -// headers will include all the necessary bits. If not defined, the -// implementation optimizes the headers for the most commonly-used -// types. For the io library, this means that larger, out-of-line -// member functions are only declared, and definitions are not parsed -// by the compiler, but instead instantiated into the library binary. -#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1 - -// Allow use of the GNU syntax extension, "extern template." This -// extension is fully documented in the g++ manual, but in a nutshell, -// it inhibits all implicit instantiations and is used throughout the -// library to avoid multiple weak definitions for required types that -// are already explicitly instantiated in the library binary. This -// substantially reduces the binary size of resulting executables. -#ifndef _GLIBCPP_EXTERN_TEMPLATE -#define _GLIBCPP_EXTERN_TEMPLATE 1 -#endif - -// To enable older, ARM-style iostreams and other anachronisms use this. -//#define _GLIBCPP_DEPRECATED 1 - -// Use corrected code from the committee library group's issues list. -#define _GLIBCPP_RESOLVE_LIB_DEFECTS 1 - -// Hopefully temporary workaround to autoconf/m4 issue with quoting '@'. -#define _GLIBCPP_AT_AT "@@" - -// In those parts of the standard C++ library that use a mutex instead -// of a spin-lock, we now unconditionally use GCC's gthr.h mutex -// abstraction layer. All support to directly map to various -// threading models has been removed. Note: gthr.h may well map to -// gthr-single.h which is a correct way to express no threads support -// in gcc. Support for the undocumented _NOTHREADS has been removed. - -// Default to the typically high-speed, pool-based allocator (as -// libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3 -// snapshots). See libstdc++-v3/docs/html/17_intro/howto.html for -// details on why you don't want to override this setting. Ensure -// that threads are properly configured on your platform before -// assigning blame to the STL container-memory allocator. After doing -// so, please report any possible issues to libstdc++@gcc.gnu.org . -// Do not define __USE_MALLOC on the command line. Enforce it here: -#ifdef __USE_MALLOC -#error __USE_MALLOC should never be defined. Read the release notes. -#endif - -// Create a boolean flag to be used to determine if --fast-math is set. -#ifdef __FAST_MATH__ -#define _GLIBCPP_FAST_MATH 1 -#else -#define _GLIBCPP_FAST_MATH 0 -#endif - -// The remainder of the prewritten config is mostly automatic; all the -// user hooks are listed above. - -// End of prewritten config; the discovered settings follow. -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define _GLIBCPP_HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define _GLIBCPP_HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef _GLIBCPP_HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define _GLIBCPP_HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define _GLIBCPP_HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef _GLIBCPP_HAVE_MODFL */ - -// Define if you have the expf function. -#define _GLIBCPP_HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef _GLIBCPP_HAVE_EXPL */ - -// Define if you have the hypotf function. -#define _GLIBCPP_HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef _GLIBCPP_HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef _GLIBCPP_HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef _GLIBCPP_HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef _GLIBCPP_HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef _GLIBCPP_HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef _GLIBCPP_HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define _GLIBCPP_HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef _GLIBCPP_HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef _GLIBCPP_HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef _GLIBCPP_HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef _GLIBCPP_HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef _GLIBCPP_HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef _GLIBCPP_HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef _GLIBCPP_HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef _GLIBCPP_HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef _GLIBCPP_HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef _GLIBCPP_HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef _GLIBCPP_HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef _GLIBCPP_HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef _GLIBCPP_HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef _GLIBCPP_HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef _GLIBCPP_HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef _GLIBCPP_HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef _GLIBCPP_HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef _GLIBCPP_HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef _GLIBCPP_HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef _GLIBCPP_HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef _GLIBCPP_HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef _GLIBCPP_HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef _GLIBCPP_HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef _GLIBCPP_HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef _GLIBCPP_HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef _GLIBCPP_HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef _GLIBCPP_HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef _GLIBCPP_HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef _GLIBCPP_HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef _GLIBCPP_HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef _GLIBCPP_HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef _GLIBCPP_HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef _GLIBCPP_HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef _GLIBCPP_HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef _GLIBCPP_HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef _GLIBCPP_HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef _GLIBCPP_HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef _GLIBCPP_HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef _GLIBCPP_HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef _GLIBCPP_HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef _GLIBCPP_HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef _GLIBCPP_HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef _GLIBCPP_HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef _GLIBCPP_HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef _GLIBCPP_HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef _GLIBCPP_HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef _GLIBCPP_HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef _GLIBCPP_HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef _GLIBCPP_HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef _GLIBCPP_HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef _GLIBCPP_HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef _GLIBCPP_HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef _GLIBCPP_HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef _GLIBCPP_HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef _GLIBCPP_HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef _GLIBCPP_HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef _GLIBCPP_HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef _GLIBCPP_HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef _GLIBCPP_HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef _GLIBCPP_HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef _GLIBCPP_HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef _GLIBCPP_HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define _GLIBCPP_HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef _GLIBCPP_HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define _GLIBCPP_HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef _GLIBCPP_HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define _GLIBCPP_HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef _GLIBCPP_HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define _GLIBCPP_HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef _GLIBCPP_HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define _GLIBCPP_HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define _GLIBCPP_HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef _GLIBCPP_HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define _GLIBCPP_HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define _GLIBCPP_HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef _GLIBCPP_HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define _GLIBCPP_HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define _GLIBCPP_HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef _GLIBCPP_HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef _GLIBCPP_HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define _GLIBCPP_HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef _GLIBCPP_HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define _GLIBCPP_HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef _GLIBCPP_HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define _GLIBCPP_HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define _GLIBCPP_HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define _GLIBCPP_HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define _GLIBCPP_HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef _GLIBCPP_HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define _GLIBCPP_HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef _GLIBCPP_HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define _GLIBCPP_HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef _GLIBCPP_HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef _GLIBCPP_HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define _GLIBCPP_HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define _GLIBCPP_HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define _GLIBCPP_HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef _GLIBCPP_HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define _GLIBCPP_HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define _GLIBCPP_HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define _GLIBCPP_HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define _GLIBCPP_HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define _GLIBCPP_HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef _GLIBCPP_HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define _GLIBCPP_HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define _GLIBCPP_HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define _GLIBCPP_HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define _GLIBCPP_HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef _GLIBCPP_HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define _GLIBCPP_HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define _GLIBCPP_HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef _GLIBCPP_HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define _GLIBCPP_HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define _GLIBCPP_HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef _GLIBCPP_HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define _GLIBCPP_HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef _GLIBCPP_HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define _GLIBCPP_HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef _GLIBCPP_HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define _GLIBCPP_HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef _GLIBCPP_HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define _GLIBCPP_HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define _GLIBCPP_HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define _GLIBCPP_HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define _GLIBCPP_HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define _GLIBCPP_HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef _GLIBCPP_HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define _GLIBCPP_HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define _GLIBCPP_HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define _GLIBCPP_HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef _GLIBCPP_HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define _GLIBCPP_HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define _GLIBCPP_HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef _GLIBCPP_HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef _GLIBCPP_HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef _GLIBCPP_HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef _GLIBCPP_HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef _GLIBCPP_HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define _GLIBCPP_HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define _GLIBCPP_HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef _GLIBCPP_HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef _GLIBCPP_HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define _GLIBCPP_HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef _GLIBCPP_HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define _GLIBCPP_HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define _GLIBCPP_HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define _GLIBCPP_HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define _GLIBCPP_HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define _GLIBCPP_HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define _GLIBCPP_HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef _GLIBCPP_HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef _GLIBCPP_HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define _GLIBCPP_HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define _GLIBCPP_HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define _GLIBCPP_HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define _GLIBCPP_HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define _GLIBCPP_HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define _GLIBCPP_HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define _GLIBCPP_HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define _GLIBCPP_HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define _GLIBCPP_HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define _GLIBCPP_HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define _GLIBCPP_HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define _GLIBCPP_HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define _GLIBCPP_HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define _GLIBCPP_HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define _GLIBCPP_HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define _GLIBCPP_HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define _GLIBCPP_HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define _GLIBCPP_HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define _GLIBCPP_HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define _GLIBCPP_HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define _GLIBCPP_HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define _GLIBCPP_HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define _GLIBCPP_HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define _GLIBCPP_HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define _GLIBCPP_HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define _GLIBCPP_HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define _GLIBCPP_HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define _GLIBCPP_HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define _GLIBCPP_HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define _GLIBCPP_HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define _GLIBCPP_HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define _GLIBCPP_HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define _GLIBCPP_HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define _GLIBCPP_HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define _GLIBCPP_HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define _GLIBCPP_HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define _GLIBCPP_HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define _GLIBCPP_HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef _GLIBCPP_HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define _GLIBCPP_HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef _GLIBCPP_HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef _GLIBCPP_HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define _GLIBCPP_HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define _GLIBCPP_HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define _GLIBCPP_HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef _GLIBCPP_HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define _GLIBCPP_HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define _GLIBCPP_HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define _GLIBCPP_HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef _GLIBCPP_HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define _GLIBCPP_HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define _GLIBCPP_HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define _GLIBCPP_HAVE_LIBM 1 - -/* Name of package */ -#define _GLIBCPP_PACKAGE "libstdc++" - -/* Version number of package */ -#define _GLIBCPP_VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (_GLIBCPP_HAVE__ISNAN) && ! defined (_GLIBCPP_HAVE_ISNAN) -# define _GLIBCPP_HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (_GLIBCPP_HAVE__ISNANF) && ! defined (_GLIBCPP_HAVE_ISNANF) -# define _GLIBCPP_HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (_GLIBCPP_HAVE__ISNANL) && ! defined (_GLIBCPP_HAVE_ISNANL) -# define _GLIBCPP_HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (_GLIBCPP_HAVE__ISINF) && ! defined (_GLIBCPP_HAVE_ISINF) -# define _GLIBCPP_HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (_GLIBCPP_HAVE__ISINFF) && ! defined (_GLIBCPP_HAVE_ISINFF) -# define _GLIBCPP_HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (_GLIBCPP_HAVE__ISINFL) && ! defined (_GLIBCPP_HAVE_ISINFL) -# define _GLIBCPP_HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGN) && ! defined (_GLIBCPP_HAVE_COPYSIGN) -# define _GLIBCPP_HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGNL) && ! defined (_GLIBCPP_HAVE_COPYSIGNL) -# define _GLIBCPP_HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (_GLIBCPP_HAVE__COSF) && ! defined (_GLIBCPP_HAVE_COSF) -# define _GLIBCPP_HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSF) && ! defined (_GLIBCPP_HAVE_ACOSF) -# define _GLIBCPP_HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSL) && ! defined (_GLIBCPP_HAVE_ACOSL) -# define _GLIBCPP_HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (_GLIBCPP_HAVE__ASINF) && ! defined (_GLIBCPP_HAVE_ASINF) -# define _GLIBCPP_HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (_GLIBCPP_HAVE__ASINL) && ! defined (_GLIBCPP_HAVE_ASINL) -# define _GLIBCPP_HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (_GLIBCPP_HAVE__ATANF) && ! defined (_GLIBCPP_HAVE_ATANF) -# define _GLIBCPP_HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (_GLIBCPP_HAVE__ATANL) && ! defined (_GLIBCPP_HAVE_ATANL) -# define _GLIBCPP_HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (_GLIBCPP_HAVE__CEILF) && ! defined (_GLIBCPP_HAVE_CEILF) -# define _GLIBCPP_HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (_GLIBCPP_HAVE__CEILL) && ! defined (_GLIBCPP_HAVE_CEILL) -# define _GLIBCPP_HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (_GLIBCPP_HAVE__COSHF) && ! defined (_GLIBCPP_HAVE_COSHF) -# define _GLIBCPP_HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (_GLIBCPP_HAVE__COSL) && ! defined (_GLIBCPP_HAVE_COSL) -# define _GLIBCPP_HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (_GLIBCPP_HAVE__LOGF) && ! defined (_GLIBCPP_HAVE_LOGF) -# define _GLIBCPP_HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (_GLIBCPP_HAVE__COSHL) && ! defined (_GLIBCPP_HAVE_COSHL) -# define _GLIBCPP_HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (_GLIBCPP_HAVE__EXPF) && ! defined (_GLIBCPP_HAVE_EXPF) -# define _GLIBCPP_HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (_GLIBCPP_HAVE__EXPL) && ! defined (_GLIBCPP_HAVE_EXPL) -# define _GLIBCPP_HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (_GLIBCPP_HAVE__FABSF) && ! defined (_GLIBCPP_HAVE_FABSF) -# define _GLIBCPP_HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (_GLIBCPP_HAVE__FABSL) && ! defined (_GLIBCPP_HAVE_FABSL) -# define _GLIBCPP_HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (_GLIBCPP_HAVE__FLOORF) && ! defined (_GLIBCPP_HAVE_FLOORF) -# define _GLIBCPP_HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (_GLIBCPP_HAVE__FLOORL) && ! defined (_GLIBCPP_HAVE_FLOORL) -# define _GLIBCPP_HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (_GLIBCPP_HAVE__FMODF) && ! defined (_GLIBCPP_HAVE_FMODF) -# define _GLIBCPP_HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (_GLIBCPP_HAVE__FMODL) && ! defined (_GLIBCPP_HAVE_FMODL) -# define _GLIBCPP_HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (_GLIBCPP_HAVE__FREXPF) && ! defined (_GLIBCPP_HAVE_FREXPF) -# define _GLIBCPP_HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (_GLIBCPP_HAVE__FREXPL) && ! defined (_GLIBCPP_HAVE_FREXPL) -# define _GLIBCPP_HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPF) && ! defined (_GLIBCPP_HAVE_LDEXPF) -# define _GLIBCPP_HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPL) && ! defined (_GLIBCPP_HAVE_LDEXPL) -# define _GLIBCPP_HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (_GLIBCPP_HAVE__LOG10F) && ! defined (_GLIBCPP_HAVE_LOG10F) -# define _GLIBCPP_HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (_GLIBCPP_HAVE__LOGL) && ! defined (_GLIBCPP_HAVE_LOGL) -# define _GLIBCPP_HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (_GLIBCPP_HAVE__POWF) && ! defined (_GLIBCPP_HAVE_POWF) -# define _GLIBCPP_HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (_GLIBCPP_HAVE__LOG10L) && ! defined (_GLIBCPP_HAVE_LOG10L) -# define _GLIBCPP_HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (_GLIBCPP_HAVE__MODF) && ! defined (_GLIBCPP_HAVE_MODF) -# define _GLIBCPP_HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (_GLIBCPP_HAVE__MODL) && ! defined (_GLIBCPP_HAVE_MODL) -# define _GLIBCPP_HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (_GLIBCPP_HAVE__SINF) && ! defined (_GLIBCPP_HAVE_SINF) -# define _GLIBCPP_HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (_GLIBCPP_HAVE__POWL) && ! defined (_GLIBCPP_HAVE_POWL) -# define _GLIBCPP_HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (_GLIBCPP_HAVE__SINHF) && ! defined (_GLIBCPP_HAVE_SINHF) -# define _GLIBCPP_HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (_GLIBCPP_HAVE__SINL) && ! defined (_GLIBCPP_HAVE_SINL) -# define _GLIBCPP_HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (_GLIBCPP_HAVE__SQRTF) && ! defined (_GLIBCPP_HAVE_SQRTF) -# define _GLIBCPP_HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (_GLIBCPP_HAVE__SINHL) && ! defined (_GLIBCPP_HAVE_SINHL) -# define _GLIBCPP_HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (_GLIBCPP_HAVE__TANF) && ! defined (_GLIBCPP_HAVE_TANF) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__SQRTL) && ! defined (_GLIBCPP_HAVE_SQRTL) -# define _GLIBCPP_HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (_GLIBCPP_HAVE__TANHF) && ! defined (_GLIBCPP_HAVE_TANHF) -# define _GLIBCPP_HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (_GLIBCPP_HAVE__TANL) && ! defined (_GLIBCPP_HAVE_TANL) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__STRTOF) && ! defined (_GLIBCPP_HAVE_STRTOF) -# define _GLIBCPP_HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (_GLIBCPP_HAVE__TANHL) && ! defined (_GLIBCPP_HAVE_TANHL) -# define _GLIBCPP_HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (_GLIBCPP_HAVE__STRTOLD) && ! defined (_GLIBCPP_HAVE_STRTOLD) -# define _GLIBCPP_HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (_GLIBCPP_HAVE__SINCOS) && ! defined (_GLIBCPP_HAVE_SINCOS) -# define _GLIBCPP_HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSF) && ! defined (_GLIBCPP_HAVE_SINCOSF) -# define _GLIBCPP_HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSL) && ! defined (_GLIBCPP_HAVE_SINCOSL) -# define _GLIBCPP_HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (_GLIBCPP_HAVE__FINITE) && ! defined (_GLIBCPP_HAVE_FINITE) -# define _GLIBCPP_HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (_GLIBCPP_HAVE__FINITEF) && ! defined (_GLIBCPP_HAVE_FINITEF) -# define _GLIBCPP_HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (_GLIBCPP_HAVE__FINITEL) && ! defined (_GLIBCPP_HAVE_FINITEL) -# define _GLIBCPP_HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (_GLIBCPP_HAVE__QFINITE) && ! defined (_GLIBCPP_HAVE_QFINITE) -# define _GLIBCPP_HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (_GLIBCPP_HAVE__FPCLASS) && ! defined (_GLIBCPP_HAVE_FPCLASS) -# define _GLIBCPP_HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (_GLIBCPP_HAVE__QFPCLASS) && ! defined (_GLIBCPP_HAVE_QFPCLASS) -# define _GLIBCPP_HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - -#endif // _CPP_CPPCONFIG_ diff --git a/gnu/lib/libstdc++-v3/arch/mipsel/config.h b/gnu/lib/libstdc++-v3/arch/mipsel/config.h deleted file mode 100644 index 02ea4f7a34a..00000000000 --- a/gnu/lib/libstdc++-v3/arch/mipsel/config.h +++ /dev/null @@ -1,1127 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef HAVE_MODFL */ - -// Define if you have the expf function. -#define HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef HAVE_EXPL */ - -// Define if you have the hypotf function. -#define HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define HAVE_LIBM 1 - -/* Name of package */ -#define PACKAGE "libstdc++" - -/* Version number of package */ -#define VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) -# define HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) -# define HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) -# define HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) -# define HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) -# define HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) -# define HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN) -# define HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL) -# define HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (HAVE__COSF) && ! defined (HAVE_COSF) -# define HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) -# define HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) -# define HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) -# define HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) -# define HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) -# define HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) -# define HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) -# define HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) -# define HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) -# define HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (HAVE__COSL) && ! defined (HAVE_COSL) -# define HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) -# define HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) -# define HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) -# define HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) -# define HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) -# define HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) -# define HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) -# define HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) -# define HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) -# define HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) -# define HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) -# define HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) -# define HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) -# define HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) -# define HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) -# define HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (HAVE__POWF) && ! defined (HAVE_POWF) -# define HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) -# define HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (HAVE__MODF) && ! defined (HAVE_MODF) -# define HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (HAVE__MODL) && ! defined (HAVE_MODL) -# define HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (HAVE__SINF) && ! defined (HAVE_SINF) -# define HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (HAVE__POWL) && ! defined (HAVE_POWL) -# define HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) -# define HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (HAVE__SINL) && ! defined (HAVE_SINL) -# define HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) -# define HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) -# define HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (HAVE__TANF) && ! defined (HAVE_TANF) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) -# define HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) -# define HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (HAVE__TANL) && ! defined (HAVE_TANL) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) -# define HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) -# define HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) -# define HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) -# define HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) -# define HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) -# define HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) -# define HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) -# define HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) -# define HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE) -# define HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) -# define HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) -# define HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - diff --git a/gnu/lib/libstdc++-v3/arch/mipsel/defs.mk b/gnu/lib/libstdc++-v3/arch/mipsel/defs.mk deleted file mode 100644 index e66862c1dc6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/mipsel/defs.mk +++ /dev/null @@ -1,18 +0,0 @@ -# This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp -# -G_libmath_la_SOURCES=stubs.c -G_libmath_la_LIBADD=signbit.lo -G_LIBSUPCXX_SOURCES=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc -G_LIBSUPCXX_C_SOURCES=cxa_demangle.c dyn-string.c -G_SRC_SOURCES=bitset.cc codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc vterminate.cc wstring-inst.cc codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc basic_file.cc c++locale.cc -G_SECTION_FLAGS=-ffunction-sections -fdata-sections -G_c_base_headers_rename=cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype -G_std_headers_rename=algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector -G_bits_headers=basic_ios.h basic_ios.tcc basic_string.h basic_string.tcc boost_concept_check.h char_traits.h codecvt.h concept_check.h cpp_type_traits.h deque.tcc fpos.h fstream.tcc functexcept.h gslice.h gslice_array.h indirect_array.h ios_base.h istream.tcc list.tcc locale_classes.h locale_facets.h locale_facets.tcc localefwd.h mask_array.h ostream.tcc pthread_allocimpl.h stream_iterator.h streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h stl_algobase.h stl_alloc.h stl_bvector.h stl_construct.h stl_deque.h stl_function.h stl_heap.h stl_iterator.h stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h stl_queue.h stl_raw_storage_iter.h stl_relops.h stl_set.h stl_stack.h stl_tempbuf.h stl_threads.h stl_tree.h stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h type_traits.h valarray_array.h valarray_array.tcc valarray_meta.h vector.tcc -G_backward_headers=complex.h iomanip.h istream.h ostream.h stream.h streambuf.h algo.h algobase.h alloc.h bvector.h defalloc.h deque.h function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h iterator.h list.h map.h multimap.h new.h multiset.h pair.h queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h vector.h fstream.h strstream backward_warning.h -G_ext_headers=algorithm enc_filebuf.h stdio_filebuf.h functional hash_map hash_set iterator memory numeric rb_tree rope ropeimpl.h slist stl_hash_fun.h stl_hashtable.h stl_rope.h -G_c_base_headers_extra=cmath.tcc -G_target_headers=ctype_base.h ctype_inline.h ctype_noninline.h os_defines.h atomicity.h -G_thread_target_headers=gthr.h gthr-single.h gthr-posix.h gthr-default.h -G_target_headers_extra=basic_file.h c++config.h c++io.h c++locale.h messages_members.h time_members.h codecvt_specializations.h diff --git a/gnu/lib/libstdc++-v3/arch/mipsel/gthr-default.h b/gnu/lib/libstdc++-v3/arch/mipsel/gthr-default.h deleted file mode 100644 index 4e720ae28e4..00000000000 --- a/gnu/lib/libstdc++-v3/arch/mipsel/gthr-default.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.6 2003/08/01 02:44:56 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/mipsel/gthr-posix.h b/gnu/lib/libstdc++-v3/arch/mipsel/gthr-posix.h deleted file mode 100644 index 205fa9e2190..00000000000 --- a/gnu/lib/libstdc++-v3/arch/mipsel/gthr-posix.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/mipsel/gthr-single.h b/gnu/lib/libstdc++-v3/arch/mipsel/gthr-single.h deleted file mode 100644 index 6fa2b1ed699..00000000000 --- a/gnu/lib/libstdc++-v3/arch/mipsel/gthr-single.h +++ /dev/null @@ -1,242 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H -#define _GLIBCPP_GCC_GTHR_SINGLE_H - -/* Just provide compatibility for mutex handling. */ - -typedef int __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT 0 - -#ifdef __cplusplus -#define _GLIBCPP_UNUSED(x) -#else -#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) -#endif - -#ifdef _LIBOBJC - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) -{ - /* No thread support available */ - return NULL; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) -{ - /* No thread support available */ - return -1; -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - return; -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - /* No thread support available */ - /* Should we really exit the program */ - /* exit (&__objc_thread_exit_status); */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - /* No thread support, use 1. */ - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - thread_local_storage = value; - return 0; -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), - objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - return 0; -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -#endif /* _LIBOBJC */ - -#undef _GLIBCPP_UNUSED - -#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/mipsel/gthr.h b/gnu/lib/libstdc++-v3/arch/mipsel/gthr.h deleted file mode 100644 index d463cf98ec6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/mipsel/gthr.h +++ /dev/null @@ -1,108 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1998 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_H -#define _GLIBCPP_GCC_GTHR_H - -/* If this file is compiled with threads support, it must - #define __GTHREADS 1 - to indicate that threads support is present. Also it has define - function - int __gthread_active_p () - that returns 1 if thread system is active, 0 if not. - - The threads interface must define the following types: - __gthread_key_t - __gthread_once_t - __gthread_mutex_t - - The threads interface must define the following macros: - - __GTHREAD_ONCE_INIT - to initialize __gthread_once_t - __GTHREAD_MUTEX_INIT - to initialize __gthread_mutex_t to get a fast - non-recursive mutex. - __GTHREAD_MUTEX_INIT_FUNCTION - some systems can't initialize a mutex without a - function call. On such systems, define this to a - function which looks like this: - void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *) - Don't define __GTHREAD_MUTEX_INIT in this case - - The threads interface must define the following static functions: - - int __gthread_once (__gthread_once_t *once, void (*func) ()) - - int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *)) - int __gthread_key_delete (__gthread_key_t key) - - int __gthread_key_dtor (__gthread_key_t key, void *ptr) - - void *__gthread_getspecific (__gthread_key_t key) - int __gthread_setspecific (__gthread_key_t key, const void *ptr) - - int __gthread_mutex_lock (__gthread_mutex_t *mutex); - int __gthread_mutex_trylock (__gthread_mutex_t *mutex); - int __gthread_mutex_unlock (__gthread_mutex_t *mutex); - - All functions returning int should return zero on success or the error - number. If the operation is not supported, -1 is returned. - - Currently supported threads packages are - POSIX threads with -D_PTHREADS - DCE threads with -D_DCE_THREADS - Solaris/UI threads with -D_SOLARIS_THREADS -*/ - -/* Check first for thread specific defines. */ -#if _GLIBCPP__PTHREADS -#include <bits/gthr-posix.h> -#elif _GLIBCPP__DCE_THREADS -#include <bits/gthr-dce.h> -#elif _GLIBCPP__SOLARIS_THREADS -#include <bits/gthr-solaris.h> - -/* Include GTHREAD_FILE if one is defined. */ -#elif defined(_GLIBCPP_HAVE_GTHR_DEFAULT) -#if _GLIBCPP_SUPPORTS_WEAK -#ifndef _GLIBCPP_GTHREAD_USE_WEAK -#define _GLIBCPP_GTHREAD_USE_WEAK 1 -#endif -#endif -#include <bits/gthr-default.h> - -/* Fallback to single thread definitions. */ -#else -#include <bits/gthr-single.h> -#endif - -#endif /* ! _GLIBCPP_GCC_GTHR_H */ diff --git a/gnu/lib/libstdc++-v3/arch/ns32k/c++config.h b/gnu/lib/libstdc++-v3/arch/ns32k/c++config.h deleted file mode 100644 index d910d11ba51..00000000000 --- a/gnu/lib/libstdc++-v3/arch/ns32k/c++config.h +++ /dev/null @@ -1,1228 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -// Predefined symbols and macros -*- C++ -*- - -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -// Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) -// any later version. - -// This library 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 this library; see the file COPYING. If not, write to the Free -// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _CPP_CPPCONFIG -#define _CPP_CPPCONFIG 1 - -// Pick up any OS-specific definitions. -#include <bits/os_defines.h> - -// The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20050503 - -// This is necessary until GCC supports separate template compilation. -#define _GLIBCPP_NO_TEMPLATE_EXPORT 1 - -// This is a hack around not having either pre-compiled headers or -// export compilation. If defined, the io, string, and valarray -// headers will include all the necessary bits. If not defined, the -// implementation optimizes the headers for the most commonly-used -// types. For the io library, this means that larger, out-of-line -// member functions are only declared, and definitions are not parsed -// by the compiler, but instead instantiated into the library binary. -#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1 - -// Allow use of the GNU syntax extension, "extern template." This -// extension is fully documented in the g++ manual, but in a nutshell, -// it inhibits all implicit instantiations and is used throughout the -// library to avoid multiple weak definitions for required types that -// are already explicitly instantiated in the library binary. This -// substantially reduces the binary size of resulting executables. -#ifndef _GLIBCPP_EXTERN_TEMPLATE -#define _GLIBCPP_EXTERN_TEMPLATE 1 -#endif - -// To enable older, ARM-style iostreams and other anachronisms use this. -//#define _GLIBCPP_DEPRECATED 1 - -// Use corrected code from the committee library group's issues list. -#define _GLIBCPP_RESOLVE_LIB_DEFECTS 1 - -// Hopefully temporary workaround to autoconf/m4 issue with quoting '@'. -#define _GLIBCPP_AT_AT "@@" - -// In those parts of the standard C++ library that use a mutex instead -// of a spin-lock, we now unconditionally use GCC's gthr.h mutex -// abstraction layer. All support to directly map to various -// threading models has been removed. Note: gthr.h may well map to -// gthr-single.h which is a correct way to express no threads support -// in gcc. Support for the undocumented _NOTHREADS has been removed. - -// Default to the typically high-speed, pool-based allocator (as -// libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3 -// snapshots). See libstdc++-v3/docs/html/17_intro/howto.html for -// details on why you don't want to override this setting. Ensure -// that threads are properly configured on your platform before -// assigning blame to the STL container-memory allocator. After doing -// so, please report any possible issues to libstdc++@gcc.gnu.org . -// Do not define __USE_MALLOC on the command line. Enforce it here: -#ifdef __USE_MALLOC -#error __USE_MALLOC should never be defined. Read the release notes. -#endif - -// Create a boolean flag to be used to determine if --fast-math is set. -#ifdef __FAST_MATH__ -#define _GLIBCPP_FAST_MATH 1 -#else -#define _GLIBCPP_FAST_MATH 0 -#endif - -// The remainder of the prewritten config is mostly automatic; all the -// user hooks are listed above. - -// End of prewritten config; the discovered settings follow. -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define _GLIBCPP_HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define _GLIBCPP_HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef _GLIBCPP_HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define _GLIBCPP_HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define _GLIBCPP_HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef _GLIBCPP_HAVE_MODFL */ - -// Define if you have the expf function. -#define _GLIBCPP_HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef _GLIBCPP_HAVE_EXPL */ - -// Define if you have the hypotf function. -#define _GLIBCPP_HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef _GLIBCPP_HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef _GLIBCPP_HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef _GLIBCPP_HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef _GLIBCPP_HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef _GLIBCPP_HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef _GLIBCPP_HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define _GLIBCPP_HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef _GLIBCPP_HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef _GLIBCPP_HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef _GLIBCPP_HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef _GLIBCPP_HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef _GLIBCPP_HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef _GLIBCPP_HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef _GLIBCPP_HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef _GLIBCPP_HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef _GLIBCPP_HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef _GLIBCPP_HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef _GLIBCPP_HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef _GLIBCPP_HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef _GLIBCPP_HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef _GLIBCPP_HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef _GLIBCPP_HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef _GLIBCPP_HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef _GLIBCPP_HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef _GLIBCPP_HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef _GLIBCPP_HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef _GLIBCPP_HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef _GLIBCPP_HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef _GLIBCPP_HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef _GLIBCPP_HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef _GLIBCPP_HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef _GLIBCPP_HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef _GLIBCPP_HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef _GLIBCPP_HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef _GLIBCPP_HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef _GLIBCPP_HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef _GLIBCPP_HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef _GLIBCPP_HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef _GLIBCPP_HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef _GLIBCPP_HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef _GLIBCPP_HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef _GLIBCPP_HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef _GLIBCPP_HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef _GLIBCPP_HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef _GLIBCPP_HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef _GLIBCPP_HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef _GLIBCPP_HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef _GLIBCPP_HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef _GLIBCPP_HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef _GLIBCPP_HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef _GLIBCPP_HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef _GLIBCPP_HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef _GLIBCPP_HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef _GLIBCPP_HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef _GLIBCPP_HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef _GLIBCPP_HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef _GLIBCPP_HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef _GLIBCPP_HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef _GLIBCPP_HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef _GLIBCPP_HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef _GLIBCPP_HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef _GLIBCPP_HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef _GLIBCPP_HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef _GLIBCPP_HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef _GLIBCPP_HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef _GLIBCPP_HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef _GLIBCPP_HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef _GLIBCPP_HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef _GLIBCPP_HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define _GLIBCPP_HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef _GLIBCPP_HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define _GLIBCPP_HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef _GLIBCPP_HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define _GLIBCPP_HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef _GLIBCPP_HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define _GLIBCPP_HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef _GLIBCPP_HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define _GLIBCPP_HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define _GLIBCPP_HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef _GLIBCPP_HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define _GLIBCPP_HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define _GLIBCPP_HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef _GLIBCPP_HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define _GLIBCPP_HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define _GLIBCPP_HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef _GLIBCPP_HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef _GLIBCPP_HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define _GLIBCPP_HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef _GLIBCPP_HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define _GLIBCPP_HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef _GLIBCPP_HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define _GLIBCPP_HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define _GLIBCPP_HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define _GLIBCPP_HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define _GLIBCPP_HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef _GLIBCPP_HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define _GLIBCPP_HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef _GLIBCPP_HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define _GLIBCPP_HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef _GLIBCPP_HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef _GLIBCPP_HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define _GLIBCPP_HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define _GLIBCPP_HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define _GLIBCPP_HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef _GLIBCPP_HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define _GLIBCPP_HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define _GLIBCPP_HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define _GLIBCPP_HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define _GLIBCPP_HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define _GLIBCPP_HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef _GLIBCPP_HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define _GLIBCPP_HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define _GLIBCPP_HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define _GLIBCPP_HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define _GLIBCPP_HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef _GLIBCPP_HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define _GLIBCPP_HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define _GLIBCPP_HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef _GLIBCPP_HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define _GLIBCPP_HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define _GLIBCPP_HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef _GLIBCPP_HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define _GLIBCPP_HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef _GLIBCPP_HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define _GLIBCPP_HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef _GLIBCPP_HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define _GLIBCPP_HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef _GLIBCPP_HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define _GLIBCPP_HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define _GLIBCPP_HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define _GLIBCPP_HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define _GLIBCPP_HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define _GLIBCPP_HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef _GLIBCPP_HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define _GLIBCPP_HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define _GLIBCPP_HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define _GLIBCPP_HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef _GLIBCPP_HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define _GLIBCPP_HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define _GLIBCPP_HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef _GLIBCPP_HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef _GLIBCPP_HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef _GLIBCPP_HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef _GLIBCPP_HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef _GLIBCPP_HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define _GLIBCPP_HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define _GLIBCPP_HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef _GLIBCPP_HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef _GLIBCPP_HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define _GLIBCPP_HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef _GLIBCPP_HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define _GLIBCPP_HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define _GLIBCPP_HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define _GLIBCPP_HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define _GLIBCPP_HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define _GLIBCPP_HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define _GLIBCPP_HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef _GLIBCPP_HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef _GLIBCPP_HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define _GLIBCPP_HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define _GLIBCPP_HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define _GLIBCPP_HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define _GLIBCPP_HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define _GLIBCPP_HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define _GLIBCPP_HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define _GLIBCPP_HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define _GLIBCPP_HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define _GLIBCPP_HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define _GLIBCPP_HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define _GLIBCPP_HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define _GLIBCPP_HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define _GLIBCPP_HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define _GLIBCPP_HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define _GLIBCPP_HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define _GLIBCPP_HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define _GLIBCPP_HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define _GLIBCPP_HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define _GLIBCPP_HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define _GLIBCPP_HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define _GLIBCPP_HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define _GLIBCPP_HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define _GLIBCPP_HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define _GLIBCPP_HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define _GLIBCPP_HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define _GLIBCPP_HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define _GLIBCPP_HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define _GLIBCPP_HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define _GLIBCPP_HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define _GLIBCPP_HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define _GLIBCPP_HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define _GLIBCPP_HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define _GLIBCPP_HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define _GLIBCPP_HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define _GLIBCPP_HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define _GLIBCPP_HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define _GLIBCPP_HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define _GLIBCPP_HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef _GLIBCPP_HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define _GLIBCPP_HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef _GLIBCPP_HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef _GLIBCPP_HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define _GLIBCPP_HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define _GLIBCPP_HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define _GLIBCPP_HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef _GLIBCPP_HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define _GLIBCPP_HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define _GLIBCPP_HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define _GLIBCPP_HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef _GLIBCPP_HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define _GLIBCPP_HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define _GLIBCPP_HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define _GLIBCPP_HAVE_LIBM 1 - -/* Name of package */ -#define _GLIBCPP_PACKAGE "libstdc++" - -/* Version number of package */ -#define _GLIBCPP_VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -#define _GLIBCPP_SJLJ_EXCEPTIONS 1 - -/* Define if sigsetjmp is available. */ -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (_GLIBCPP_HAVE__ISNAN) && ! defined (_GLIBCPP_HAVE_ISNAN) -# define _GLIBCPP_HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (_GLIBCPP_HAVE__ISNANF) && ! defined (_GLIBCPP_HAVE_ISNANF) -# define _GLIBCPP_HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (_GLIBCPP_HAVE__ISNANL) && ! defined (_GLIBCPP_HAVE_ISNANL) -# define _GLIBCPP_HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (_GLIBCPP_HAVE__ISINF) && ! defined (_GLIBCPP_HAVE_ISINF) -# define _GLIBCPP_HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (_GLIBCPP_HAVE__ISINFF) && ! defined (_GLIBCPP_HAVE_ISINFF) -# define _GLIBCPP_HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (_GLIBCPP_HAVE__ISINFL) && ! defined (_GLIBCPP_HAVE_ISINFL) -# define _GLIBCPP_HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGN) && ! defined (_GLIBCPP_HAVE_COPYSIGN) -# define _GLIBCPP_HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGNL) && ! defined (_GLIBCPP_HAVE_COPYSIGNL) -# define _GLIBCPP_HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (_GLIBCPP_HAVE__COSF) && ! defined (_GLIBCPP_HAVE_COSF) -# define _GLIBCPP_HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSF) && ! defined (_GLIBCPP_HAVE_ACOSF) -# define _GLIBCPP_HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSL) && ! defined (_GLIBCPP_HAVE_ACOSL) -# define _GLIBCPP_HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (_GLIBCPP_HAVE__ASINF) && ! defined (_GLIBCPP_HAVE_ASINF) -# define _GLIBCPP_HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (_GLIBCPP_HAVE__ASINL) && ! defined (_GLIBCPP_HAVE_ASINL) -# define _GLIBCPP_HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (_GLIBCPP_HAVE__ATANF) && ! defined (_GLIBCPP_HAVE_ATANF) -# define _GLIBCPP_HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (_GLIBCPP_HAVE__ATANL) && ! defined (_GLIBCPP_HAVE_ATANL) -# define _GLIBCPP_HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (_GLIBCPP_HAVE__CEILF) && ! defined (_GLIBCPP_HAVE_CEILF) -# define _GLIBCPP_HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (_GLIBCPP_HAVE__CEILL) && ! defined (_GLIBCPP_HAVE_CEILL) -# define _GLIBCPP_HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (_GLIBCPP_HAVE__COSHF) && ! defined (_GLIBCPP_HAVE_COSHF) -# define _GLIBCPP_HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (_GLIBCPP_HAVE__COSL) && ! defined (_GLIBCPP_HAVE_COSL) -# define _GLIBCPP_HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (_GLIBCPP_HAVE__LOGF) && ! defined (_GLIBCPP_HAVE_LOGF) -# define _GLIBCPP_HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (_GLIBCPP_HAVE__COSHL) && ! defined (_GLIBCPP_HAVE_COSHL) -# define _GLIBCPP_HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (_GLIBCPP_HAVE__EXPF) && ! defined (_GLIBCPP_HAVE_EXPF) -# define _GLIBCPP_HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (_GLIBCPP_HAVE__EXPL) && ! defined (_GLIBCPP_HAVE_EXPL) -# define _GLIBCPP_HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (_GLIBCPP_HAVE__FABSF) && ! defined (_GLIBCPP_HAVE_FABSF) -# define _GLIBCPP_HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (_GLIBCPP_HAVE__FABSL) && ! defined (_GLIBCPP_HAVE_FABSL) -# define _GLIBCPP_HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (_GLIBCPP_HAVE__FLOORF) && ! defined (_GLIBCPP_HAVE_FLOORF) -# define _GLIBCPP_HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (_GLIBCPP_HAVE__FLOORL) && ! defined (_GLIBCPP_HAVE_FLOORL) -# define _GLIBCPP_HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (_GLIBCPP_HAVE__FMODF) && ! defined (_GLIBCPP_HAVE_FMODF) -# define _GLIBCPP_HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (_GLIBCPP_HAVE__FMODL) && ! defined (_GLIBCPP_HAVE_FMODL) -# define _GLIBCPP_HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (_GLIBCPP_HAVE__FREXPF) && ! defined (_GLIBCPP_HAVE_FREXPF) -# define _GLIBCPP_HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (_GLIBCPP_HAVE__FREXPL) && ! defined (_GLIBCPP_HAVE_FREXPL) -# define _GLIBCPP_HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPF) && ! defined (_GLIBCPP_HAVE_LDEXPF) -# define _GLIBCPP_HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPL) && ! defined (_GLIBCPP_HAVE_LDEXPL) -# define _GLIBCPP_HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (_GLIBCPP_HAVE__LOG10F) && ! defined (_GLIBCPP_HAVE_LOG10F) -# define _GLIBCPP_HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (_GLIBCPP_HAVE__LOGL) && ! defined (_GLIBCPP_HAVE_LOGL) -# define _GLIBCPP_HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (_GLIBCPP_HAVE__POWF) && ! defined (_GLIBCPP_HAVE_POWF) -# define _GLIBCPP_HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (_GLIBCPP_HAVE__LOG10L) && ! defined (_GLIBCPP_HAVE_LOG10L) -# define _GLIBCPP_HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (_GLIBCPP_HAVE__MODF) && ! defined (_GLIBCPP_HAVE_MODF) -# define _GLIBCPP_HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (_GLIBCPP_HAVE__MODL) && ! defined (_GLIBCPP_HAVE_MODL) -# define _GLIBCPP_HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (_GLIBCPP_HAVE__SINF) && ! defined (_GLIBCPP_HAVE_SINF) -# define _GLIBCPP_HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (_GLIBCPP_HAVE__POWL) && ! defined (_GLIBCPP_HAVE_POWL) -# define _GLIBCPP_HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (_GLIBCPP_HAVE__SINHF) && ! defined (_GLIBCPP_HAVE_SINHF) -# define _GLIBCPP_HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (_GLIBCPP_HAVE__SINL) && ! defined (_GLIBCPP_HAVE_SINL) -# define _GLIBCPP_HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (_GLIBCPP_HAVE__SQRTF) && ! defined (_GLIBCPP_HAVE_SQRTF) -# define _GLIBCPP_HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (_GLIBCPP_HAVE__SINHL) && ! defined (_GLIBCPP_HAVE_SINHL) -# define _GLIBCPP_HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (_GLIBCPP_HAVE__TANF) && ! defined (_GLIBCPP_HAVE_TANF) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__SQRTL) && ! defined (_GLIBCPP_HAVE_SQRTL) -# define _GLIBCPP_HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (_GLIBCPP_HAVE__TANHF) && ! defined (_GLIBCPP_HAVE_TANHF) -# define _GLIBCPP_HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (_GLIBCPP_HAVE__TANL) && ! defined (_GLIBCPP_HAVE_TANL) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__STRTOF) && ! defined (_GLIBCPP_HAVE_STRTOF) -# define _GLIBCPP_HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (_GLIBCPP_HAVE__TANHL) && ! defined (_GLIBCPP_HAVE_TANHL) -# define _GLIBCPP_HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (_GLIBCPP_HAVE__STRTOLD) && ! defined (_GLIBCPP_HAVE_STRTOLD) -# define _GLIBCPP_HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (_GLIBCPP_HAVE__SINCOS) && ! defined (_GLIBCPP_HAVE_SINCOS) -# define _GLIBCPP_HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSF) && ! defined (_GLIBCPP_HAVE_SINCOSF) -# define _GLIBCPP_HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSL) && ! defined (_GLIBCPP_HAVE_SINCOSL) -# define _GLIBCPP_HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (_GLIBCPP_HAVE__FINITE) && ! defined (_GLIBCPP_HAVE_FINITE) -# define _GLIBCPP_HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (_GLIBCPP_HAVE__FINITEF) && ! defined (_GLIBCPP_HAVE_FINITEF) -# define _GLIBCPP_HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (_GLIBCPP_HAVE__FINITEL) && ! defined (_GLIBCPP_HAVE_FINITEL) -# define _GLIBCPP_HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (_GLIBCPP_HAVE__QFINITE) && ! defined (_GLIBCPP_HAVE_QFINITE) -# define _GLIBCPP_HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (_GLIBCPP_HAVE__FPCLASS) && ! defined (_GLIBCPP_HAVE_FPCLASS) -# define _GLIBCPP_HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (_GLIBCPP_HAVE__QFPCLASS) && ! defined (_GLIBCPP_HAVE_QFPCLASS) -# define _GLIBCPP_HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - -#endif // _CPP_CPPCONFIG_ diff --git a/gnu/lib/libstdc++-v3/arch/ns32k/config.h b/gnu/lib/libstdc++-v3/arch/ns32k/config.h deleted file mode 100644 index 575aed2db24..00000000000 --- a/gnu/lib/libstdc++-v3/arch/ns32k/config.h +++ /dev/null @@ -1,1127 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef HAVE_MODFL */ - -// Define if you have the expf function. -#define HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef HAVE_EXPL */ - -// Define if you have the hypotf function. -#define HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define HAVE_LIBM 1 - -/* Name of package */ -#define PACKAGE "libstdc++" - -/* Version number of package */ -#define VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -#define _GLIBCPP_SJLJ_EXCEPTIONS 1 - -/* Define if sigsetjmp is available. */ -/* #undef HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) -# define HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) -# define HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) -# define HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) -# define HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) -# define HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) -# define HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN) -# define HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL) -# define HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (HAVE__COSF) && ! defined (HAVE_COSF) -# define HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) -# define HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) -# define HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) -# define HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) -# define HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) -# define HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) -# define HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) -# define HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) -# define HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) -# define HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (HAVE__COSL) && ! defined (HAVE_COSL) -# define HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) -# define HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) -# define HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) -# define HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) -# define HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) -# define HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) -# define HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) -# define HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) -# define HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) -# define HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) -# define HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) -# define HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) -# define HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) -# define HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) -# define HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) -# define HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (HAVE__POWF) && ! defined (HAVE_POWF) -# define HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) -# define HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (HAVE__MODF) && ! defined (HAVE_MODF) -# define HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (HAVE__MODL) && ! defined (HAVE_MODL) -# define HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (HAVE__SINF) && ! defined (HAVE_SINF) -# define HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (HAVE__POWL) && ! defined (HAVE_POWL) -# define HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) -# define HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (HAVE__SINL) && ! defined (HAVE_SINL) -# define HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) -# define HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) -# define HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (HAVE__TANF) && ! defined (HAVE_TANF) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) -# define HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) -# define HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (HAVE__TANL) && ! defined (HAVE_TANL) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) -# define HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) -# define HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) -# define HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) -# define HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) -# define HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) -# define HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) -# define HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) -# define HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) -# define HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE) -# define HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) -# define HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) -# define HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - diff --git a/gnu/lib/libstdc++-v3/arch/ns32k/defs.mk b/gnu/lib/libstdc++-v3/arch/ns32k/defs.mk deleted file mode 100644 index e66862c1dc6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/ns32k/defs.mk +++ /dev/null @@ -1,18 +0,0 @@ -# This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp -# -G_libmath_la_SOURCES=stubs.c -G_libmath_la_LIBADD=signbit.lo -G_LIBSUPCXX_SOURCES=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc -G_LIBSUPCXX_C_SOURCES=cxa_demangle.c dyn-string.c -G_SRC_SOURCES=bitset.cc codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc vterminate.cc wstring-inst.cc codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc basic_file.cc c++locale.cc -G_SECTION_FLAGS=-ffunction-sections -fdata-sections -G_c_base_headers_rename=cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype -G_std_headers_rename=algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector -G_bits_headers=basic_ios.h basic_ios.tcc basic_string.h basic_string.tcc boost_concept_check.h char_traits.h codecvt.h concept_check.h cpp_type_traits.h deque.tcc fpos.h fstream.tcc functexcept.h gslice.h gslice_array.h indirect_array.h ios_base.h istream.tcc list.tcc locale_classes.h locale_facets.h locale_facets.tcc localefwd.h mask_array.h ostream.tcc pthread_allocimpl.h stream_iterator.h streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h stl_algobase.h stl_alloc.h stl_bvector.h stl_construct.h stl_deque.h stl_function.h stl_heap.h stl_iterator.h stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h stl_queue.h stl_raw_storage_iter.h stl_relops.h stl_set.h stl_stack.h stl_tempbuf.h stl_threads.h stl_tree.h stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h type_traits.h valarray_array.h valarray_array.tcc valarray_meta.h vector.tcc -G_backward_headers=complex.h iomanip.h istream.h ostream.h stream.h streambuf.h algo.h algobase.h alloc.h bvector.h defalloc.h deque.h function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h iterator.h list.h map.h multimap.h new.h multiset.h pair.h queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h vector.h fstream.h strstream backward_warning.h -G_ext_headers=algorithm enc_filebuf.h stdio_filebuf.h functional hash_map hash_set iterator memory numeric rb_tree rope ropeimpl.h slist stl_hash_fun.h stl_hashtable.h stl_rope.h -G_c_base_headers_extra=cmath.tcc -G_target_headers=ctype_base.h ctype_inline.h ctype_noninline.h os_defines.h atomicity.h -G_thread_target_headers=gthr.h gthr-single.h gthr-posix.h gthr-default.h -G_target_headers_extra=basic_file.h c++config.h c++io.h c++locale.h messages_members.h time_members.h codecvt_specializations.h diff --git a/gnu/lib/libstdc++-v3/arch/ns32k/gthr-default.h b/gnu/lib/libstdc++-v3/arch/ns32k/gthr-default.h deleted file mode 100644 index 1aca68c12e6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/ns32k/gthr-default.h +++ /dev/null @@ -1,242 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative,v 1.12 2003/03/05 06:17:17 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H -#define _GLIBCPP_GCC_GTHR_SINGLE_H - -/* Just provide compatibility for mutex handling. */ - -typedef int __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT 0 - -#ifdef __cplusplus -#define _GLIBCPP_UNUSED(x) -#else -#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) -#endif - -#ifdef _LIBOBJC - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) -{ - /* No thread support available */ - return NULL; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) -{ - /* No thread support available */ - return -1; -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - return; -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - /* No thread support available */ - /* Should we really exit the program */ - /* exit (&__objc_thread_exit_status); */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - /* No thread support, use 1. */ - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - thread_local_storage = value; - return 0; -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), - objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - return 0; -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -#endif /* _LIBOBJC */ - -#undef _GLIBCPP_UNUSED - -#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/ns32k/gthr-posix.h b/gnu/lib/libstdc++-v3/arch/ns32k/gthr-posix.h deleted file mode 100644 index 8b6907f2375..00000000000 --- a/gnu/lib/libstdc++-v3/arch/ns32k/gthr-posix.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative,v 1.12 2003/03/05 06:17:17 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/ns32k/gthr-single.h b/gnu/lib/libstdc++-v3/arch/ns32k/gthr-single.h deleted file mode 100644 index 1aca68c12e6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/ns32k/gthr-single.h +++ /dev/null @@ -1,242 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative,v 1.12 2003/03/05 06:17:17 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H -#define _GLIBCPP_GCC_GTHR_SINGLE_H - -/* Just provide compatibility for mutex handling. */ - -typedef int __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT 0 - -#ifdef __cplusplus -#define _GLIBCPP_UNUSED(x) -#else -#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) -#endif - -#ifdef _LIBOBJC - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) -{ - /* No thread support available */ - return NULL; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) -{ - /* No thread support available */ - return -1; -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - return; -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - /* No thread support available */ - /* Should we really exit the program */ - /* exit (&__objc_thread_exit_status); */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - /* No thread support, use 1. */ - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - thread_local_storage = value; - return 0; -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), - objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - return 0; -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -#endif /* _LIBOBJC */ - -#undef _GLIBCPP_UNUSED - -#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/ns32k/gthr.h b/gnu/lib/libstdc++-v3/arch/ns32k/gthr.h deleted file mode 100644 index 5b9046dadb8..00000000000 --- a/gnu/lib/libstdc++-v3/arch/ns32k/gthr.h +++ /dev/null @@ -1,108 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative,v 1.12 2003/03/05 06:17:17 mrg Exp */ - -/* Threads compatibility routines for libgcc2. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1998 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_H -#define _GLIBCPP_GCC_GTHR_H - -/* If this file is compiled with threads support, it must - #define __GTHREADS 1 - to indicate that threads support is present. Also it has define - function - int __gthread_active_p () - that returns 1 if thread system is active, 0 if not. - - The threads interface must define the following types: - __gthread_key_t - __gthread_once_t - __gthread_mutex_t - - The threads interface must define the following macros: - - __GTHREAD_ONCE_INIT - to initialize __gthread_once_t - __GTHREAD_MUTEX_INIT - to initialize __gthread_mutex_t to get a fast - non-recursive mutex. - __GTHREAD_MUTEX_INIT_FUNCTION - some systems can't initialize a mutex without a - function call. On such systems, define this to a - function which looks like this: - void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *) - Don't define __GTHREAD_MUTEX_INIT in this case - - The threads interface must define the following static functions: - - int __gthread_once (__gthread_once_t *once, void (*func) ()) - - int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *)) - int __gthread_key_delete (__gthread_key_t key) - - int __gthread_key_dtor (__gthread_key_t key, void *ptr) - - void *__gthread_getspecific (__gthread_key_t key) - int __gthread_setspecific (__gthread_key_t key, const void *ptr) - - int __gthread_mutex_lock (__gthread_mutex_t *mutex); - int __gthread_mutex_trylock (__gthread_mutex_t *mutex); - int __gthread_mutex_unlock (__gthread_mutex_t *mutex); - - All functions returning int should return zero on success or the error - number. If the operation is not supported, -1 is returned. - - Currently supported threads packages are - POSIX threads with -D_PTHREADS - DCE threads with -D_DCE_THREADS - Solaris/UI threads with -D_SOLARIS_THREADS -*/ - -/* Check first for thread specific defines. */ -#if _GLIBCPP__PTHREADS -#include <bits/gthr-posix.h> -#elif _GLIBCPP__DCE_THREADS -#include <bits/gthr-dce.h> -#elif _GLIBCPP__SOLARIS_THREADS -#include <bits/gthr-solaris.h> - -/* Include GTHREAD_FILE if one is defined. */ -#elif defined(_GLIBCPP_HAVE_GTHR_DEFAULT) -#if _GLIBCPP_SUPPORTS_WEAK -#ifndef _GLIBCPP_GTHREAD_USE_WEAK -#define _GLIBCPP_GTHREAD_USE_WEAK 1 -#endif -#endif -#include <bits/gthr-default.h> - -/* Fallback to single thread definitions. */ -#else -#include <bits/gthr-single.h> -#endif - -#endif /* ! _GLIBCPP_GCC_GTHR_H */ diff --git a/gnu/lib/libstdc++-v3/arch/powerpc/c++config.h b/gnu/lib/libstdc++-v3/arch/powerpc/c++config.h deleted file mode 100644 index a73086022ad..00000000000 --- a/gnu/lib/libstdc++-v3/arch/powerpc/c++config.h +++ /dev/null @@ -1,1228 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -// Predefined symbols and macros -*- C++ -*- - -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -// Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) -// any later version. - -// This library 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 this library; see the file COPYING. If not, write to the Free -// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _CPP_CPPCONFIG -#define _CPP_CPPCONFIG 1 - -// Pick up any OS-specific definitions. -#include <bits/os_defines.h> - -// The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20050503 - -// This is necessary until GCC supports separate template compilation. -#define _GLIBCPP_NO_TEMPLATE_EXPORT 1 - -// This is a hack around not having either pre-compiled headers or -// export compilation. If defined, the io, string, and valarray -// headers will include all the necessary bits. If not defined, the -// implementation optimizes the headers for the most commonly-used -// types. For the io library, this means that larger, out-of-line -// member functions are only declared, and definitions are not parsed -// by the compiler, but instead instantiated into the library binary. -#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1 - -// Allow use of the GNU syntax extension, "extern template." This -// extension is fully documented in the g++ manual, but in a nutshell, -// it inhibits all implicit instantiations and is used throughout the -// library to avoid multiple weak definitions for required types that -// are already explicitly instantiated in the library binary. This -// substantially reduces the binary size of resulting executables. -#ifndef _GLIBCPP_EXTERN_TEMPLATE -#define _GLIBCPP_EXTERN_TEMPLATE 1 -#endif - -// To enable older, ARM-style iostreams and other anachronisms use this. -//#define _GLIBCPP_DEPRECATED 1 - -// Use corrected code from the committee library group's issues list. -#define _GLIBCPP_RESOLVE_LIB_DEFECTS 1 - -// Hopefully temporary workaround to autoconf/m4 issue with quoting '@'. -#define _GLIBCPP_AT_AT "@@" - -// In those parts of the standard C++ library that use a mutex instead -// of a spin-lock, we now unconditionally use GCC's gthr.h mutex -// abstraction layer. All support to directly map to various -// threading models has been removed. Note: gthr.h may well map to -// gthr-single.h which is a correct way to express no threads support -// in gcc. Support for the undocumented _NOTHREADS has been removed. - -// Default to the typically high-speed, pool-based allocator (as -// libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3 -// snapshots). See libstdc++-v3/docs/html/17_intro/howto.html for -// details on why you don't want to override this setting. Ensure -// that threads are properly configured on your platform before -// assigning blame to the STL container-memory allocator. After doing -// so, please report any possible issues to libstdc++@gcc.gnu.org . -// Do not define __USE_MALLOC on the command line. Enforce it here: -#ifdef __USE_MALLOC -#error __USE_MALLOC should never be defined. Read the release notes. -#endif - -// Create a boolean flag to be used to determine if --fast-math is set. -#ifdef __FAST_MATH__ -#define _GLIBCPP_FAST_MATH 1 -#else -#define _GLIBCPP_FAST_MATH 0 -#endif - -// The remainder of the prewritten config is mostly automatic; all the -// user hooks are listed above. - -// End of prewritten config; the discovered settings follow. -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define _GLIBCPP_HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define _GLIBCPP_HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef _GLIBCPP_HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define _GLIBCPP_HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define _GLIBCPP_HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef _GLIBCPP_HAVE_MODFL */ - -// Define if you have the expf function. -#define _GLIBCPP_HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef _GLIBCPP_HAVE_EXPL */ - -// Define if you have the hypotf function. -#define _GLIBCPP_HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef _GLIBCPP_HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef _GLIBCPP_HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef _GLIBCPP_HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef _GLIBCPP_HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef _GLIBCPP_HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef _GLIBCPP_HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define _GLIBCPP_HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef _GLIBCPP_HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef _GLIBCPP_HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef _GLIBCPP_HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef _GLIBCPP_HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef _GLIBCPP_HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef _GLIBCPP_HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef _GLIBCPP_HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef _GLIBCPP_HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef _GLIBCPP_HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef _GLIBCPP_HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef _GLIBCPP_HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef _GLIBCPP_HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef _GLIBCPP_HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef _GLIBCPP_HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef _GLIBCPP_HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef _GLIBCPP_HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef _GLIBCPP_HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef _GLIBCPP_HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef _GLIBCPP_HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef _GLIBCPP_HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef _GLIBCPP_HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef _GLIBCPP_HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef _GLIBCPP_HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef _GLIBCPP_HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef _GLIBCPP_HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef _GLIBCPP_HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef _GLIBCPP_HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef _GLIBCPP_HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef _GLIBCPP_HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef _GLIBCPP_HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef _GLIBCPP_HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef _GLIBCPP_HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef _GLIBCPP_HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef _GLIBCPP_HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef _GLIBCPP_HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef _GLIBCPP_HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef _GLIBCPP_HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef _GLIBCPP_HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef _GLIBCPP_HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef _GLIBCPP_HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef _GLIBCPP_HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef _GLIBCPP_HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef _GLIBCPP_HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef _GLIBCPP_HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef _GLIBCPP_HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef _GLIBCPP_HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef _GLIBCPP_HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef _GLIBCPP_HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef _GLIBCPP_HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef _GLIBCPP_HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef _GLIBCPP_HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef _GLIBCPP_HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef _GLIBCPP_HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef _GLIBCPP_HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef _GLIBCPP_HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef _GLIBCPP_HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef _GLIBCPP_HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef _GLIBCPP_HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef _GLIBCPP_HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef _GLIBCPP_HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef _GLIBCPP_HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef _GLIBCPP_HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define _GLIBCPP_HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef _GLIBCPP_HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define _GLIBCPP_HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef _GLIBCPP_HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define _GLIBCPP_HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef _GLIBCPP_HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define _GLIBCPP_HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef _GLIBCPP_HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define _GLIBCPP_HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define _GLIBCPP_HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef _GLIBCPP_HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define _GLIBCPP_HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define _GLIBCPP_HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef _GLIBCPP_HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define _GLIBCPP_HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define _GLIBCPP_HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef _GLIBCPP_HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef _GLIBCPP_HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define _GLIBCPP_HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef _GLIBCPP_HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define _GLIBCPP_HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef _GLIBCPP_HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define _GLIBCPP_HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define _GLIBCPP_HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define _GLIBCPP_HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define _GLIBCPP_HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef _GLIBCPP_HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define _GLIBCPP_HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef _GLIBCPP_HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define _GLIBCPP_HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef _GLIBCPP_HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef _GLIBCPP_HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define _GLIBCPP_HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define _GLIBCPP_HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define _GLIBCPP_HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef _GLIBCPP_HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define _GLIBCPP_HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define _GLIBCPP_HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define _GLIBCPP_HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define _GLIBCPP_HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define _GLIBCPP_HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef _GLIBCPP_HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define _GLIBCPP_HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define _GLIBCPP_HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define _GLIBCPP_HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define _GLIBCPP_HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef _GLIBCPP_HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define _GLIBCPP_HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define _GLIBCPP_HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef _GLIBCPP_HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define _GLIBCPP_HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define _GLIBCPP_HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef _GLIBCPP_HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define _GLIBCPP_HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef _GLIBCPP_HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define _GLIBCPP_HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef _GLIBCPP_HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define _GLIBCPP_HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef _GLIBCPP_HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define _GLIBCPP_HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define _GLIBCPP_HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define _GLIBCPP_HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define _GLIBCPP_HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define _GLIBCPP_HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef _GLIBCPP_HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define _GLIBCPP_HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define _GLIBCPP_HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define _GLIBCPP_HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef _GLIBCPP_HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define _GLIBCPP_HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define _GLIBCPP_HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef _GLIBCPP_HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef _GLIBCPP_HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef _GLIBCPP_HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef _GLIBCPP_HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef _GLIBCPP_HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define _GLIBCPP_HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define _GLIBCPP_HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef _GLIBCPP_HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef _GLIBCPP_HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define _GLIBCPP_HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef _GLIBCPP_HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define _GLIBCPP_HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define _GLIBCPP_HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define _GLIBCPP_HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define _GLIBCPP_HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define _GLIBCPP_HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define _GLIBCPP_HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef _GLIBCPP_HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef _GLIBCPP_HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define _GLIBCPP_HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define _GLIBCPP_HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define _GLIBCPP_HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define _GLIBCPP_HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define _GLIBCPP_HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define _GLIBCPP_HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define _GLIBCPP_HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define _GLIBCPP_HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define _GLIBCPP_HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define _GLIBCPP_HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define _GLIBCPP_HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define _GLIBCPP_HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define _GLIBCPP_HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define _GLIBCPP_HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define _GLIBCPP_HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define _GLIBCPP_HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define _GLIBCPP_HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define _GLIBCPP_HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define _GLIBCPP_HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define _GLIBCPP_HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define _GLIBCPP_HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define _GLIBCPP_HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define _GLIBCPP_HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define _GLIBCPP_HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define _GLIBCPP_HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define _GLIBCPP_HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define _GLIBCPP_HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define _GLIBCPP_HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define _GLIBCPP_HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define _GLIBCPP_HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define _GLIBCPP_HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define _GLIBCPP_HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define _GLIBCPP_HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define _GLIBCPP_HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define _GLIBCPP_HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define _GLIBCPP_HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define _GLIBCPP_HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define _GLIBCPP_HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef _GLIBCPP_HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define _GLIBCPP_HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef _GLIBCPP_HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef _GLIBCPP_HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define _GLIBCPP_HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define _GLIBCPP_HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define _GLIBCPP_HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef _GLIBCPP_HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define _GLIBCPP_HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define _GLIBCPP_HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define _GLIBCPP_HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef _GLIBCPP_HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define _GLIBCPP_HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define _GLIBCPP_HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define _GLIBCPP_HAVE_LIBM 1 - -/* Name of package */ -#define _GLIBCPP_PACKAGE "libstdc++" - -/* Version number of package */ -#define _GLIBCPP_VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (_GLIBCPP_HAVE__ISNAN) && ! defined (_GLIBCPP_HAVE_ISNAN) -# define _GLIBCPP_HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (_GLIBCPP_HAVE__ISNANF) && ! defined (_GLIBCPP_HAVE_ISNANF) -# define _GLIBCPP_HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (_GLIBCPP_HAVE__ISNANL) && ! defined (_GLIBCPP_HAVE_ISNANL) -# define _GLIBCPP_HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (_GLIBCPP_HAVE__ISINF) && ! defined (_GLIBCPP_HAVE_ISINF) -# define _GLIBCPP_HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (_GLIBCPP_HAVE__ISINFF) && ! defined (_GLIBCPP_HAVE_ISINFF) -# define _GLIBCPP_HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (_GLIBCPP_HAVE__ISINFL) && ! defined (_GLIBCPP_HAVE_ISINFL) -# define _GLIBCPP_HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGN) && ! defined (_GLIBCPP_HAVE_COPYSIGN) -# define _GLIBCPP_HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGNL) && ! defined (_GLIBCPP_HAVE_COPYSIGNL) -# define _GLIBCPP_HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (_GLIBCPP_HAVE__COSF) && ! defined (_GLIBCPP_HAVE_COSF) -# define _GLIBCPP_HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSF) && ! defined (_GLIBCPP_HAVE_ACOSF) -# define _GLIBCPP_HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSL) && ! defined (_GLIBCPP_HAVE_ACOSL) -# define _GLIBCPP_HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (_GLIBCPP_HAVE__ASINF) && ! defined (_GLIBCPP_HAVE_ASINF) -# define _GLIBCPP_HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (_GLIBCPP_HAVE__ASINL) && ! defined (_GLIBCPP_HAVE_ASINL) -# define _GLIBCPP_HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (_GLIBCPP_HAVE__ATANF) && ! defined (_GLIBCPP_HAVE_ATANF) -# define _GLIBCPP_HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (_GLIBCPP_HAVE__ATANL) && ! defined (_GLIBCPP_HAVE_ATANL) -# define _GLIBCPP_HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (_GLIBCPP_HAVE__CEILF) && ! defined (_GLIBCPP_HAVE_CEILF) -# define _GLIBCPP_HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (_GLIBCPP_HAVE__CEILL) && ! defined (_GLIBCPP_HAVE_CEILL) -# define _GLIBCPP_HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (_GLIBCPP_HAVE__COSHF) && ! defined (_GLIBCPP_HAVE_COSHF) -# define _GLIBCPP_HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (_GLIBCPP_HAVE__COSL) && ! defined (_GLIBCPP_HAVE_COSL) -# define _GLIBCPP_HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (_GLIBCPP_HAVE__LOGF) && ! defined (_GLIBCPP_HAVE_LOGF) -# define _GLIBCPP_HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (_GLIBCPP_HAVE__COSHL) && ! defined (_GLIBCPP_HAVE_COSHL) -# define _GLIBCPP_HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (_GLIBCPP_HAVE__EXPF) && ! defined (_GLIBCPP_HAVE_EXPF) -# define _GLIBCPP_HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (_GLIBCPP_HAVE__EXPL) && ! defined (_GLIBCPP_HAVE_EXPL) -# define _GLIBCPP_HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (_GLIBCPP_HAVE__FABSF) && ! defined (_GLIBCPP_HAVE_FABSF) -# define _GLIBCPP_HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (_GLIBCPP_HAVE__FABSL) && ! defined (_GLIBCPP_HAVE_FABSL) -# define _GLIBCPP_HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (_GLIBCPP_HAVE__FLOORF) && ! defined (_GLIBCPP_HAVE_FLOORF) -# define _GLIBCPP_HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (_GLIBCPP_HAVE__FLOORL) && ! defined (_GLIBCPP_HAVE_FLOORL) -# define _GLIBCPP_HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (_GLIBCPP_HAVE__FMODF) && ! defined (_GLIBCPP_HAVE_FMODF) -# define _GLIBCPP_HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (_GLIBCPP_HAVE__FMODL) && ! defined (_GLIBCPP_HAVE_FMODL) -# define _GLIBCPP_HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (_GLIBCPP_HAVE__FREXPF) && ! defined (_GLIBCPP_HAVE_FREXPF) -# define _GLIBCPP_HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (_GLIBCPP_HAVE__FREXPL) && ! defined (_GLIBCPP_HAVE_FREXPL) -# define _GLIBCPP_HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPF) && ! defined (_GLIBCPP_HAVE_LDEXPF) -# define _GLIBCPP_HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPL) && ! defined (_GLIBCPP_HAVE_LDEXPL) -# define _GLIBCPP_HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (_GLIBCPP_HAVE__LOG10F) && ! defined (_GLIBCPP_HAVE_LOG10F) -# define _GLIBCPP_HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (_GLIBCPP_HAVE__LOGL) && ! defined (_GLIBCPP_HAVE_LOGL) -# define _GLIBCPP_HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (_GLIBCPP_HAVE__POWF) && ! defined (_GLIBCPP_HAVE_POWF) -# define _GLIBCPP_HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (_GLIBCPP_HAVE__LOG10L) && ! defined (_GLIBCPP_HAVE_LOG10L) -# define _GLIBCPP_HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (_GLIBCPP_HAVE__MODF) && ! defined (_GLIBCPP_HAVE_MODF) -# define _GLIBCPP_HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (_GLIBCPP_HAVE__MODL) && ! defined (_GLIBCPP_HAVE_MODL) -# define _GLIBCPP_HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (_GLIBCPP_HAVE__SINF) && ! defined (_GLIBCPP_HAVE_SINF) -# define _GLIBCPP_HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (_GLIBCPP_HAVE__POWL) && ! defined (_GLIBCPP_HAVE_POWL) -# define _GLIBCPP_HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (_GLIBCPP_HAVE__SINHF) && ! defined (_GLIBCPP_HAVE_SINHF) -# define _GLIBCPP_HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (_GLIBCPP_HAVE__SINL) && ! defined (_GLIBCPP_HAVE_SINL) -# define _GLIBCPP_HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (_GLIBCPP_HAVE__SQRTF) && ! defined (_GLIBCPP_HAVE_SQRTF) -# define _GLIBCPP_HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (_GLIBCPP_HAVE__SINHL) && ! defined (_GLIBCPP_HAVE_SINHL) -# define _GLIBCPP_HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (_GLIBCPP_HAVE__TANF) && ! defined (_GLIBCPP_HAVE_TANF) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__SQRTL) && ! defined (_GLIBCPP_HAVE_SQRTL) -# define _GLIBCPP_HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (_GLIBCPP_HAVE__TANHF) && ! defined (_GLIBCPP_HAVE_TANHF) -# define _GLIBCPP_HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (_GLIBCPP_HAVE__TANL) && ! defined (_GLIBCPP_HAVE_TANL) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__STRTOF) && ! defined (_GLIBCPP_HAVE_STRTOF) -# define _GLIBCPP_HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (_GLIBCPP_HAVE__TANHL) && ! defined (_GLIBCPP_HAVE_TANHL) -# define _GLIBCPP_HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (_GLIBCPP_HAVE__STRTOLD) && ! defined (_GLIBCPP_HAVE_STRTOLD) -# define _GLIBCPP_HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (_GLIBCPP_HAVE__SINCOS) && ! defined (_GLIBCPP_HAVE_SINCOS) -# define _GLIBCPP_HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSF) && ! defined (_GLIBCPP_HAVE_SINCOSF) -# define _GLIBCPP_HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSL) && ! defined (_GLIBCPP_HAVE_SINCOSL) -# define _GLIBCPP_HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (_GLIBCPP_HAVE__FINITE) && ! defined (_GLIBCPP_HAVE_FINITE) -# define _GLIBCPP_HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (_GLIBCPP_HAVE__FINITEF) && ! defined (_GLIBCPP_HAVE_FINITEF) -# define _GLIBCPP_HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (_GLIBCPP_HAVE__FINITEL) && ! defined (_GLIBCPP_HAVE_FINITEL) -# define _GLIBCPP_HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (_GLIBCPP_HAVE__QFINITE) && ! defined (_GLIBCPP_HAVE_QFINITE) -# define _GLIBCPP_HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (_GLIBCPP_HAVE__FPCLASS) && ! defined (_GLIBCPP_HAVE_FPCLASS) -# define _GLIBCPP_HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (_GLIBCPP_HAVE__QFPCLASS) && ! defined (_GLIBCPP_HAVE_QFPCLASS) -# define _GLIBCPP_HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - -#endif // _CPP_CPPCONFIG_ diff --git a/gnu/lib/libstdc++-v3/arch/powerpc/config.h b/gnu/lib/libstdc++-v3/arch/powerpc/config.h deleted file mode 100644 index 02ea4f7a34a..00000000000 --- a/gnu/lib/libstdc++-v3/arch/powerpc/config.h +++ /dev/null @@ -1,1127 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef HAVE_MODFL */ - -// Define if you have the expf function. -#define HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef HAVE_EXPL */ - -// Define if you have the hypotf function. -#define HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define HAVE_LIBM 1 - -/* Name of package */ -#define PACKAGE "libstdc++" - -/* Version number of package */ -#define VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) -# define HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) -# define HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) -# define HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) -# define HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) -# define HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) -# define HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN) -# define HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL) -# define HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (HAVE__COSF) && ! defined (HAVE_COSF) -# define HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) -# define HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) -# define HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) -# define HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) -# define HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) -# define HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) -# define HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) -# define HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) -# define HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) -# define HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (HAVE__COSL) && ! defined (HAVE_COSL) -# define HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) -# define HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) -# define HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) -# define HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) -# define HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) -# define HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) -# define HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) -# define HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) -# define HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) -# define HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) -# define HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) -# define HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) -# define HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) -# define HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) -# define HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) -# define HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (HAVE__POWF) && ! defined (HAVE_POWF) -# define HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) -# define HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (HAVE__MODF) && ! defined (HAVE_MODF) -# define HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (HAVE__MODL) && ! defined (HAVE_MODL) -# define HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (HAVE__SINF) && ! defined (HAVE_SINF) -# define HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (HAVE__POWL) && ! defined (HAVE_POWL) -# define HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) -# define HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (HAVE__SINL) && ! defined (HAVE_SINL) -# define HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) -# define HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) -# define HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (HAVE__TANF) && ! defined (HAVE_TANF) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) -# define HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) -# define HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (HAVE__TANL) && ! defined (HAVE_TANL) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) -# define HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) -# define HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) -# define HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) -# define HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) -# define HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) -# define HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) -# define HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) -# define HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) -# define HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE) -# define HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) -# define HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) -# define HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - diff --git a/gnu/lib/libstdc++-v3/arch/powerpc/defs.mk b/gnu/lib/libstdc++-v3/arch/powerpc/defs.mk deleted file mode 100644 index e66862c1dc6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/powerpc/defs.mk +++ /dev/null @@ -1,18 +0,0 @@ -# This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp -# -G_libmath_la_SOURCES=stubs.c -G_libmath_la_LIBADD=signbit.lo -G_LIBSUPCXX_SOURCES=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc -G_LIBSUPCXX_C_SOURCES=cxa_demangle.c dyn-string.c -G_SRC_SOURCES=bitset.cc codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc vterminate.cc wstring-inst.cc codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc basic_file.cc c++locale.cc -G_SECTION_FLAGS=-ffunction-sections -fdata-sections -G_c_base_headers_rename=cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype -G_std_headers_rename=algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector -G_bits_headers=basic_ios.h basic_ios.tcc basic_string.h basic_string.tcc boost_concept_check.h char_traits.h codecvt.h concept_check.h cpp_type_traits.h deque.tcc fpos.h fstream.tcc functexcept.h gslice.h gslice_array.h indirect_array.h ios_base.h istream.tcc list.tcc locale_classes.h locale_facets.h locale_facets.tcc localefwd.h mask_array.h ostream.tcc pthread_allocimpl.h stream_iterator.h streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h stl_algobase.h stl_alloc.h stl_bvector.h stl_construct.h stl_deque.h stl_function.h stl_heap.h stl_iterator.h stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h stl_queue.h stl_raw_storage_iter.h stl_relops.h stl_set.h stl_stack.h stl_tempbuf.h stl_threads.h stl_tree.h stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h type_traits.h valarray_array.h valarray_array.tcc valarray_meta.h vector.tcc -G_backward_headers=complex.h iomanip.h istream.h ostream.h stream.h streambuf.h algo.h algobase.h alloc.h bvector.h defalloc.h deque.h function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h iterator.h list.h map.h multimap.h new.h multiset.h pair.h queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h vector.h fstream.h strstream backward_warning.h -G_ext_headers=algorithm enc_filebuf.h stdio_filebuf.h functional hash_map hash_set iterator memory numeric rb_tree rope ropeimpl.h slist stl_hash_fun.h stl_hashtable.h stl_rope.h -G_c_base_headers_extra=cmath.tcc -G_target_headers=ctype_base.h ctype_inline.h ctype_noninline.h os_defines.h atomicity.h -G_thread_target_headers=gthr.h gthr-single.h gthr-posix.h gthr-default.h -G_target_headers_extra=basic_file.h c++config.h c++io.h c++locale.h messages_members.h time_members.h codecvt_specializations.h diff --git a/gnu/lib/libstdc++-v3/arch/powerpc/gthr-default.h b/gnu/lib/libstdc++-v3/arch/powerpc/gthr-default.h deleted file mode 100644 index 6d49ac3e797..00000000000 --- a/gnu/lib/libstdc++-v3/arch/powerpc/gthr-default.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/powerpc/gthr-posix.h b/gnu/lib/libstdc++-v3/arch/powerpc/gthr-posix.h deleted file mode 100644 index 6d49ac3e797..00000000000 --- a/gnu/lib/libstdc++-v3/arch/powerpc/gthr-posix.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/powerpc/gthr-single.h b/gnu/lib/libstdc++-v3/arch/powerpc/gthr-single.h deleted file mode 100644 index 6e13a634ac3..00000000000 --- a/gnu/lib/libstdc++-v3/arch/powerpc/gthr-single.h +++ /dev/null @@ -1,242 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H -#define _GLIBCPP_GCC_GTHR_SINGLE_H - -/* Just provide compatibility for mutex handling. */ - -typedef int __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT 0 - -#ifdef __cplusplus -#define _GLIBCPP_UNUSED(x) -#else -#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) -#endif - -#ifdef _LIBOBJC - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) -{ - /* No thread support available */ - return NULL; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) -{ - /* No thread support available */ - return -1; -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - return; -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - /* No thread support available */ - /* Should we really exit the program */ - /* exit (&__objc_thread_exit_status); */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - /* No thread support, use 1. */ - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - thread_local_storage = value; - return 0; -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), - objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - return 0; -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -#endif /* _LIBOBJC */ - -#undef _GLIBCPP_UNUSED - -#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/powerpc/gthr.h b/gnu/lib/libstdc++-v3/arch/powerpc/gthr.h deleted file mode 100644 index cf06719ee38..00000000000 --- a/gnu/lib/libstdc++-v3/arch/powerpc/gthr.h +++ /dev/null @@ -1,108 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp */ - -/* Threads compatibility routines for libgcc2. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1998 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_H -#define _GLIBCPP_GCC_GTHR_H - -/* If this file is compiled with threads support, it must - #define __GTHREADS 1 - to indicate that threads support is present. Also it has define - function - int __gthread_active_p () - that returns 1 if thread system is active, 0 if not. - - The threads interface must define the following types: - __gthread_key_t - __gthread_once_t - __gthread_mutex_t - - The threads interface must define the following macros: - - __GTHREAD_ONCE_INIT - to initialize __gthread_once_t - __GTHREAD_MUTEX_INIT - to initialize __gthread_mutex_t to get a fast - non-recursive mutex. - __GTHREAD_MUTEX_INIT_FUNCTION - some systems can't initialize a mutex without a - function call. On such systems, define this to a - function which looks like this: - void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *) - Don't define __GTHREAD_MUTEX_INIT in this case - - The threads interface must define the following static functions: - - int __gthread_once (__gthread_once_t *once, void (*func) ()) - - int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *)) - int __gthread_key_delete (__gthread_key_t key) - - int __gthread_key_dtor (__gthread_key_t key, void *ptr) - - void *__gthread_getspecific (__gthread_key_t key) - int __gthread_setspecific (__gthread_key_t key, const void *ptr) - - int __gthread_mutex_lock (__gthread_mutex_t *mutex); - int __gthread_mutex_trylock (__gthread_mutex_t *mutex); - int __gthread_mutex_unlock (__gthread_mutex_t *mutex); - - All functions returning int should return zero on success or the error - number. If the operation is not supported, -1 is returned. - - Currently supported threads packages are - POSIX threads with -D_PTHREADS - DCE threads with -D_DCE_THREADS - Solaris/UI threads with -D_SOLARIS_THREADS -*/ - -/* Check first for thread specific defines. */ -#if _GLIBCPP__PTHREADS -#include <bits/gthr-posix.h> -#elif _GLIBCPP__DCE_THREADS -#include <bits/gthr-dce.h> -#elif _GLIBCPP__SOLARIS_THREADS -#include <bits/gthr-solaris.h> - -/* Include GTHREAD_FILE if one is defined. */ -#elif defined(_GLIBCPP_HAVE_GTHR_DEFAULT) -#if _GLIBCPP_SUPPORTS_WEAK -#ifndef _GLIBCPP_GTHREAD_USE_WEAK -#define _GLIBCPP_GTHREAD_USE_WEAK 1 -#endif -#endif -#include <bits/gthr-default.h> - -/* Fallback to single thread definitions. */ -#else -#include <bits/gthr-single.h> -#endif - -#endif /* ! _GLIBCPP_GCC_GTHR_H */ diff --git a/gnu/lib/libstdc++-v3/arch/sh3eb/c++config.h b/gnu/lib/libstdc++-v3/arch/sh3eb/c++config.h deleted file mode 100644 index d910d11ba51..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh3eb/c++config.h +++ /dev/null @@ -1,1228 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -// Predefined symbols and macros -*- C++ -*- - -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -// Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) -// any later version. - -// This library 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 this library; see the file COPYING. If not, write to the Free -// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _CPP_CPPCONFIG -#define _CPP_CPPCONFIG 1 - -// Pick up any OS-specific definitions. -#include <bits/os_defines.h> - -// The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20050503 - -// This is necessary until GCC supports separate template compilation. -#define _GLIBCPP_NO_TEMPLATE_EXPORT 1 - -// This is a hack around not having either pre-compiled headers or -// export compilation. If defined, the io, string, and valarray -// headers will include all the necessary bits. If not defined, the -// implementation optimizes the headers for the most commonly-used -// types. For the io library, this means that larger, out-of-line -// member functions are only declared, and definitions are not parsed -// by the compiler, but instead instantiated into the library binary. -#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1 - -// Allow use of the GNU syntax extension, "extern template." This -// extension is fully documented in the g++ manual, but in a nutshell, -// it inhibits all implicit instantiations and is used throughout the -// library to avoid multiple weak definitions for required types that -// are already explicitly instantiated in the library binary. This -// substantially reduces the binary size of resulting executables. -#ifndef _GLIBCPP_EXTERN_TEMPLATE -#define _GLIBCPP_EXTERN_TEMPLATE 1 -#endif - -// To enable older, ARM-style iostreams and other anachronisms use this. -//#define _GLIBCPP_DEPRECATED 1 - -// Use corrected code from the committee library group's issues list. -#define _GLIBCPP_RESOLVE_LIB_DEFECTS 1 - -// Hopefully temporary workaround to autoconf/m4 issue with quoting '@'. -#define _GLIBCPP_AT_AT "@@" - -// In those parts of the standard C++ library that use a mutex instead -// of a spin-lock, we now unconditionally use GCC's gthr.h mutex -// abstraction layer. All support to directly map to various -// threading models has been removed. Note: gthr.h may well map to -// gthr-single.h which is a correct way to express no threads support -// in gcc. Support for the undocumented _NOTHREADS has been removed. - -// Default to the typically high-speed, pool-based allocator (as -// libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3 -// snapshots). See libstdc++-v3/docs/html/17_intro/howto.html for -// details on why you don't want to override this setting. Ensure -// that threads are properly configured on your platform before -// assigning blame to the STL container-memory allocator. After doing -// so, please report any possible issues to libstdc++@gcc.gnu.org . -// Do not define __USE_MALLOC on the command line. Enforce it here: -#ifdef __USE_MALLOC -#error __USE_MALLOC should never be defined. Read the release notes. -#endif - -// Create a boolean flag to be used to determine if --fast-math is set. -#ifdef __FAST_MATH__ -#define _GLIBCPP_FAST_MATH 1 -#else -#define _GLIBCPP_FAST_MATH 0 -#endif - -// The remainder of the prewritten config is mostly automatic; all the -// user hooks are listed above. - -// End of prewritten config; the discovered settings follow. -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define _GLIBCPP_HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define _GLIBCPP_HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef _GLIBCPP_HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define _GLIBCPP_HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define _GLIBCPP_HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef _GLIBCPP_HAVE_MODFL */ - -// Define if you have the expf function. -#define _GLIBCPP_HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef _GLIBCPP_HAVE_EXPL */ - -// Define if you have the hypotf function. -#define _GLIBCPP_HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef _GLIBCPP_HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef _GLIBCPP_HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef _GLIBCPP_HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef _GLIBCPP_HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef _GLIBCPP_HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef _GLIBCPP_HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define _GLIBCPP_HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef _GLIBCPP_HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef _GLIBCPP_HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef _GLIBCPP_HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef _GLIBCPP_HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef _GLIBCPP_HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef _GLIBCPP_HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef _GLIBCPP_HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef _GLIBCPP_HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef _GLIBCPP_HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef _GLIBCPP_HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef _GLIBCPP_HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef _GLIBCPP_HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef _GLIBCPP_HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef _GLIBCPP_HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef _GLIBCPP_HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef _GLIBCPP_HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef _GLIBCPP_HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef _GLIBCPP_HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef _GLIBCPP_HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef _GLIBCPP_HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef _GLIBCPP_HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef _GLIBCPP_HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef _GLIBCPP_HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef _GLIBCPP_HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef _GLIBCPP_HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef _GLIBCPP_HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef _GLIBCPP_HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef _GLIBCPP_HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef _GLIBCPP_HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef _GLIBCPP_HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef _GLIBCPP_HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef _GLIBCPP_HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef _GLIBCPP_HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef _GLIBCPP_HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef _GLIBCPP_HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef _GLIBCPP_HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef _GLIBCPP_HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef _GLIBCPP_HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef _GLIBCPP_HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef _GLIBCPP_HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef _GLIBCPP_HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef _GLIBCPP_HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef _GLIBCPP_HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef _GLIBCPP_HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef _GLIBCPP_HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef _GLIBCPP_HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef _GLIBCPP_HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef _GLIBCPP_HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef _GLIBCPP_HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef _GLIBCPP_HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef _GLIBCPP_HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef _GLIBCPP_HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef _GLIBCPP_HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef _GLIBCPP_HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef _GLIBCPP_HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef _GLIBCPP_HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef _GLIBCPP_HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef _GLIBCPP_HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef _GLIBCPP_HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef _GLIBCPP_HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef _GLIBCPP_HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef _GLIBCPP_HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define _GLIBCPP_HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef _GLIBCPP_HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define _GLIBCPP_HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef _GLIBCPP_HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define _GLIBCPP_HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef _GLIBCPP_HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define _GLIBCPP_HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef _GLIBCPP_HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define _GLIBCPP_HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define _GLIBCPP_HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef _GLIBCPP_HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define _GLIBCPP_HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define _GLIBCPP_HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef _GLIBCPP_HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define _GLIBCPP_HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define _GLIBCPP_HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef _GLIBCPP_HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef _GLIBCPP_HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define _GLIBCPP_HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef _GLIBCPP_HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define _GLIBCPP_HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef _GLIBCPP_HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define _GLIBCPP_HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define _GLIBCPP_HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define _GLIBCPP_HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define _GLIBCPP_HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef _GLIBCPP_HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define _GLIBCPP_HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef _GLIBCPP_HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define _GLIBCPP_HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef _GLIBCPP_HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef _GLIBCPP_HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define _GLIBCPP_HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define _GLIBCPP_HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define _GLIBCPP_HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef _GLIBCPP_HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define _GLIBCPP_HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define _GLIBCPP_HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define _GLIBCPP_HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define _GLIBCPP_HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define _GLIBCPP_HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef _GLIBCPP_HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define _GLIBCPP_HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define _GLIBCPP_HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define _GLIBCPP_HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define _GLIBCPP_HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef _GLIBCPP_HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define _GLIBCPP_HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define _GLIBCPP_HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef _GLIBCPP_HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define _GLIBCPP_HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define _GLIBCPP_HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef _GLIBCPP_HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define _GLIBCPP_HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef _GLIBCPP_HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define _GLIBCPP_HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef _GLIBCPP_HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define _GLIBCPP_HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef _GLIBCPP_HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define _GLIBCPP_HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define _GLIBCPP_HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define _GLIBCPP_HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define _GLIBCPP_HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define _GLIBCPP_HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef _GLIBCPP_HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define _GLIBCPP_HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define _GLIBCPP_HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define _GLIBCPP_HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef _GLIBCPP_HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define _GLIBCPP_HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define _GLIBCPP_HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef _GLIBCPP_HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef _GLIBCPP_HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef _GLIBCPP_HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef _GLIBCPP_HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef _GLIBCPP_HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define _GLIBCPP_HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define _GLIBCPP_HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef _GLIBCPP_HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef _GLIBCPP_HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define _GLIBCPP_HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef _GLIBCPP_HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define _GLIBCPP_HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define _GLIBCPP_HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define _GLIBCPP_HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define _GLIBCPP_HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define _GLIBCPP_HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define _GLIBCPP_HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef _GLIBCPP_HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef _GLIBCPP_HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define _GLIBCPP_HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define _GLIBCPP_HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define _GLIBCPP_HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define _GLIBCPP_HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define _GLIBCPP_HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define _GLIBCPP_HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define _GLIBCPP_HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define _GLIBCPP_HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define _GLIBCPP_HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define _GLIBCPP_HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define _GLIBCPP_HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define _GLIBCPP_HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define _GLIBCPP_HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define _GLIBCPP_HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define _GLIBCPP_HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define _GLIBCPP_HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define _GLIBCPP_HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define _GLIBCPP_HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define _GLIBCPP_HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define _GLIBCPP_HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define _GLIBCPP_HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define _GLIBCPP_HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define _GLIBCPP_HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define _GLIBCPP_HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define _GLIBCPP_HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define _GLIBCPP_HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define _GLIBCPP_HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define _GLIBCPP_HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define _GLIBCPP_HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define _GLIBCPP_HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define _GLIBCPP_HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define _GLIBCPP_HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define _GLIBCPP_HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define _GLIBCPP_HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define _GLIBCPP_HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define _GLIBCPP_HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define _GLIBCPP_HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define _GLIBCPP_HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef _GLIBCPP_HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define _GLIBCPP_HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef _GLIBCPP_HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef _GLIBCPP_HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define _GLIBCPP_HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define _GLIBCPP_HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define _GLIBCPP_HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef _GLIBCPP_HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define _GLIBCPP_HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define _GLIBCPP_HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define _GLIBCPP_HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef _GLIBCPP_HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define _GLIBCPP_HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define _GLIBCPP_HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define _GLIBCPP_HAVE_LIBM 1 - -/* Name of package */ -#define _GLIBCPP_PACKAGE "libstdc++" - -/* Version number of package */ -#define _GLIBCPP_VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -#define _GLIBCPP_SJLJ_EXCEPTIONS 1 - -/* Define if sigsetjmp is available. */ -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (_GLIBCPP_HAVE__ISNAN) && ! defined (_GLIBCPP_HAVE_ISNAN) -# define _GLIBCPP_HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (_GLIBCPP_HAVE__ISNANF) && ! defined (_GLIBCPP_HAVE_ISNANF) -# define _GLIBCPP_HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (_GLIBCPP_HAVE__ISNANL) && ! defined (_GLIBCPP_HAVE_ISNANL) -# define _GLIBCPP_HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (_GLIBCPP_HAVE__ISINF) && ! defined (_GLIBCPP_HAVE_ISINF) -# define _GLIBCPP_HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (_GLIBCPP_HAVE__ISINFF) && ! defined (_GLIBCPP_HAVE_ISINFF) -# define _GLIBCPP_HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (_GLIBCPP_HAVE__ISINFL) && ! defined (_GLIBCPP_HAVE_ISINFL) -# define _GLIBCPP_HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGN) && ! defined (_GLIBCPP_HAVE_COPYSIGN) -# define _GLIBCPP_HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGNL) && ! defined (_GLIBCPP_HAVE_COPYSIGNL) -# define _GLIBCPP_HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (_GLIBCPP_HAVE__COSF) && ! defined (_GLIBCPP_HAVE_COSF) -# define _GLIBCPP_HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSF) && ! defined (_GLIBCPP_HAVE_ACOSF) -# define _GLIBCPP_HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSL) && ! defined (_GLIBCPP_HAVE_ACOSL) -# define _GLIBCPP_HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (_GLIBCPP_HAVE__ASINF) && ! defined (_GLIBCPP_HAVE_ASINF) -# define _GLIBCPP_HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (_GLIBCPP_HAVE__ASINL) && ! defined (_GLIBCPP_HAVE_ASINL) -# define _GLIBCPP_HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (_GLIBCPP_HAVE__ATANF) && ! defined (_GLIBCPP_HAVE_ATANF) -# define _GLIBCPP_HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (_GLIBCPP_HAVE__ATANL) && ! defined (_GLIBCPP_HAVE_ATANL) -# define _GLIBCPP_HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (_GLIBCPP_HAVE__CEILF) && ! defined (_GLIBCPP_HAVE_CEILF) -# define _GLIBCPP_HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (_GLIBCPP_HAVE__CEILL) && ! defined (_GLIBCPP_HAVE_CEILL) -# define _GLIBCPP_HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (_GLIBCPP_HAVE__COSHF) && ! defined (_GLIBCPP_HAVE_COSHF) -# define _GLIBCPP_HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (_GLIBCPP_HAVE__COSL) && ! defined (_GLIBCPP_HAVE_COSL) -# define _GLIBCPP_HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (_GLIBCPP_HAVE__LOGF) && ! defined (_GLIBCPP_HAVE_LOGF) -# define _GLIBCPP_HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (_GLIBCPP_HAVE__COSHL) && ! defined (_GLIBCPP_HAVE_COSHL) -# define _GLIBCPP_HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (_GLIBCPP_HAVE__EXPF) && ! defined (_GLIBCPP_HAVE_EXPF) -# define _GLIBCPP_HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (_GLIBCPP_HAVE__EXPL) && ! defined (_GLIBCPP_HAVE_EXPL) -# define _GLIBCPP_HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (_GLIBCPP_HAVE__FABSF) && ! defined (_GLIBCPP_HAVE_FABSF) -# define _GLIBCPP_HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (_GLIBCPP_HAVE__FABSL) && ! defined (_GLIBCPP_HAVE_FABSL) -# define _GLIBCPP_HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (_GLIBCPP_HAVE__FLOORF) && ! defined (_GLIBCPP_HAVE_FLOORF) -# define _GLIBCPP_HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (_GLIBCPP_HAVE__FLOORL) && ! defined (_GLIBCPP_HAVE_FLOORL) -# define _GLIBCPP_HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (_GLIBCPP_HAVE__FMODF) && ! defined (_GLIBCPP_HAVE_FMODF) -# define _GLIBCPP_HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (_GLIBCPP_HAVE__FMODL) && ! defined (_GLIBCPP_HAVE_FMODL) -# define _GLIBCPP_HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (_GLIBCPP_HAVE__FREXPF) && ! defined (_GLIBCPP_HAVE_FREXPF) -# define _GLIBCPP_HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (_GLIBCPP_HAVE__FREXPL) && ! defined (_GLIBCPP_HAVE_FREXPL) -# define _GLIBCPP_HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPF) && ! defined (_GLIBCPP_HAVE_LDEXPF) -# define _GLIBCPP_HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPL) && ! defined (_GLIBCPP_HAVE_LDEXPL) -# define _GLIBCPP_HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (_GLIBCPP_HAVE__LOG10F) && ! defined (_GLIBCPP_HAVE_LOG10F) -# define _GLIBCPP_HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (_GLIBCPP_HAVE__LOGL) && ! defined (_GLIBCPP_HAVE_LOGL) -# define _GLIBCPP_HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (_GLIBCPP_HAVE__POWF) && ! defined (_GLIBCPP_HAVE_POWF) -# define _GLIBCPP_HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (_GLIBCPP_HAVE__LOG10L) && ! defined (_GLIBCPP_HAVE_LOG10L) -# define _GLIBCPP_HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (_GLIBCPP_HAVE__MODF) && ! defined (_GLIBCPP_HAVE_MODF) -# define _GLIBCPP_HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (_GLIBCPP_HAVE__MODL) && ! defined (_GLIBCPP_HAVE_MODL) -# define _GLIBCPP_HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (_GLIBCPP_HAVE__SINF) && ! defined (_GLIBCPP_HAVE_SINF) -# define _GLIBCPP_HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (_GLIBCPP_HAVE__POWL) && ! defined (_GLIBCPP_HAVE_POWL) -# define _GLIBCPP_HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (_GLIBCPP_HAVE__SINHF) && ! defined (_GLIBCPP_HAVE_SINHF) -# define _GLIBCPP_HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (_GLIBCPP_HAVE__SINL) && ! defined (_GLIBCPP_HAVE_SINL) -# define _GLIBCPP_HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (_GLIBCPP_HAVE__SQRTF) && ! defined (_GLIBCPP_HAVE_SQRTF) -# define _GLIBCPP_HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (_GLIBCPP_HAVE__SINHL) && ! defined (_GLIBCPP_HAVE_SINHL) -# define _GLIBCPP_HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (_GLIBCPP_HAVE__TANF) && ! defined (_GLIBCPP_HAVE_TANF) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__SQRTL) && ! defined (_GLIBCPP_HAVE_SQRTL) -# define _GLIBCPP_HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (_GLIBCPP_HAVE__TANHF) && ! defined (_GLIBCPP_HAVE_TANHF) -# define _GLIBCPP_HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (_GLIBCPP_HAVE__TANL) && ! defined (_GLIBCPP_HAVE_TANL) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__STRTOF) && ! defined (_GLIBCPP_HAVE_STRTOF) -# define _GLIBCPP_HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (_GLIBCPP_HAVE__TANHL) && ! defined (_GLIBCPP_HAVE_TANHL) -# define _GLIBCPP_HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (_GLIBCPP_HAVE__STRTOLD) && ! defined (_GLIBCPP_HAVE_STRTOLD) -# define _GLIBCPP_HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (_GLIBCPP_HAVE__SINCOS) && ! defined (_GLIBCPP_HAVE_SINCOS) -# define _GLIBCPP_HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSF) && ! defined (_GLIBCPP_HAVE_SINCOSF) -# define _GLIBCPP_HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSL) && ! defined (_GLIBCPP_HAVE_SINCOSL) -# define _GLIBCPP_HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (_GLIBCPP_HAVE__FINITE) && ! defined (_GLIBCPP_HAVE_FINITE) -# define _GLIBCPP_HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (_GLIBCPP_HAVE__FINITEF) && ! defined (_GLIBCPP_HAVE_FINITEF) -# define _GLIBCPP_HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (_GLIBCPP_HAVE__FINITEL) && ! defined (_GLIBCPP_HAVE_FINITEL) -# define _GLIBCPP_HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (_GLIBCPP_HAVE__QFINITE) && ! defined (_GLIBCPP_HAVE_QFINITE) -# define _GLIBCPP_HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (_GLIBCPP_HAVE__FPCLASS) && ! defined (_GLIBCPP_HAVE_FPCLASS) -# define _GLIBCPP_HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (_GLIBCPP_HAVE__QFPCLASS) && ! defined (_GLIBCPP_HAVE_QFPCLASS) -# define _GLIBCPP_HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - -#endif // _CPP_CPPCONFIG_ diff --git a/gnu/lib/libstdc++-v3/arch/sh3eb/config.h b/gnu/lib/libstdc++-v3/arch/sh3eb/config.h deleted file mode 100644 index 575aed2db24..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh3eb/config.h +++ /dev/null @@ -1,1127 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef HAVE_MODFL */ - -// Define if you have the expf function. -#define HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef HAVE_EXPL */ - -// Define if you have the hypotf function. -#define HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define HAVE_LIBM 1 - -/* Name of package */ -#define PACKAGE "libstdc++" - -/* Version number of package */ -#define VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -#define _GLIBCPP_SJLJ_EXCEPTIONS 1 - -/* Define if sigsetjmp is available. */ -/* #undef HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) -# define HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) -# define HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) -# define HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) -# define HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) -# define HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) -# define HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN) -# define HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL) -# define HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (HAVE__COSF) && ! defined (HAVE_COSF) -# define HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) -# define HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) -# define HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) -# define HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) -# define HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) -# define HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) -# define HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) -# define HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) -# define HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) -# define HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (HAVE__COSL) && ! defined (HAVE_COSL) -# define HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) -# define HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) -# define HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) -# define HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) -# define HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) -# define HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) -# define HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) -# define HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) -# define HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) -# define HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) -# define HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) -# define HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) -# define HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) -# define HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) -# define HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) -# define HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (HAVE__POWF) && ! defined (HAVE_POWF) -# define HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) -# define HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (HAVE__MODF) && ! defined (HAVE_MODF) -# define HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (HAVE__MODL) && ! defined (HAVE_MODL) -# define HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (HAVE__SINF) && ! defined (HAVE_SINF) -# define HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (HAVE__POWL) && ! defined (HAVE_POWL) -# define HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) -# define HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (HAVE__SINL) && ! defined (HAVE_SINL) -# define HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) -# define HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) -# define HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (HAVE__TANF) && ! defined (HAVE_TANF) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) -# define HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) -# define HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (HAVE__TANL) && ! defined (HAVE_TANL) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) -# define HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) -# define HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) -# define HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) -# define HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) -# define HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) -# define HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) -# define HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) -# define HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) -# define HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE) -# define HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) -# define HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) -# define HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - diff --git a/gnu/lib/libstdc++-v3/arch/sh3eb/defs.mk b/gnu/lib/libstdc++-v3/arch/sh3eb/defs.mk deleted file mode 100644 index e66862c1dc6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh3eb/defs.mk +++ /dev/null @@ -1,18 +0,0 @@ -# This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp -# -G_libmath_la_SOURCES=stubs.c -G_libmath_la_LIBADD=signbit.lo -G_LIBSUPCXX_SOURCES=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc -G_LIBSUPCXX_C_SOURCES=cxa_demangle.c dyn-string.c -G_SRC_SOURCES=bitset.cc codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc vterminate.cc wstring-inst.cc codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc basic_file.cc c++locale.cc -G_SECTION_FLAGS=-ffunction-sections -fdata-sections -G_c_base_headers_rename=cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype -G_std_headers_rename=algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector -G_bits_headers=basic_ios.h basic_ios.tcc basic_string.h basic_string.tcc boost_concept_check.h char_traits.h codecvt.h concept_check.h cpp_type_traits.h deque.tcc fpos.h fstream.tcc functexcept.h gslice.h gslice_array.h indirect_array.h ios_base.h istream.tcc list.tcc locale_classes.h locale_facets.h locale_facets.tcc localefwd.h mask_array.h ostream.tcc pthread_allocimpl.h stream_iterator.h streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h stl_algobase.h stl_alloc.h stl_bvector.h stl_construct.h stl_deque.h stl_function.h stl_heap.h stl_iterator.h stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h stl_queue.h stl_raw_storage_iter.h stl_relops.h stl_set.h stl_stack.h stl_tempbuf.h stl_threads.h stl_tree.h stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h type_traits.h valarray_array.h valarray_array.tcc valarray_meta.h vector.tcc -G_backward_headers=complex.h iomanip.h istream.h ostream.h stream.h streambuf.h algo.h algobase.h alloc.h bvector.h defalloc.h deque.h function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h iterator.h list.h map.h multimap.h new.h multiset.h pair.h queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h vector.h fstream.h strstream backward_warning.h -G_ext_headers=algorithm enc_filebuf.h stdio_filebuf.h functional hash_map hash_set iterator memory numeric rb_tree rope ropeimpl.h slist stl_hash_fun.h stl_hashtable.h stl_rope.h -G_c_base_headers_extra=cmath.tcc -G_target_headers=ctype_base.h ctype_inline.h ctype_noninline.h os_defines.h atomicity.h -G_thread_target_headers=gthr.h gthr-single.h gthr-posix.h gthr-default.h -G_target_headers_extra=basic_file.h c++config.h c++io.h c++locale.h messages_members.h time_members.h codecvt_specializations.h diff --git a/gnu/lib/libstdc++-v3/arch/sh3eb/gthr-default.h b/gnu/lib/libstdc++-v3/arch/sh3eb/gthr-default.h deleted file mode 100644 index 2a3df9a6b59..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh3eb/gthr-default.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.11 2004/01/02 11:58:32 skrll Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/sh3eb/gthr-posix.h b/gnu/lib/libstdc++-v3/arch/sh3eb/gthr-posix.h deleted file mode 100644 index 205fa9e2190..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh3eb/gthr-posix.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/sh3eb/gthr-single.h b/gnu/lib/libstdc++-v3/arch/sh3eb/gthr-single.h deleted file mode 100644 index 6fa2b1ed699..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh3eb/gthr-single.h +++ /dev/null @@ -1,242 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H -#define _GLIBCPP_GCC_GTHR_SINGLE_H - -/* Just provide compatibility for mutex handling. */ - -typedef int __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT 0 - -#ifdef __cplusplus -#define _GLIBCPP_UNUSED(x) -#else -#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) -#endif - -#ifdef _LIBOBJC - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) -{ - /* No thread support available */ - return NULL; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) -{ - /* No thread support available */ - return -1; -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - return; -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - /* No thread support available */ - /* Should we really exit the program */ - /* exit (&__objc_thread_exit_status); */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - /* No thread support, use 1. */ - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - thread_local_storage = value; - return 0; -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), - objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - return 0; -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -#endif /* _LIBOBJC */ - -#undef _GLIBCPP_UNUSED - -#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/sh3eb/gthr.h b/gnu/lib/libstdc++-v3/arch/sh3eb/gthr.h deleted file mode 100644 index d463cf98ec6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh3eb/gthr.h +++ /dev/null @@ -1,108 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1998 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_H -#define _GLIBCPP_GCC_GTHR_H - -/* If this file is compiled with threads support, it must - #define __GTHREADS 1 - to indicate that threads support is present. Also it has define - function - int __gthread_active_p () - that returns 1 if thread system is active, 0 if not. - - The threads interface must define the following types: - __gthread_key_t - __gthread_once_t - __gthread_mutex_t - - The threads interface must define the following macros: - - __GTHREAD_ONCE_INIT - to initialize __gthread_once_t - __GTHREAD_MUTEX_INIT - to initialize __gthread_mutex_t to get a fast - non-recursive mutex. - __GTHREAD_MUTEX_INIT_FUNCTION - some systems can't initialize a mutex without a - function call. On such systems, define this to a - function which looks like this: - void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *) - Don't define __GTHREAD_MUTEX_INIT in this case - - The threads interface must define the following static functions: - - int __gthread_once (__gthread_once_t *once, void (*func) ()) - - int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *)) - int __gthread_key_delete (__gthread_key_t key) - - int __gthread_key_dtor (__gthread_key_t key, void *ptr) - - void *__gthread_getspecific (__gthread_key_t key) - int __gthread_setspecific (__gthread_key_t key, const void *ptr) - - int __gthread_mutex_lock (__gthread_mutex_t *mutex); - int __gthread_mutex_trylock (__gthread_mutex_t *mutex); - int __gthread_mutex_unlock (__gthread_mutex_t *mutex); - - All functions returning int should return zero on success or the error - number. If the operation is not supported, -1 is returned. - - Currently supported threads packages are - POSIX threads with -D_PTHREADS - DCE threads with -D_DCE_THREADS - Solaris/UI threads with -D_SOLARIS_THREADS -*/ - -/* Check first for thread specific defines. */ -#if _GLIBCPP__PTHREADS -#include <bits/gthr-posix.h> -#elif _GLIBCPP__DCE_THREADS -#include <bits/gthr-dce.h> -#elif _GLIBCPP__SOLARIS_THREADS -#include <bits/gthr-solaris.h> - -/* Include GTHREAD_FILE if one is defined. */ -#elif defined(_GLIBCPP_HAVE_GTHR_DEFAULT) -#if _GLIBCPP_SUPPORTS_WEAK -#ifndef _GLIBCPP_GTHREAD_USE_WEAK -#define _GLIBCPP_GTHREAD_USE_WEAK 1 -#endif -#endif -#include <bits/gthr-default.h> - -/* Fallback to single thread definitions. */ -#else -#include <bits/gthr-single.h> -#endif - -#endif /* ! _GLIBCPP_GCC_GTHR_H */ diff --git a/gnu/lib/libstdc++-v3/arch/sh3el/c++config.h b/gnu/lib/libstdc++-v3/arch/sh3el/c++config.h deleted file mode 100644 index d910d11ba51..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh3el/c++config.h +++ /dev/null @@ -1,1228 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -// Predefined symbols and macros -*- C++ -*- - -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -// Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) -// any later version. - -// This library 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 this library; see the file COPYING. If not, write to the Free -// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _CPP_CPPCONFIG -#define _CPP_CPPCONFIG 1 - -// Pick up any OS-specific definitions. -#include <bits/os_defines.h> - -// The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20050503 - -// This is necessary until GCC supports separate template compilation. -#define _GLIBCPP_NO_TEMPLATE_EXPORT 1 - -// This is a hack around not having either pre-compiled headers or -// export compilation. If defined, the io, string, and valarray -// headers will include all the necessary bits. If not defined, the -// implementation optimizes the headers for the most commonly-used -// types. For the io library, this means that larger, out-of-line -// member functions are only declared, and definitions are not parsed -// by the compiler, but instead instantiated into the library binary. -#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1 - -// Allow use of the GNU syntax extension, "extern template." This -// extension is fully documented in the g++ manual, but in a nutshell, -// it inhibits all implicit instantiations and is used throughout the -// library to avoid multiple weak definitions for required types that -// are already explicitly instantiated in the library binary. This -// substantially reduces the binary size of resulting executables. -#ifndef _GLIBCPP_EXTERN_TEMPLATE -#define _GLIBCPP_EXTERN_TEMPLATE 1 -#endif - -// To enable older, ARM-style iostreams and other anachronisms use this. -//#define _GLIBCPP_DEPRECATED 1 - -// Use corrected code from the committee library group's issues list. -#define _GLIBCPP_RESOLVE_LIB_DEFECTS 1 - -// Hopefully temporary workaround to autoconf/m4 issue with quoting '@'. -#define _GLIBCPP_AT_AT "@@" - -// In those parts of the standard C++ library that use a mutex instead -// of a spin-lock, we now unconditionally use GCC's gthr.h mutex -// abstraction layer. All support to directly map to various -// threading models has been removed. Note: gthr.h may well map to -// gthr-single.h which is a correct way to express no threads support -// in gcc. Support for the undocumented _NOTHREADS has been removed. - -// Default to the typically high-speed, pool-based allocator (as -// libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3 -// snapshots). See libstdc++-v3/docs/html/17_intro/howto.html for -// details on why you don't want to override this setting. Ensure -// that threads are properly configured on your platform before -// assigning blame to the STL container-memory allocator. After doing -// so, please report any possible issues to libstdc++@gcc.gnu.org . -// Do not define __USE_MALLOC on the command line. Enforce it here: -#ifdef __USE_MALLOC -#error __USE_MALLOC should never be defined. Read the release notes. -#endif - -// Create a boolean flag to be used to determine if --fast-math is set. -#ifdef __FAST_MATH__ -#define _GLIBCPP_FAST_MATH 1 -#else -#define _GLIBCPP_FAST_MATH 0 -#endif - -// The remainder of the prewritten config is mostly automatic; all the -// user hooks are listed above. - -// End of prewritten config; the discovered settings follow. -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define _GLIBCPP_HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define _GLIBCPP_HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef _GLIBCPP_HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define _GLIBCPP_HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define _GLIBCPP_HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef _GLIBCPP_HAVE_MODFL */ - -// Define if you have the expf function. -#define _GLIBCPP_HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef _GLIBCPP_HAVE_EXPL */ - -// Define if you have the hypotf function. -#define _GLIBCPP_HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef _GLIBCPP_HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef _GLIBCPP_HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef _GLIBCPP_HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef _GLIBCPP_HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef _GLIBCPP_HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef _GLIBCPP_HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define _GLIBCPP_HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef _GLIBCPP_HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef _GLIBCPP_HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef _GLIBCPP_HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef _GLIBCPP_HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef _GLIBCPP_HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef _GLIBCPP_HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef _GLIBCPP_HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef _GLIBCPP_HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef _GLIBCPP_HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef _GLIBCPP_HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef _GLIBCPP_HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef _GLIBCPP_HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef _GLIBCPP_HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef _GLIBCPP_HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef _GLIBCPP_HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef _GLIBCPP_HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef _GLIBCPP_HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef _GLIBCPP_HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef _GLIBCPP_HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef _GLIBCPP_HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef _GLIBCPP_HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef _GLIBCPP_HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef _GLIBCPP_HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef _GLIBCPP_HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef _GLIBCPP_HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef _GLIBCPP_HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef _GLIBCPP_HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef _GLIBCPP_HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef _GLIBCPP_HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef _GLIBCPP_HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef _GLIBCPP_HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef _GLIBCPP_HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef _GLIBCPP_HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef _GLIBCPP_HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef _GLIBCPP_HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef _GLIBCPP_HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef _GLIBCPP_HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef _GLIBCPP_HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef _GLIBCPP_HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef _GLIBCPP_HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef _GLIBCPP_HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef _GLIBCPP_HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef _GLIBCPP_HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef _GLIBCPP_HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef _GLIBCPP_HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef _GLIBCPP_HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef _GLIBCPP_HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef _GLIBCPP_HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef _GLIBCPP_HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef _GLIBCPP_HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef _GLIBCPP_HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef _GLIBCPP_HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef _GLIBCPP_HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef _GLIBCPP_HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef _GLIBCPP_HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef _GLIBCPP_HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef _GLIBCPP_HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef _GLIBCPP_HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef _GLIBCPP_HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef _GLIBCPP_HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef _GLIBCPP_HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef _GLIBCPP_HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define _GLIBCPP_HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef _GLIBCPP_HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define _GLIBCPP_HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef _GLIBCPP_HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define _GLIBCPP_HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef _GLIBCPP_HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define _GLIBCPP_HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef _GLIBCPP_HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define _GLIBCPP_HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define _GLIBCPP_HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef _GLIBCPP_HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define _GLIBCPP_HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define _GLIBCPP_HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef _GLIBCPP_HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define _GLIBCPP_HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define _GLIBCPP_HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef _GLIBCPP_HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef _GLIBCPP_HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define _GLIBCPP_HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef _GLIBCPP_HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define _GLIBCPP_HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef _GLIBCPP_HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define _GLIBCPP_HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define _GLIBCPP_HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define _GLIBCPP_HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define _GLIBCPP_HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef _GLIBCPP_HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define _GLIBCPP_HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef _GLIBCPP_HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define _GLIBCPP_HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef _GLIBCPP_HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef _GLIBCPP_HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define _GLIBCPP_HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define _GLIBCPP_HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define _GLIBCPP_HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef _GLIBCPP_HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define _GLIBCPP_HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define _GLIBCPP_HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define _GLIBCPP_HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define _GLIBCPP_HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define _GLIBCPP_HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef _GLIBCPP_HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define _GLIBCPP_HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define _GLIBCPP_HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define _GLIBCPP_HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define _GLIBCPP_HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef _GLIBCPP_HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define _GLIBCPP_HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define _GLIBCPP_HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef _GLIBCPP_HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define _GLIBCPP_HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define _GLIBCPP_HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef _GLIBCPP_HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define _GLIBCPP_HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef _GLIBCPP_HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define _GLIBCPP_HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef _GLIBCPP_HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define _GLIBCPP_HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef _GLIBCPP_HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define _GLIBCPP_HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define _GLIBCPP_HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define _GLIBCPP_HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define _GLIBCPP_HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define _GLIBCPP_HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef _GLIBCPP_HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define _GLIBCPP_HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define _GLIBCPP_HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define _GLIBCPP_HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef _GLIBCPP_HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define _GLIBCPP_HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define _GLIBCPP_HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef _GLIBCPP_HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef _GLIBCPP_HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef _GLIBCPP_HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef _GLIBCPP_HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef _GLIBCPP_HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define _GLIBCPP_HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define _GLIBCPP_HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef _GLIBCPP_HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef _GLIBCPP_HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define _GLIBCPP_HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef _GLIBCPP_HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define _GLIBCPP_HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define _GLIBCPP_HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define _GLIBCPP_HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define _GLIBCPP_HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define _GLIBCPP_HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define _GLIBCPP_HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef _GLIBCPP_HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef _GLIBCPP_HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define _GLIBCPP_HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define _GLIBCPP_HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define _GLIBCPP_HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define _GLIBCPP_HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define _GLIBCPP_HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define _GLIBCPP_HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define _GLIBCPP_HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define _GLIBCPP_HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define _GLIBCPP_HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define _GLIBCPP_HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define _GLIBCPP_HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define _GLIBCPP_HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define _GLIBCPP_HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define _GLIBCPP_HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define _GLIBCPP_HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define _GLIBCPP_HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define _GLIBCPP_HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define _GLIBCPP_HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define _GLIBCPP_HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define _GLIBCPP_HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define _GLIBCPP_HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define _GLIBCPP_HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define _GLIBCPP_HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define _GLIBCPP_HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define _GLIBCPP_HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define _GLIBCPP_HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define _GLIBCPP_HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define _GLIBCPP_HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define _GLIBCPP_HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define _GLIBCPP_HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define _GLIBCPP_HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define _GLIBCPP_HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define _GLIBCPP_HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define _GLIBCPP_HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define _GLIBCPP_HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define _GLIBCPP_HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define _GLIBCPP_HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define _GLIBCPP_HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef _GLIBCPP_HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define _GLIBCPP_HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef _GLIBCPP_HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef _GLIBCPP_HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define _GLIBCPP_HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define _GLIBCPP_HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define _GLIBCPP_HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef _GLIBCPP_HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define _GLIBCPP_HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define _GLIBCPP_HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define _GLIBCPP_HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef _GLIBCPP_HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define _GLIBCPP_HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define _GLIBCPP_HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define _GLIBCPP_HAVE_LIBM 1 - -/* Name of package */ -#define _GLIBCPP_PACKAGE "libstdc++" - -/* Version number of package */ -#define _GLIBCPP_VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -#define _GLIBCPP_SJLJ_EXCEPTIONS 1 - -/* Define if sigsetjmp is available. */ -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (_GLIBCPP_HAVE__ISNAN) && ! defined (_GLIBCPP_HAVE_ISNAN) -# define _GLIBCPP_HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (_GLIBCPP_HAVE__ISNANF) && ! defined (_GLIBCPP_HAVE_ISNANF) -# define _GLIBCPP_HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (_GLIBCPP_HAVE__ISNANL) && ! defined (_GLIBCPP_HAVE_ISNANL) -# define _GLIBCPP_HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (_GLIBCPP_HAVE__ISINF) && ! defined (_GLIBCPP_HAVE_ISINF) -# define _GLIBCPP_HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (_GLIBCPP_HAVE__ISINFF) && ! defined (_GLIBCPP_HAVE_ISINFF) -# define _GLIBCPP_HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (_GLIBCPP_HAVE__ISINFL) && ! defined (_GLIBCPP_HAVE_ISINFL) -# define _GLIBCPP_HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGN) && ! defined (_GLIBCPP_HAVE_COPYSIGN) -# define _GLIBCPP_HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGNL) && ! defined (_GLIBCPP_HAVE_COPYSIGNL) -# define _GLIBCPP_HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (_GLIBCPP_HAVE__COSF) && ! defined (_GLIBCPP_HAVE_COSF) -# define _GLIBCPP_HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSF) && ! defined (_GLIBCPP_HAVE_ACOSF) -# define _GLIBCPP_HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSL) && ! defined (_GLIBCPP_HAVE_ACOSL) -# define _GLIBCPP_HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (_GLIBCPP_HAVE__ASINF) && ! defined (_GLIBCPP_HAVE_ASINF) -# define _GLIBCPP_HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (_GLIBCPP_HAVE__ASINL) && ! defined (_GLIBCPP_HAVE_ASINL) -# define _GLIBCPP_HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (_GLIBCPP_HAVE__ATANF) && ! defined (_GLIBCPP_HAVE_ATANF) -# define _GLIBCPP_HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (_GLIBCPP_HAVE__ATANL) && ! defined (_GLIBCPP_HAVE_ATANL) -# define _GLIBCPP_HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (_GLIBCPP_HAVE__CEILF) && ! defined (_GLIBCPP_HAVE_CEILF) -# define _GLIBCPP_HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (_GLIBCPP_HAVE__CEILL) && ! defined (_GLIBCPP_HAVE_CEILL) -# define _GLIBCPP_HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (_GLIBCPP_HAVE__COSHF) && ! defined (_GLIBCPP_HAVE_COSHF) -# define _GLIBCPP_HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (_GLIBCPP_HAVE__COSL) && ! defined (_GLIBCPP_HAVE_COSL) -# define _GLIBCPP_HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (_GLIBCPP_HAVE__LOGF) && ! defined (_GLIBCPP_HAVE_LOGF) -# define _GLIBCPP_HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (_GLIBCPP_HAVE__COSHL) && ! defined (_GLIBCPP_HAVE_COSHL) -# define _GLIBCPP_HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (_GLIBCPP_HAVE__EXPF) && ! defined (_GLIBCPP_HAVE_EXPF) -# define _GLIBCPP_HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (_GLIBCPP_HAVE__EXPL) && ! defined (_GLIBCPP_HAVE_EXPL) -# define _GLIBCPP_HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (_GLIBCPP_HAVE__FABSF) && ! defined (_GLIBCPP_HAVE_FABSF) -# define _GLIBCPP_HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (_GLIBCPP_HAVE__FABSL) && ! defined (_GLIBCPP_HAVE_FABSL) -# define _GLIBCPP_HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (_GLIBCPP_HAVE__FLOORF) && ! defined (_GLIBCPP_HAVE_FLOORF) -# define _GLIBCPP_HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (_GLIBCPP_HAVE__FLOORL) && ! defined (_GLIBCPP_HAVE_FLOORL) -# define _GLIBCPP_HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (_GLIBCPP_HAVE__FMODF) && ! defined (_GLIBCPP_HAVE_FMODF) -# define _GLIBCPP_HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (_GLIBCPP_HAVE__FMODL) && ! defined (_GLIBCPP_HAVE_FMODL) -# define _GLIBCPP_HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (_GLIBCPP_HAVE__FREXPF) && ! defined (_GLIBCPP_HAVE_FREXPF) -# define _GLIBCPP_HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (_GLIBCPP_HAVE__FREXPL) && ! defined (_GLIBCPP_HAVE_FREXPL) -# define _GLIBCPP_HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPF) && ! defined (_GLIBCPP_HAVE_LDEXPF) -# define _GLIBCPP_HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPL) && ! defined (_GLIBCPP_HAVE_LDEXPL) -# define _GLIBCPP_HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (_GLIBCPP_HAVE__LOG10F) && ! defined (_GLIBCPP_HAVE_LOG10F) -# define _GLIBCPP_HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (_GLIBCPP_HAVE__LOGL) && ! defined (_GLIBCPP_HAVE_LOGL) -# define _GLIBCPP_HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (_GLIBCPP_HAVE__POWF) && ! defined (_GLIBCPP_HAVE_POWF) -# define _GLIBCPP_HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (_GLIBCPP_HAVE__LOG10L) && ! defined (_GLIBCPP_HAVE_LOG10L) -# define _GLIBCPP_HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (_GLIBCPP_HAVE__MODF) && ! defined (_GLIBCPP_HAVE_MODF) -# define _GLIBCPP_HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (_GLIBCPP_HAVE__MODL) && ! defined (_GLIBCPP_HAVE_MODL) -# define _GLIBCPP_HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (_GLIBCPP_HAVE__SINF) && ! defined (_GLIBCPP_HAVE_SINF) -# define _GLIBCPP_HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (_GLIBCPP_HAVE__POWL) && ! defined (_GLIBCPP_HAVE_POWL) -# define _GLIBCPP_HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (_GLIBCPP_HAVE__SINHF) && ! defined (_GLIBCPP_HAVE_SINHF) -# define _GLIBCPP_HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (_GLIBCPP_HAVE__SINL) && ! defined (_GLIBCPP_HAVE_SINL) -# define _GLIBCPP_HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (_GLIBCPP_HAVE__SQRTF) && ! defined (_GLIBCPP_HAVE_SQRTF) -# define _GLIBCPP_HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (_GLIBCPP_HAVE__SINHL) && ! defined (_GLIBCPP_HAVE_SINHL) -# define _GLIBCPP_HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (_GLIBCPP_HAVE__TANF) && ! defined (_GLIBCPP_HAVE_TANF) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__SQRTL) && ! defined (_GLIBCPP_HAVE_SQRTL) -# define _GLIBCPP_HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (_GLIBCPP_HAVE__TANHF) && ! defined (_GLIBCPP_HAVE_TANHF) -# define _GLIBCPP_HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (_GLIBCPP_HAVE__TANL) && ! defined (_GLIBCPP_HAVE_TANL) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__STRTOF) && ! defined (_GLIBCPP_HAVE_STRTOF) -# define _GLIBCPP_HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (_GLIBCPP_HAVE__TANHL) && ! defined (_GLIBCPP_HAVE_TANHL) -# define _GLIBCPP_HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (_GLIBCPP_HAVE__STRTOLD) && ! defined (_GLIBCPP_HAVE_STRTOLD) -# define _GLIBCPP_HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (_GLIBCPP_HAVE__SINCOS) && ! defined (_GLIBCPP_HAVE_SINCOS) -# define _GLIBCPP_HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSF) && ! defined (_GLIBCPP_HAVE_SINCOSF) -# define _GLIBCPP_HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSL) && ! defined (_GLIBCPP_HAVE_SINCOSL) -# define _GLIBCPP_HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (_GLIBCPP_HAVE__FINITE) && ! defined (_GLIBCPP_HAVE_FINITE) -# define _GLIBCPP_HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (_GLIBCPP_HAVE__FINITEF) && ! defined (_GLIBCPP_HAVE_FINITEF) -# define _GLIBCPP_HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (_GLIBCPP_HAVE__FINITEL) && ! defined (_GLIBCPP_HAVE_FINITEL) -# define _GLIBCPP_HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (_GLIBCPP_HAVE__QFINITE) && ! defined (_GLIBCPP_HAVE_QFINITE) -# define _GLIBCPP_HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (_GLIBCPP_HAVE__FPCLASS) && ! defined (_GLIBCPP_HAVE_FPCLASS) -# define _GLIBCPP_HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (_GLIBCPP_HAVE__QFPCLASS) && ! defined (_GLIBCPP_HAVE_QFPCLASS) -# define _GLIBCPP_HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - -#endif // _CPP_CPPCONFIG_ diff --git a/gnu/lib/libstdc++-v3/arch/sh3el/config.h b/gnu/lib/libstdc++-v3/arch/sh3el/config.h deleted file mode 100644 index 575aed2db24..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh3el/config.h +++ /dev/null @@ -1,1127 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef HAVE_MODFL */ - -// Define if you have the expf function. -#define HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef HAVE_EXPL */ - -// Define if you have the hypotf function. -#define HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define HAVE_LIBM 1 - -/* Name of package */ -#define PACKAGE "libstdc++" - -/* Version number of package */ -#define VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -#define _GLIBCPP_SJLJ_EXCEPTIONS 1 - -/* Define if sigsetjmp is available. */ -/* #undef HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) -# define HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) -# define HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) -# define HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) -# define HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) -# define HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) -# define HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN) -# define HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL) -# define HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (HAVE__COSF) && ! defined (HAVE_COSF) -# define HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) -# define HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) -# define HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) -# define HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) -# define HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) -# define HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) -# define HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) -# define HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) -# define HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) -# define HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (HAVE__COSL) && ! defined (HAVE_COSL) -# define HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) -# define HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) -# define HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) -# define HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) -# define HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) -# define HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) -# define HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) -# define HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) -# define HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) -# define HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) -# define HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) -# define HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) -# define HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) -# define HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) -# define HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) -# define HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (HAVE__POWF) && ! defined (HAVE_POWF) -# define HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) -# define HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (HAVE__MODF) && ! defined (HAVE_MODF) -# define HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (HAVE__MODL) && ! defined (HAVE_MODL) -# define HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (HAVE__SINF) && ! defined (HAVE_SINF) -# define HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (HAVE__POWL) && ! defined (HAVE_POWL) -# define HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) -# define HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (HAVE__SINL) && ! defined (HAVE_SINL) -# define HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) -# define HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) -# define HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (HAVE__TANF) && ! defined (HAVE_TANF) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) -# define HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) -# define HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (HAVE__TANL) && ! defined (HAVE_TANL) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) -# define HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) -# define HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) -# define HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) -# define HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) -# define HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) -# define HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) -# define HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) -# define HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) -# define HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE) -# define HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) -# define HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) -# define HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - diff --git a/gnu/lib/libstdc++-v3/arch/sh3el/defs.mk b/gnu/lib/libstdc++-v3/arch/sh3el/defs.mk deleted file mode 100644 index e66862c1dc6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh3el/defs.mk +++ /dev/null @@ -1,18 +0,0 @@ -# This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp -# -G_libmath_la_SOURCES=stubs.c -G_libmath_la_LIBADD=signbit.lo -G_LIBSUPCXX_SOURCES=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc -G_LIBSUPCXX_C_SOURCES=cxa_demangle.c dyn-string.c -G_SRC_SOURCES=bitset.cc codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc vterminate.cc wstring-inst.cc codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc basic_file.cc c++locale.cc -G_SECTION_FLAGS=-ffunction-sections -fdata-sections -G_c_base_headers_rename=cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype -G_std_headers_rename=algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector -G_bits_headers=basic_ios.h basic_ios.tcc basic_string.h basic_string.tcc boost_concept_check.h char_traits.h codecvt.h concept_check.h cpp_type_traits.h deque.tcc fpos.h fstream.tcc functexcept.h gslice.h gslice_array.h indirect_array.h ios_base.h istream.tcc list.tcc locale_classes.h locale_facets.h locale_facets.tcc localefwd.h mask_array.h ostream.tcc pthread_allocimpl.h stream_iterator.h streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h stl_algobase.h stl_alloc.h stl_bvector.h stl_construct.h stl_deque.h stl_function.h stl_heap.h stl_iterator.h stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h stl_queue.h stl_raw_storage_iter.h stl_relops.h stl_set.h stl_stack.h stl_tempbuf.h stl_threads.h stl_tree.h stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h type_traits.h valarray_array.h valarray_array.tcc valarray_meta.h vector.tcc -G_backward_headers=complex.h iomanip.h istream.h ostream.h stream.h streambuf.h algo.h algobase.h alloc.h bvector.h defalloc.h deque.h function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h iterator.h list.h map.h multimap.h new.h multiset.h pair.h queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h vector.h fstream.h strstream backward_warning.h -G_ext_headers=algorithm enc_filebuf.h stdio_filebuf.h functional hash_map hash_set iterator memory numeric rb_tree rope ropeimpl.h slist stl_hash_fun.h stl_hashtable.h stl_rope.h -G_c_base_headers_extra=cmath.tcc -G_target_headers=ctype_base.h ctype_inline.h ctype_noninline.h os_defines.h atomicity.h -G_thread_target_headers=gthr.h gthr-single.h gthr-posix.h gthr-default.h -G_target_headers_extra=basic_file.h c++config.h c++io.h c++locale.h messages_members.h time_members.h codecvt_specializations.h diff --git a/gnu/lib/libstdc++-v3/arch/sh3el/gthr-default.h b/gnu/lib/libstdc++-v3/arch/sh3el/gthr-default.h deleted file mode 100644 index 2a3df9a6b59..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh3el/gthr-default.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.11 2004/01/02 11:58:32 skrll Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/sh3el/gthr-posix.h b/gnu/lib/libstdc++-v3/arch/sh3el/gthr-posix.h deleted file mode 100644 index 2a3df9a6b59..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh3el/gthr-posix.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.11 2004/01/02 11:58:32 skrll Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/sh3el/gthr-single.h b/gnu/lib/libstdc++-v3/arch/sh3el/gthr-single.h deleted file mode 100644 index d3195ab9e1c..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh3el/gthr-single.h +++ /dev/null @@ -1,242 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.11 2004/01/02 11:58:32 skrll Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H -#define _GLIBCPP_GCC_GTHR_SINGLE_H - -/* Just provide compatibility for mutex handling. */ - -typedef int __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT 0 - -#ifdef __cplusplus -#define _GLIBCPP_UNUSED(x) -#else -#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) -#endif - -#ifdef _LIBOBJC - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) -{ - /* No thread support available */ - return NULL; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) -{ - /* No thread support available */ - return -1; -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - return; -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - /* No thread support available */ - /* Should we really exit the program */ - /* exit (&__objc_thread_exit_status); */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - /* No thread support, use 1. */ - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - thread_local_storage = value; - return 0; -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), - objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - return 0; -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -#endif /* _LIBOBJC */ - -#undef _GLIBCPP_UNUSED - -#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/sh3el/gthr.h b/gnu/lib/libstdc++-v3/arch/sh3el/gthr.h deleted file mode 100644 index ff18c72ae34..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh3el/gthr.h +++ /dev/null @@ -1,108 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.11 2004/01/02 11:58:32 skrll Exp */ - -/* Threads compatibility routines for libgcc2. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1998 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_H -#define _GLIBCPP_GCC_GTHR_H - -/* If this file is compiled with threads support, it must - #define __GTHREADS 1 - to indicate that threads support is present. Also it has define - function - int __gthread_active_p () - that returns 1 if thread system is active, 0 if not. - - The threads interface must define the following types: - __gthread_key_t - __gthread_once_t - __gthread_mutex_t - - The threads interface must define the following macros: - - __GTHREAD_ONCE_INIT - to initialize __gthread_once_t - __GTHREAD_MUTEX_INIT - to initialize __gthread_mutex_t to get a fast - non-recursive mutex. - __GTHREAD_MUTEX_INIT_FUNCTION - some systems can't initialize a mutex without a - function call. On such systems, define this to a - function which looks like this: - void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *) - Don't define __GTHREAD_MUTEX_INIT in this case - - The threads interface must define the following static functions: - - int __gthread_once (__gthread_once_t *once, void (*func) ()) - - int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *)) - int __gthread_key_delete (__gthread_key_t key) - - int __gthread_key_dtor (__gthread_key_t key, void *ptr) - - void *__gthread_getspecific (__gthread_key_t key) - int __gthread_setspecific (__gthread_key_t key, const void *ptr) - - int __gthread_mutex_lock (__gthread_mutex_t *mutex); - int __gthread_mutex_trylock (__gthread_mutex_t *mutex); - int __gthread_mutex_unlock (__gthread_mutex_t *mutex); - - All functions returning int should return zero on success or the error - number. If the operation is not supported, -1 is returned. - - Currently supported threads packages are - POSIX threads with -D_PTHREADS - DCE threads with -D_DCE_THREADS - Solaris/UI threads with -D_SOLARIS_THREADS -*/ - -/* Check first for thread specific defines. */ -#if _GLIBCPP__PTHREADS -#include <bits/gthr-posix.h> -#elif _GLIBCPP__DCE_THREADS -#include <bits/gthr-dce.h> -#elif _GLIBCPP__SOLARIS_THREADS -#include <bits/gthr-solaris.h> - -/* Include GTHREAD_FILE if one is defined. */ -#elif defined(_GLIBCPP_HAVE_GTHR_DEFAULT) -#if _GLIBCPP_SUPPORTS_WEAK -#ifndef _GLIBCPP_GTHREAD_USE_WEAK -#define _GLIBCPP_GTHREAD_USE_WEAK 1 -#endif -#endif -#include <bits/gthr-default.h> - -/* Fallback to single thread definitions. */ -#else -#include <bits/gthr-single.h> -#endif - -#endif /* ! _GLIBCPP_GCC_GTHR_H */ diff --git a/gnu/lib/libstdc++-v3/arch/sh5el/c++config.h b/gnu/lib/libstdc++-v3/arch/sh5el/c++config.h deleted file mode 100644 index d910d11ba51..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh5el/c++config.h +++ /dev/null @@ -1,1228 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -// Predefined symbols and macros -*- C++ -*- - -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -// Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) -// any later version. - -// This library 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 this library; see the file COPYING. If not, write to the Free -// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _CPP_CPPCONFIG -#define _CPP_CPPCONFIG 1 - -// Pick up any OS-specific definitions. -#include <bits/os_defines.h> - -// The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20050503 - -// This is necessary until GCC supports separate template compilation. -#define _GLIBCPP_NO_TEMPLATE_EXPORT 1 - -// This is a hack around not having either pre-compiled headers or -// export compilation. If defined, the io, string, and valarray -// headers will include all the necessary bits. If not defined, the -// implementation optimizes the headers for the most commonly-used -// types. For the io library, this means that larger, out-of-line -// member functions are only declared, and definitions are not parsed -// by the compiler, but instead instantiated into the library binary. -#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1 - -// Allow use of the GNU syntax extension, "extern template." This -// extension is fully documented in the g++ manual, but in a nutshell, -// it inhibits all implicit instantiations and is used throughout the -// library to avoid multiple weak definitions for required types that -// are already explicitly instantiated in the library binary. This -// substantially reduces the binary size of resulting executables. -#ifndef _GLIBCPP_EXTERN_TEMPLATE -#define _GLIBCPP_EXTERN_TEMPLATE 1 -#endif - -// To enable older, ARM-style iostreams and other anachronisms use this. -//#define _GLIBCPP_DEPRECATED 1 - -// Use corrected code from the committee library group's issues list. -#define _GLIBCPP_RESOLVE_LIB_DEFECTS 1 - -// Hopefully temporary workaround to autoconf/m4 issue with quoting '@'. -#define _GLIBCPP_AT_AT "@@" - -// In those parts of the standard C++ library that use a mutex instead -// of a spin-lock, we now unconditionally use GCC's gthr.h mutex -// abstraction layer. All support to directly map to various -// threading models has been removed. Note: gthr.h may well map to -// gthr-single.h which is a correct way to express no threads support -// in gcc. Support for the undocumented _NOTHREADS has been removed. - -// Default to the typically high-speed, pool-based allocator (as -// libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3 -// snapshots). See libstdc++-v3/docs/html/17_intro/howto.html for -// details on why you don't want to override this setting. Ensure -// that threads are properly configured on your platform before -// assigning blame to the STL container-memory allocator. After doing -// so, please report any possible issues to libstdc++@gcc.gnu.org . -// Do not define __USE_MALLOC on the command line. Enforce it here: -#ifdef __USE_MALLOC -#error __USE_MALLOC should never be defined. Read the release notes. -#endif - -// Create a boolean flag to be used to determine if --fast-math is set. -#ifdef __FAST_MATH__ -#define _GLIBCPP_FAST_MATH 1 -#else -#define _GLIBCPP_FAST_MATH 0 -#endif - -// The remainder of the prewritten config is mostly automatic; all the -// user hooks are listed above. - -// End of prewritten config; the discovered settings follow. -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define _GLIBCPP_HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define _GLIBCPP_HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef _GLIBCPP_HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define _GLIBCPP_HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define _GLIBCPP_HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef _GLIBCPP_HAVE_MODFL */ - -// Define if you have the expf function. -#define _GLIBCPP_HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef _GLIBCPP_HAVE_EXPL */ - -// Define if you have the hypotf function. -#define _GLIBCPP_HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef _GLIBCPP_HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef _GLIBCPP_HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef _GLIBCPP_HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef _GLIBCPP_HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef _GLIBCPP_HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef _GLIBCPP_HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define _GLIBCPP_HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef _GLIBCPP_HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef _GLIBCPP_HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef _GLIBCPP_HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef _GLIBCPP_HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef _GLIBCPP_HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef _GLIBCPP_HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef _GLIBCPP_HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef _GLIBCPP_HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef _GLIBCPP_HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef _GLIBCPP_HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef _GLIBCPP_HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef _GLIBCPP_HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef _GLIBCPP_HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef _GLIBCPP_HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef _GLIBCPP_HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef _GLIBCPP_HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef _GLIBCPP_HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef _GLIBCPP_HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef _GLIBCPP_HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef _GLIBCPP_HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef _GLIBCPP_HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef _GLIBCPP_HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef _GLIBCPP_HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef _GLIBCPP_HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef _GLIBCPP_HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef _GLIBCPP_HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef _GLIBCPP_HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef _GLIBCPP_HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef _GLIBCPP_HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef _GLIBCPP_HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef _GLIBCPP_HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef _GLIBCPP_HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef _GLIBCPP_HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef _GLIBCPP_HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef _GLIBCPP_HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef _GLIBCPP_HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef _GLIBCPP_HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef _GLIBCPP_HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef _GLIBCPP_HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef _GLIBCPP_HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef _GLIBCPP_HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef _GLIBCPP_HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef _GLIBCPP_HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef _GLIBCPP_HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef _GLIBCPP_HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef _GLIBCPP_HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef _GLIBCPP_HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef _GLIBCPP_HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef _GLIBCPP_HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef _GLIBCPP_HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef _GLIBCPP_HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef _GLIBCPP_HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef _GLIBCPP_HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef _GLIBCPP_HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef _GLIBCPP_HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef _GLIBCPP_HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef _GLIBCPP_HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef _GLIBCPP_HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef _GLIBCPP_HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef _GLIBCPP_HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef _GLIBCPP_HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef _GLIBCPP_HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define _GLIBCPP_HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef _GLIBCPP_HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define _GLIBCPP_HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef _GLIBCPP_HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define _GLIBCPP_HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef _GLIBCPP_HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define _GLIBCPP_HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef _GLIBCPP_HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define _GLIBCPP_HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define _GLIBCPP_HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef _GLIBCPP_HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define _GLIBCPP_HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define _GLIBCPP_HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef _GLIBCPP_HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define _GLIBCPP_HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define _GLIBCPP_HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef _GLIBCPP_HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef _GLIBCPP_HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define _GLIBCPP_HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef _GLIBCPP_HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define _GLIBCPP_HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef _GLIBCPP_HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define _GLIBCPP_HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define _GLIBCPP_HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define _GLIBCPP_HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define _GLIBCPP_HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef _GLIBCPP_HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define _GLIBCPP_HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef _GLIBCPP_HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define _GLIBCPP_HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef _GLIBCPP_HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef _GLIBCPP_HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define _GLIBCPP_HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define _GLIBCPP_HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define _GLIBCPP_HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef _GLIBCPP_HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define _GLIBCPP_HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define _GLIBCPP_HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define _GLIBCPP_HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define _GLIBCPP_HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define _GLIBCPP_HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef _GLIBCPP_HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define _GLIBCPP_HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define _GLIBCPP_HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define _GLIBCPP_HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define _GLIBCPP_HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef _GLIBCPP_HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define _GLIBCPP_HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define _GLIBCPP_HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef _GLIBCPP_HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define _GLIBCPP_HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define _GLIBCPP_HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef _GLIBCPP_HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define _GLIBCPP_HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef _GLIBCPP_HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define _GLIBCPP_HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef _GLIBCPP_HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define _GLIBCPP_HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef _GLIBCPP_HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define _GLIBCPP_HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define _GLIBCPP_HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define _GLIBCPP_HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define _GLIBCPP_HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define _GLIBCPP_HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef _GLIBCPP_HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define _GLIBCPP_HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define _GLIBCPP_HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define _GLIBCPP_HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef _GLIBCPP_HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define _GLIBCPP_HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define _GLIBCPP_HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef _GLIBCPP_HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef _GLIBCPP_HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef _GLIBCPP_HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef _GLIBCPP_HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef _GLIBCPP_HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define _GLIBCPP_HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define _GLIBCPP_HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef _GLIBCPP_HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef _GLIBCPP_HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define _GLIBCPP_HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef _GLIBCPP_HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define _GLIBCPP_HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define _GLIBCPP_HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define _GLIBCPP_HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define _GLIBCPP_HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define _GLIBCPP_HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define _GLIBCPP_HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef _GLIBCPP_HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef _GLIBCPP_HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define _GLIBCPP_HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define _GLIBCPP_HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define _GLIBCPP_HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define _GLIBCPP_HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define _GLIBCPP_HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define _GLIBCPP_HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define _GLIBCPP_HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define _GLIBCPP_HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define _GLIBCPP_HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define _GLIBCPP_HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define _GLIBCPP_HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define _GLIBCPP_HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define _GLIBCPP_HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define _GLIBCPP_HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define _GLIBCPP_HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define _GLIBCPP_HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define _GLIBCPP_HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define _GLIBCPP_HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define _GLIBCPP_HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define _GLIBCPP_HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define _GLIBCPP_HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define _GLIBCPP_HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define _GLIBCPP_HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define _GLIBCPP_HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define _GLIBCPP_HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define _GLIBCPP_HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define _GLIBCPP_HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define _GLIBCPP_HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define _GLIBCPP_HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define _GLIBCPP_HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define _GLIBCPP_HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define _GLIBCPP_HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define _GLIBCPP_HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define _GLIBCPP_HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define _GLIBCPP_HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define _GLIBCPP_HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define _GLIBCPP_HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define _GLIBCPP_HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef _GLIBCPP_HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define _GLIBCPP_HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef _GLIBCPP_HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef _GLIBCPP_HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define _GLIBCPP_HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define _GLIBCPP_HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define _GLIBCPP_HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef _GLIBCPP_HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define _GLIBCPP_HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define _GLIBCPP_HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define _GLIBCPP_HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef _GLIBCPP_HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define _GLIBCPP_HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define _GLIBCPP_HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define _GLIBCPP_HAVE_LIBM 1 - -/* Name of package */ -#define _GLIBCPP_PACKAGE "libstdc++" - -/* Version number of package */ -#define _GLIBCPP_VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -#define _GLIBCPP_SJLJ_EXCEPTIONS 1 - -/* Define if sigsetjmp is available. */ -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (_GLIBCPP_HAVE__ISNAN) && ! defined (_GLIBCPP_HAVE_ISNAN) -# define _GLIBCPP_HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (_GLIBCPP_HAVE__ISNANF) && ! defined (_GLIBCPP_HAVE_ISNANF) -# define _GLIBCPP_HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (_GLIBCPP_HAVE__ISNANL) && ! defined (_GLIBCPP_HAVE_ISNANL) -# define _GLIBCPP_HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (_GLIBCPP_HAVE__ISINF) && ! defined (_GLIBCPP_HAVE_ISINF) -# define _GLIBCPP_HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (_GLIBCPP_HAVE__ISINFF) && ! defined (_GLIBCPP_HAVE_ISINFF) -# define _GLIBCPP_HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (_GLIBCPP_HAVE__ISINFL) && ! defined (_GLIBCPP_HAVE_ISINFL) -# define _GLIBCPP_HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGN) && ! defined (_GLIBCPP_HAVE_COPYSIGN) -# define _GLIBCPP_HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGNL) && ! defined (_GLIBCPP_HAVE_COPYSIGNL) -# define _GLIBCPP_HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (_GLIBCPP_HAVE__COSF) && ! defined (_GLIBCPP_HAVE_COSF) -# define _GLIBCPP_HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSF) && ! defined (_GLIBCPP_HAVE_ACOSF) -# define _GLIBCPP_HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSL) && ! defined (_GLIBCPP_HAVE_ACOSL) -# define _GLIBCPP_HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (_GLIBCPP_HAVE__ASINF) && ! defined (_GLIBCPP_HAVE_ASINF) -# define _GLIBCPP_HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (_GLIBCPP_HAVE__ASINL) && ! defined (_GLIBCPP_HAVE_ASINL) -# define _GLIBCPP_HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (_GLIBCPP_HAVE__ATANF) && ! defined (_GLIBCPP_HAVE_ATANF) -# define _GLIBCPP_HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (_GLIBCPP_HAVE__ATANL) && ! defined (_GLIBCPP_HAVE_ATANL) -# define _GLIBCPP_HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (_GLIBCPP_HAVE__CEILF) && ! defined (_GLIBCPP_HAVE_CEILF) -# define _GLIBCPP_HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (_GLIBCPP_HAVE__CEILL) && ! defined (_GLIBCPP_HAVE_CEILL) -# define _GLIBCPP_HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (_GLIBCPP_HAVE__COSHF) && ! defined (_GLIBCPP_HAVE_COSHF) -# define _GLIBCPP_HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (_GLIBCPP_HAVE__COSL) && ! defined (_GLIBCPP_HAVE_COSL) -# define _GLIBCPP_HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (_GLIBCPP_HAVE__LOGF) && ! defined (_GLIBCPP_HAVE_LOGF) -# define _GLIBCPP_HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (_GLIBCPP_HAVE__COSHL) && ! defined (_GLIBCPP_HAVE_COSHL) -# define _GLIBCPP_HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (_GLIBCPP_HAVE__EXPF) && ! defined (_GLIBCPP_HAVE_EXPF) -# define _GLIBCPP_HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (_GLIBCPP_HAVE__EXPL) && ! defined (_GLIBCPP_HAVE_EXPL) -# define _GLIBCPP_HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (_GLIBCPP_HAVE__FABSF) && ! defined (_GLIBCPP_HAVE_FABSF) -# define _GLIBCPP_HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (_GLIBCPP_HAVE__FABSL) && ! defined (_GLIBCPP_HAVE_FABSL) -# define _GLIBCPP_HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (_GLIBCPP_HAVE__FLOORF) && ! defined (_GLIBCPP_HAVE_FLOORF) -# define _GLIBCPP_HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (_GLIBCPP_HAVE__FLOORL) && ! defined (_GLIBCPP_HAVE_FLOORL) -# define _GLIBCPP_HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (_GLIBCPP_HAVE__FMODF) && ! defined (_GLIBCPP_HAVE_FMODF) -# define _GLIBCPP_HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (_GLIBCPP_HAVE__FMODL) && ! defined (_GLIBCPP_HAVE_FMODL) -# define _GLIBCPP_HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (_GLIBCPP_HAVE__FREXPF) && ! defined (_GLIBCPP_HAVE_FREXPF) -# define _GLIBCPP_HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (_GLIBCPP_HAVE__FREXPL) && ! defined (_GLIBCPP_HAVE_FREXPL) -# define _GLIBCPP_HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPF) && ! defined (_GLIBCPP_HAVE_LDEXPF) -# define _GLIBCPP_HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPL) && ! defined (_GLIBCPP_HAVE_LDEXPL) -# define _GLIBCPP_HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (_GLIBCPP_HAVE__LOG10F) && ! defined (_GLIBCPP_HAVE_LOG10F) -# define _GLIBCPP_HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (_GLIBCPP_HAVE__LOGL) && ! defined (_GLIBCPP_HAVE_LOGL) -# define _GLIBCPP_HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (_GLIBCPP_HAVE__POWF) && ! defined (_GLIBCPP_HAVE_POWF) -# define _GLIBCPP_HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (_GLIBCPP_HAVE__LOG10L) && ! defined (_GLIBCPP_HAVE_LOG10L) -# define _GLIBCPP_HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (_GLIBCPP_HAVE__MODF) && ! defined (_GLIBCPP_HAVE_MODF) -# define _GLIBCPP_HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (_GLIBCPP_HAVE__MODL) && ! defined (_GLIBCPP_HAVE_MODL) -# define _GLIBCPP_HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (_GLIBCPP_HAVE__SINF) && ! defined (_GLIBCPP_HAVE_SINF) -# define _GLIBCPP_HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (_GLIBCPP_HAVE__POWL) && ! defined (_GLIBCPP_HAVE_POWL) -# define _GLIBCPP_HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (_GLIBCPP_HAVE__SINHF) && ! defined (_GLIBCPP_HAVE_SINHF) -# define _GLIBCPP_HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (_GLIBCPP_HAVE__SINL) && ! defined (_GLIBCPP_HAVE_SINL) -# define _GLIBCPP_HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (_GLIBCPP_HAVE__SQRTF) && ! defined (_GLIBCPP_HAVE_SQRTF) -# define _GLIBCPP_HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (_GLIBCPP_HAVE__SINHL) && ! defined (_GLIBCPP_HAVE_SINHL) -# define _GLIBCPP_HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (_GLIBCPP_HAVE__TANF) && ! defined (_GLIBCPP_HAVE_TANF) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__SQRTL) && ! defined (_GLIBCPP_HAVE_SQRTL) -# define _GLIBCPP_HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (_GLIBCPP_HAVE__TANHF) && ! defined (_GLIBCPP_HAVE_TANHF) -# define _GLIBCPP_HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (_GLIBCPP_HAVE__TANL) && ! defined (_GLIBCPP_HAVE_TANL) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__STRTOF) && ! defined (_GLIBCPP_HAVE_STRTOF) -# define _GLIBCPP_HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (_GLIBCPP_HAVE__TANHL) && ! defined (_GLIBCPP_HAVE_TANHL) -# define _GLIBCPP_HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (_GLIBCPP_HAVE__STRTOLD) && ! defined (_GLIBCPP_HAVE_STRTOLD) -# define _GLIBCPP_HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (_GLIBCPP_HAVE__SINCOS) && ! defined (_GLIBCPP_HAVE_SINCOS) -# define _GLIBCPP_HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSF) && ! defined (_GLIBCPP_HAVE_SINCOSF) -# define _GLIBCPP_HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSL) && ! defined (_GLIBCPP_HAVE_SINCOSL) -# define _GLIBCPP_HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (_GLIBCPP_HAVE__FINITE) && ! defined (_GLIBCPP_HAVE_FINITE) -# define _GLIBCPP_HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (_GLIBCPP_HAVE__FINITEF) && ! defined (_GLIBCPP_HAVE_FINITEF) -# define _GLIBCPP_HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (_GLIBCPP_HAVE__FINITEL) && ! defined (_GLIBCPP_HAVE_FINITEL) -# define _GLIBCPP_HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (_GLIBCPP_HAVE__QFINITE) && ! defined (_GLIBCPP_HAVE_QFINITE) -# define _GLIBCPP_HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (_GLIBCPP_HAVE__FPCLASS) && ! defined (_GLIBCPP_HAVE_FPCLASS) -# define _GLIBCPP_HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (_GLIBCPP_HAVE__QFPCLASS) && ! defined (_GLIBCPP_HAVE_QFPCLASS) -# define _GLIBCPP_HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - -#endif // _CPP_CPPCONFIG_ diff --git a/gnu/lib/libstdc++-v3/arch/sh5el/config.h b/gnu/lib/libstdc++-v3/arch/sh5el/config.h deleted file mode 100644 index 575aed2db24..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh5el/config.h +++ /dev/null @@ -1,1127 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef HAVE_MODFL */ - -// Define if you have the expf function. -#define HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef HAVE_EXPL */ - -// Define if you have the hypotf function. -#define HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define HAVE_LIBM 1 - -/* Name of package */ -#define PACKAGE "libstdc++" - -/* Version number of package */ -#define VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -#define _GLIBCPP_SJLJ_EXCEPTIONS 1 - -/* Define if sigsetjmp is available. */ -/* #undef HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) -# define HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) -# define HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) -# define HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) -# define HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) -# define HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) -# define HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN) -# define HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL) -# define HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (HAVE__COSF) && ! defined (HAVE_COSF) -# define HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) -# define HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) -# define HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) -# define HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) -# define HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) -# define HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) -# define HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) -# define HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) -# define HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) -# define HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (HAVE__COSL) && ! defined (HAVE_COSL) -# define HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) -# define HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) -# define HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) -# define HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) -# define HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) -# define HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) -# define HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) -# define HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) -# define HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) -# define HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) -# define HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) -# define HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) -# define HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) -# define HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) -# define HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) -# define HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (HAVE__POWF) && ! defined (HAVE_POWF) -# define HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) -# define HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (HAVE__MODF) && ! defined (HAVE_MODF) -# define HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (HAVE__MODL) && ! defined (HAVE_MODL) -# define HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (HAVE__SINF) && ! defined (HAVE_SINF) -# define HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (HAVE__POWL) && ! defined (HAVE_POWL) -# define HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) -# define HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (HAVE__SINL) && ! defined (HAVE_SINL) -# define HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) -# define HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) -# define HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (HAVE__TANF) && ! defined (HAVE_TANF) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) -# define HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) -# define HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (HAVE__TANL) && ! defined (HAVE_TANL) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) -# define HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) -# define HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) -# define HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) -# define HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) -# define HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) -# define HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) -# define HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) -# define HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) -# define HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE) -# define HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) -# define HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) -# define HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - diff --git a/gnu/lib/libstdc++-v3/arch/sh5el/defs.mk b/gnu/lib/libstdc++-v3/arch/sh5el/defs.mk deleted file mode 100644 index e66862c1dc6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh5el/defs.mk +++ /dev/null @@ -1,18 +0,0 @@ -# This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp -# -G_libmath_la_SOURCES=stubs.c -G_libmath_la_LIBADD=signbit.lo -G_LIBSUPCXX_SOURCES=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc -G_LIBSUPCXX_C_SOURCES=cxa_demangle.c dyn-string.c -G_SRC_SOURCES=bitset.cc codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc vterminate.cc wstring-inst.cc codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc basic_file.cc c++locale.cc -G_SECTION_FLAGS=-ffunction-sections -fdata-sections -G_c_base_headers_rename=cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype -G_std_headers_rename=algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector -G_bits_headers=basic_ios.h basic_ios.tcc basic_string.h basic_string.tcc boost_concept_check.h char_traits.h codecvt.h concept_check.h cpp_type_traits.h deque.tcc fpos.h fstream.tcc functexcept.h gslice.h gslice_array.h indirect_array.h ios_base.h istream.tcc list.tcc locale_classes.h locale_facets.h locale_facets.tcc localefwd.h mask_array.h ostream.tcc pthread_allocimpl.h stream_iterator.h streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h stl_algobase.h stl_alloc.h stl_bvector.h stl_construct.h stl_deque.h stl_function.h stl_heap.h stl_iterator.h stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h stl_queue.h stl_raw_storage_iter.h stl_relops.h stl_set.h stl_stack.h stl_tempbuf.h stl_threads.h stl_tree.h stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h type_traits.h valarray_array.h valarray_array.tcc valarray_meta.h vector.tcc -G_backward_headers=complex.h iomanip.h istream.h ostream.h stream.h streambuf.h algo.h algobase.h alloc.h bvector.h defalloc.h deque.h function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h iterator.h list.h map.h multimap.h new.h multiset.h pair.h queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h vector.h fstream.h strstream backward_warning.h -G_ext_headers=algorithm enc_filebuf.h stdio_filebuf.h functional hash_map hash_set iterator memory numeric rb_tree rope ropeimpl.h slist stl_hash_fun.h stl_hashtable.h stl_rope.h -G_c_base_headers_extra=cmath.tcc -G_target_headers=ctype_base.h ctype_inline.h ctype_noninline.h os_defines.h atomicity.h -G_thread_target_headers=gthr.h gthr-single.h gthr-posix.h gthr-default.h -G_target_headers_extra=basic_file.h c++config.h c++io.h c++locale.h messages_members.h time_members.h codecvt_specializations.h diff --git a/gnu/lib/libstdc++-v3/arch/sh5el/gthr-default.h b/gnu/lib/libstdc++-v3/arch/sh5el/gthr-default.h deleted file mode 100644 index 6d49ac3e797..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh5el/gthr-default.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/sh5el/gthr-posix.h b/gnu/lib/libstdc++-v3/arch/sh5el/gthr-posix.h deleted file mode 100644 index 6d49ac3e797..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh5el/gthr-posix.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/sh5el/gthr-single.h b/gnu/lib/libstdc++-v3/arch/sh5el/gthr-single.h deleted file mode 100644 index 6e13a634ac3..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh5el/gthr-single.h +++ /dev/null @@ -1,242 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H -#define _GLIBCPP_GCC_GTHR_SINGLE_H - -/* Just provide compatibility for mutex handling. */ - -typedef int __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT 0 - -#ifdef __cplusplus -#define _GLIBCPP_UNUSED(x) -#else -#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) -#endif - -#ifdef _LIBOBJC - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) -{ - /* No thread support available */ - return NULL; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) -{ - /* No thread support available */ - return -1; -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - return; -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - /* No thread support available */ - /* Should we really exit the program */ - /* exit (&__objc_thread_exit_status); */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - /* No thread support, use 1. */ - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - thread_local_storage = value; - return 0; -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), - objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - return 0; -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -#endif /* _LIBOBJC */ - -#undef _GLIBCPP_UNUSED - -#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/sh5el/gthr.h b/gnu/lib/libstdc++-v3/arch/sh5el/gthr.h deleted file mode 100644 index cf06719ee38..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sh5el/gthr.h +++ /dev/null @@ -1,108 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp */ - -/* Threads compatibility routines for libgcc2. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1998 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_H -#define _GLIBCPP_GCC_GTHR_H - -/* If this file is compiled with threads support, it must - #define __GTHREADS 1 - to indicate that threads support is present. Also it has define - function - int __gthread_active_p () - that returns 1 if thread system is active, 0 if not. - - The threads interface must define the following types: - __gthread_key_t - __gthread_once_t - __gthread_mutex_t - - The threads interface must define the following macros: - - __GTHREAD_ONCE_INIT - to initialize __gthread_once_t - __GTHREAD_MUTEX_INIT - to initialize __gthread_mutex_t to get a fast - non-recursive mutex. - __GTHREAD_MUTEX_INIT_FUNCTION - some systems can't initialize a mutex without a - function call. On such systems, define this to a - function which looks like this: - void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *) - Don't define __GTHREAD_MUTEX_INIT in this case - - The threads interface must define the following static functions: - - int __gthread_once (__gthread_once_t *once, void (*func) ()) - - int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *)) - int __gthread_key_delete (__gthread_key_t key) - - int __gthread_key_dtor (__gthread_key_t key, void *ptr) - - void *__gthread_getspecific (__gthread_key_t key) - int __gthread_setspecific (__gthread_key_t key, const void *ptr) - - int __gthread_mutex_lock (__gthread_mutex_t *mutex); - int __gthread_mutex_trylock (__gthread_mutex_t *mutex); - int __gthread_mutex_unlock (__gthread_mutex_t *mutex); - - All functions returning int should return zero on success or the error - number. If the operation is not supported, -1 is returned. - - Currently supported threads packages are - POSIX threads with -D_PTHREADS - DCE threads with -D_DCE_THREADS - Solaris/UI threads with -D_SOLARIS_THREADS -*/ - -/* Check first for thread specific defines. */ -#if _GLIBCPP__PTHREADS -#include <bits/gthr-posix.h> -#elif _GLIBCPP__DCE_THREADS -#include <bits/gthr-dce.h> -#elif _GLIBCPP__SOLARIS_THREADS -#include <bits/gthr-solaris.h> - -/* Include GTHREAD_FILE if one is defined. */ -#elif defined(_GLIBCPP_HAVE_GTHR_DEFAULT) -#if _GLIBCPP_SUPPORTS_WEAK -#ifndef _GLIBCPP_GTHREAD_USE_WEAK -#define _GLIBCPP_GTHREAD_USE_WEAK 1 -#endif -#endif -#include <bits/gthr-default.h> - -/* Fallback to single thread definitions. */ -#else -#include <bits/gthr-single.h> -#endif - -#endif /* ! _GLIBCPP_GCC_GTHR_H */ diff --git a/gnu/lib/libstdc++-v3/arch/sparc/c++config.h b/gnu/lib/libstdc++-v3/arch/sparc/c++config.h deleted file mode 100644 index a73086022ad..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sparc/c++config.h +++ /dev/null @@ -1,1228 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -// Predefined symbols and macros -*- C++ -*- - -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -// Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) -// any later version. - -// This library 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 this library; see the file COPYING. If not, write to the Free -// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _CPP_CPPCONFIG -#define _CPP_CPPCONFIG 1 - -// Pick up any OS-specific definitions. -#include <bits/os_defines.h> - -// The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20050503 - -// This is necessary until GCC supports separate template compilation. -#define _GLIBCPP_NO_TEMPLATE_EXPORT 1 - -// This is a hack around not having either pre-compiled headers or -// export compilation. If defined, the io, string, and valarray -// headers will include all the necessary bits. If not defined, the -// implementation optimizes the headers for the most commonly-used -// types. For the io library, this means that larger, out-of-line -// member functions are only declared, and definitions are not parsed -// by the compiler, but instead instantiated into the library binary. -#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1 - -// Allow use of the GNU syntax extension, "extern template." This -// extension is fully documented in the g++ manual, but in a nutshell, -// it inhibits all implicit instantiations and is used throughout the -// library to avoid multiple weak definitions for required types that -// are already explicitly instantiated in the library binary. This -// substantially reduces the binary size of resulting executables. -#ifndef _GLIBCPP_EXTERN_TEMPLATE -#define _GLIBCPP_EXTERN_TEMPLATE 1 -#endif - -// To enable older, ARM-style iostreams and other anachronisms use this. -//#define _GLIBCPP_DEPRECATED 1 - -// Use corrected code from the committee library group's issues list. -#define _GLIBCPP_RESOLVE_LIB_DEFECTS 1 - -// Hopefully temporary workaround to autoconf/m4 issue with quoting '@'. -#define _GLIBCPP_AT_AT "@@" - -// In those parts of the standard C++ library that use a mutex instead -// of a spin-lock, we now unconditionally use GCC's gthr.h mutex -// abstraction layer. All support to directly map to various -// threading models has been removed. Note: gthr.h may well map to -// gthr-single.h which is a correct way to express no threads support -// in gcc. Support for the undocumented _NOTHREADS has been removed. - -// Default to the typically high-speed, pool-based allocator (as -// libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3 -// snapshots). See libstdc++-v3/docs/html/17_intro/howto.html for -// details on why you don't want to override this setting. Ensure -// that threads are properly configured on your platform before -// assigning blame to the STL container-memory allocator. After doing -// so, please report any possible issues to libstdc++@gcc.gnu.org . -// Do not define __USE_MALLOC on the command line. Enforce it here: -#ifdef __USE_MALLOC -#error __USE_MALLOC should never be defined. Read the release notes. -#endif - -// Create a boolean flag to be used to determine if --fast-math is set. -#ifdef __FAST_MATH__ -#define _GLIBCPP_FAST_MATH 1 -#else -#define _GLIBCPP_FAST_MATH 0 -#endif - -// The remainder of the prewritten config is mostly automatic; all the -// user hooks are listed above. - -// End of prewritten config; the discovered settings follow. -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define _GLIBCPP_HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define _GLIBCPP_HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef _GLIBCPP_HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define _GLIBCPP_HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define _GLIBCPP_HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef _GLIBCPP_HAVE_MODFL */ - -// Define if you have the expf function. -#define _GLIBCPP_HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef _GLIBCPP_HAVE_EXPL */ - -// Define if you have the hypotf function. -#define _GLIBCPP_HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef _GLIBCPP_HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef _GLIBCPP_HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef _GLIBCPP_HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef _GLIBCPP_HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef _GLIBCPP_HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef _GLIBCPP_HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define _GLIBCPP_HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef _GLIBCPP_HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef _GLIBCPP_HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef _GLIBCPP_HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef _GLIBCPP_HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef _GLIBCPP_HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef _GLIBCPP_HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef _GLIBCPP_HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef _GLIBCPP_HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef _GLIBCPP_HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef _GLIBCPP_HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef _GLIBCPP_HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef _GLIBCPP_HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef _GLIBCPP_HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef _GLIBCPP_HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef _GLIBCPP_HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef _GLIBCPP_HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef _GLIBCPP_HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef _GLIBCPP_HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef _GLIBCPP_HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef _GLIBCPP_HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef _GLIBCPP_HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef _GLIBCPP_HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef _GLIBCPP_HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef _GLIBCPP_HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef _GLIBCPP_HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef _GLIBCPP_HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef _GLIBCPP_HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef _GLIBCPP_HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef _GLIBCPP_HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef _GLIBCPP_HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef _GLIBCPP_HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef _GLIBCPP_HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef _GLIBCPP_HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef _GLIBCPP_HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef _GLIBCPP_HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef _GLIBCPP_HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef _GLIBCPP_HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef _GLIBCPP_HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef _GLIBCPP_HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef _GLIBCPP_HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef _GLIBCPP_HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef _GLIBCPP_HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef _GLIBCPP_HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef _GLIBCPP_HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef _GLIBCPP_HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef _GLIBCPP_HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef _GLIBCPP_HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef _GLIBCPP_HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef _GLIBCPP_HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef _GLIBCPP_HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef _GLIBCPP_HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef _GLIBCPP_HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef _GLIBCPP_HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef _GLIBCPP_HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef _GLIBCPP_HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef _GLIBCPP_HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef _GLIBCPP_HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef _GLIBCPP_HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef _GLIBCPP_HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef _GLIBCPP_HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef _GLIBCPP_HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef _GLIBCPP_HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define _GLIBCPP_HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef _GLIBCPP_HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define _GLIBCPP_HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef _GLIBCPP_HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define _GLIBCPP_HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef _GLIBCPP_HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define _GLIBCPP_HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef _GLIBCPP_HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define _GLIBCPP_HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define _GLIBCPP_HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef _GLIBCPP_HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define _GLIBCPP_HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define _GLIBCPP_HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef _GLIBCPP_HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define _GLIBCPP_HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define _GLIBCPP_HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef _GLIBCPP_HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef _GLIBCPP_HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define _GLIBCPP_HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef _GLIBCPP_HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define _GLIBCPP_HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef _GLIBCPP_HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define _GLIBCPP_HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define _GLIBCPP_HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define _GLIBCPP_HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define _GLIBCPP_HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef _GLIBCPP_HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define _GLIBCPP_HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef _GLIBCPP_HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define _GLIBCPP_HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef _GLIBCPP_HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef _GLIBCPP_HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define _GLIBCPP_HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define _GLIBCPP_HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define _GLIBCPP_HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef _GLIBCPP_HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define _GLIBCPP_HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define _GLIBCPP_HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define _GLIBCPP_HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define _GLIBCPP_HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define _GLIBCPP_HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef _GLIBCPP_HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define _GLIBCPP_HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define _GLIBCPP_HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define _GLIBCPP_HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define _GLIBCPP_HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef _GLIBCPP_HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define _GLIBCPP_HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define _GLIBCPP_HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef _GLIBCPP_HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define _GLIBCPP_HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define _GLIBCPP_HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef _GLIBCPP_HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define _GLIBCPP_HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef _GLIBCPP_HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define _GLIBCPP_HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef _GLIBCPP_HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define _GLIBCPP_HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef _GLIBCPP_HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define _GLIBCPP_HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define _GLIBCPP_HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define _GLIBCPP_HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define _GLIBCPP_HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define _GLIBCPP_HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef _GLIBCPP_HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define _GLIBCPP_HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define _GLIBCPP_HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define _GLIBCPP_HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef _GLIBCPP_HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define _GLIBCPP_HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define _GLIBCPP_HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef _GLIBCPP_HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef _GLIBCPP_HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef _GLIBCPP_HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef _GLIBCPP_HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef _GLIBCPP_HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define _GLIBCPP_HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define _GLIBCPP_HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef _GLIBCPP_HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef _GLIBCPP_HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define _GLIBCPP_HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef _GLIBCPP_HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define _GLIBCPP_HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define _GLIBCPP_HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define _GLIBCPP_HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define _GLIBCPP_HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define _GLIBCPP_HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define _GLIBCPP_HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef _GLIBCPP_HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef _GLIBCPP_HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define _GLIBCPP_HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define _GLIBCPP_HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define _GLIBCPP_HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define _GLIBCPP_HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define _GLIBCPP_HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define _GLIBCPP_HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define _GLIBCPP_HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define _GLIBCPP_HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define _GLIBCPP_HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define _GLIBCPP_HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define _GLIBCPP_HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define _GLIBCPP_HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define _GLIBCPP_HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define _GLIBCPP_HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define _GLIBCPP_HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define _GLIBCPP_HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define _GLIBCPP_HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define _GLIBCPP_HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define _GLIBCPP_HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define _GLIBCPP_HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define _GLIBCPP_HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define _GLIBCPP_HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define _GLIBCPP_HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define _GLIBCPP_HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define _GLIBCPP_HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define _GLIBCPP_HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define _GLIBCPP_HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define _GLIBCPP_HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define _GLIBCPP_HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define _GLIBCPP_HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define _GLIBCPP_HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define _GLIBCPP_HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define _GLIBCPP_HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define _GLIBCPP_HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define _GLIBCPP_HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define _GLIBCPP_HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define _GLIBCPP_HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define _GLIBCPP_HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef _GLIBCPP_HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define _GLIBCPP_HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef _GLIBCPP_HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef _GLIBCPP_HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define _GLIBCPP_HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define _GLIBCPP_HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define _GLIBCPP_HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef _GLIBCPP_HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define _GLIBCPP_HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define _GLIBCPP_HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define _GLIBCPP_HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef _GLIBCPP_HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define _GLIBCPP_HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define _GLIBCPP_HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define _GLIBCPP_HAVE_LIBM 1 - -/* Name of package */ -#define _GLIBCPP_PACKAGE "libstdc++" - -/* Version number of package */ -#define _GLIBCPP_VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (_GLIBCPP_HAVE__ISNAN) && ! defined (_GLIBCPP_HAVE_ISNAN) -# define _GLIBCPP_HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (_GLIBCPP_HAVE__ISNANF) && ! defined (_GLIBCPP_HAVE_ISNANF) -# define _GLIBCPP_HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (_GLIBCPP_HAVE__ISNANL) && ! defined (_GLIBCPP_HAVE_ISNANL) -# define _GLIBCPP_HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (_GLIBCPP_HAVE__ISINF) && ! defined (_GLIBCPP_HAVE_ISINF) -# define _GLIBCPP_HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (_GLIBCPP_HAVE__ISINFF) && ! defined (_GLIBCPP_HAVE_ISINFF) -# define _GLIBCPP_HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (_GLIBCPP_HAVE__ISINFL) && ! defined (_GLIBCPP_HAVE_ISINFL) -# define _GLIBCPP_HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGN) && ! defined (_GLIBCPP_HAVE_COPYSIGN) -# define _GLIBCPP_HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGNL) && ! defined (_GLIBCPP_HAVE_COPYSIGNL) -# define _GLIBCPP_HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (_GLIBCPP_HAVE__COSF) && ! defined (_GLIBCPP_HAVE_COSF) -# define _GLIBCPP_HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSF) && ! defined (_GLIBCPP_HAVE_ACOSF) -# define _GLIBCPP_HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSL) && ! defined (_GLIBCPP_HAVE_ACOSL) -# define _GLIBCPP_HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (_GLIBCPP_HAVE__ASINF) && ! defined (_GLIBCPP_HAVE_ASINF) -# define _GLIBCPP_HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (_GLIBCPP_HAVE__ASINL) && ! defined (_GLIBCPP_HAVE_ASINL) -# define _GLIBCPP_HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (_GLIBCPP_HAVE__ATANF) && ! defined (_GLIBCPP_HAVE_ATANF) -# define _GLIBCPP_HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (_GLIBCPP_HAVE__ATANL) && ! defined (_GLIBCPP_HAVE_ATANL) -# define _GLIBCPP_HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (_GLIBCPP_HAVE__CEILF) && ! defined (_GLIBCPP_HAVE_CEILF) -# define _GLIBCPP_HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (_GLIBCPP_HAVE__CEILL) && ! defined (_GLIBCPP_HAVE_CEILL) -# define _GLIBCPP_HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (_GLIBCPP_HAVE__COSHF) && ! defined (_GLIBCPP_HAVE_COSHF) -# define _GLIBCPP_HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (_GLIBCPP_HAVE__COSL) && ! defined (_GLIBCPP_HAVE_COSL) -# define _GLIBCPP_HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (_GLIBCPP_HAVE__LOGF) && ! defined (_GLIBCPP_HAVE_LOGF) -# define _GLIBCPP_HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (_GLIBCPP_HAVE__COSHL) && ! defined (_GLIBCPP_HAVE_COSHL) -# define _GLIBCPP_HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (_GLIBCPP_HAVE__EXPF) && ! defined (_GLIBCPP_HAVE_EXPF) -# define _GLIBCPP_HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (_GLIBCPP_HAVE__EXPL) && ! defined (_GLIBCPP_HAVE_EXPL) -# define _GLIBCPP_HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (_GLIBCPP_HAVE__FABSF) && ! defined (_GLIBCPP_HAVE_FABSF) -# define _GLIBCPP_HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (_GLIBCPP_HAVE__FABSL) && ! defined (_GLIBCPP_HAVE_FABSL) -# define _GLIBCPP_HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (_GLIBCPP_HAVE__FLOORF) && ! defined (_GLIBCPP_HAVE_FLOORF) -# define _GLIBCPP_HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (_GLIBCPP_HAVE__FLOORL) && ! defined (_GLIBCPP_HAVE_FLOORL) -# define _GLIBCPP_HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (_GLIBCPP_HAVE__FMODF) && ! defined (_GLIBCPP_HAVE_FMODF) -# define _GLIBCPP_HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (_GLIBCPP_HAVE__FMODL) && ! defined (_GLIBCPP_HAVE_FMODL) -# define _GLIBCPP_HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (_GLIBCPP_HAVE__FREXPF) && ! defined (_GLIBCPP_HAVE_FREXPF) -# define _GLIBCPP_HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (_GLIBCPP_HAVE__FREXPL) && ! defined (_GLIBCPP_HAVE_FREXPL) -# define _GLIBCPP_HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPF) && ! defined (_GLIBCPP_HAVE_LDEXPF) -# define _GLIBCPP_HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPL) && ! defined (_GLIBCPP_HAVE_LDEXPL) -# define _GLIBCPP_HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (_GLIBCPP_HAVE__LOG10F) && ! defined (_GLIBCPP_HAVE_LOG10F) -# define _GLIBCPP_HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (_GLIBCPP_HAVE__LOGL) && ! defined (_GLIBCPP_HAVE_LOGL) -# define _GLIBCPP_HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (_GLIBCPP_HAVE__POWF) && ! defined (_GLIBCPP_HAVE_POWF) -# define _GLIBCPP_HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (_GLIBCPP_HAVE__LOG10L) && ! defined (_GLIBCPP_HAVE_LOG10L) -# define _GLIBCPP_HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (_GLIBCPP_HAVE__MODF) && ! defined (_GLIBCPP_HAVE_MODF) -# define _GLIBCPP_HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (_GLIBCPP_HAVE__MODL) && ! defined (_GLIBCPP_HAVE_MODL) -# define _GLIBCPP_HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (_GLIBCPP_HAVE__SINF) && ! defined (_GLIBCPP_HAVE_SINF) -# define _GLIBCPP_HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (_GLIBCPP_HAVE__POWL) && ! defined (_GLIBCPP_HAVE_POWL) -# define _GLIBCPP_HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (_GLIBCPP_HAVE__SINHF) && ! defined (_GLIBCPP_HAVE_SINHF) -# define _GLIBCPP_HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (_GLIBCPP_HAVE__SINL) && ! defined (_GLIBCPP_HAVE_SINL) -# define _GLIBCPP_HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (_GLIBCPP_HAVE__SQRTF) && ! defined (_GLIBCPP_HAVE_SQRTF) -# define _GLIBCPP_HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (_GLIBCPP_HAVE__SINHL) && ! defined (_GLIBCPP_HAVE_SINHL) -# define _GLIBCPP_HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (_GLIBCPP_HAVE__TANF) && ! defined (_GLIBCPP_HAVE_TANF) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__SQRTL) && ! defined (_GLIBCPP_HAVE_SQRTL) -# define _GLIBCPP_HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (_GLIBCPP_HAVE__TANHF) && ! defined (_GLIBCPP_HAVE_TANHF) -# define _GLIBCPP_HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (_GLIBCPP_HAVE__TANL) && ! defined (_GLIBCPP_HAVE_TANL) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__STRTOF) && ! defined (_GLIBCPP_HAVE_STRTOF) -# define _GLIBCPP_HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (_GLIBCPP_HAVE__TANHL) && ! defined (_GLIBCPP_HAVE_TANHL) -# define _GLIBCPP_HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (_GLIBCPP_HAVE__STRTOLD) && ! defined (_GLIBCPP_HAVE_STRTOLD) -# define _GLIBCPP_HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (_GLIBCPP_HAVE__SINCOS) && ! defined (_GLIBCPP_HAVE_SINCOS) -# define _GLIBCPP_HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSF) && ! defined (_GLIBCPP_HAVE_SINCOSF) -# define _GLIBCPP_HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSL) && ! defined (_GLIBCPP_HAVE_SINCOSL) -# define _GLIBCPP_HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (_GLIBCPP_HAVE__FINITE) && ! defined (_GLIBCPP_HAVE_FINITE) -# define _GLIBCPP_HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (_GLIBCPP_HAVE__FINITEF) && ! defined (_GLIBCPP_HAVE_FINITEF) -# define _GLIBCPP_HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (_GLIBCPP_HAVE__FINITEL) && ! defined (_GLIBCPP_HAVE_FINITEL) -# define _GLIBCPP_HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (_GLIBCPP_HAVE__QFINITE) && ! defined (_GLIBCPP_HAVE_QFINITE) -# define _GLIBCPP_HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (_GLIBCPP_HAVE__FPCLASS) && ! defined (_GLIBCPP_HAVE_FPCLASS) -# define _GLIBCPP_HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (_GLIBCPP_HAVE__QFPCLASS) && ! defined (_GLIBCPP_HAVE_QFPCLASS) -# define _GLIBCPP_HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - -#endif // _CPP_CPPCONFIG_ diff --git a/gnu/lib/libstdc++-v3/arch/sparc/config.h b/gnu/lib/libstdc++-v3/arch/sparc/config.h deleted file mode 100644 index 02ea4f7a34a..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sparc/config.h +++ /dev/null @@ -1,1127 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef HAVE_MODFL */ - -// Define if you have the expf function. -#define HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef HAVE_EXPL */ - -// Define if you have the hypotf function. -#define HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define HAVE_LIBM 1 - -/* Name of package */ -#define PACKAGE "libstdc++" - -/* Version number of package */ -#define VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) -# define HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) -# define HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) -# define HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) -# define HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) -# define HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) -# define HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN) -# define HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL) -# define HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (HAVE__COSF) && ! defined (HAVE_COSF) -# define HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) -# define HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) -# define HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) -# define HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) -# define HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) -# define HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) -# define HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) -# define HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) -# define HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) -# define HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (HAVE__COSL) && ! defined (HAVE_COSL) -# define HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) -# define HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) -# define HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) -# define HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) -# define HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) -# define HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) -# define HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) -# define HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) -# define HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) -# define HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) -# define HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) -# define HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) -# define HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) -# define HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) -# define HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) -# define HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (HAVE__POWF) && ! defined (HAVE_POWF) -# define HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) -# define HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (HAVE__MODF) && ! defined (HAVE_MODF) -# define HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (HAVE__MODL) && ! defined (HAVE_MODL) -# define HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (HAVE__SINF) && ! defined (HAVE_SINF) -# define HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (HAVE__POWL) && ! defined (HAVE_POWL) -# define HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) -# define HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (HAVE__SINL) && ! defined (HAVE_SINL) -# define HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) -# define HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) -# define HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (HAVE__TANF) && ! defined (HAVE_TANF) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) -# define HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) -# define HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (HAVE__TANL) && ! defined (HAVE_TANL) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) -# define HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) -# define HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) -# define HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) -# define HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) -# define HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) -# define HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) -# define HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) -# define HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) -# define HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE) -# define HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) -# define HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) -# define HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - diff --git a/gnu/lib/libstdc++-v3/arch/sparc/defs.mk b/gnu/lib/libstdc++-v3/arch/sparc/defs.mk deleted file mode 100644 index e66862c1dc6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sparc/defs.mk +++ /dev/null @@ -1,18 +0,0 @@ -# This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp -# -G_libmath_la_SOURCES=stubs.c -G_libmath_la_LIBADD=signbit.lo -G_LIBSUPCXX_SOURCES=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc -G_LIBSUPCXX_C_SOURCES=cxa_demangle.c dyn-string.c -G_SRC_SOURCES=bitset.cc codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc vterminate.cc wstring-inst.cc codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc basic_file.cc c++locale.cc -G_SECTION_FLAGS=-ffunction-sections -fdata-sections -G_c_base_headers_rename=cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype -G_std_headers_rename=algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector -G_bits_headers=basic_ios.h basic_ios.tcc basic_string.h basic_string.tcc boost_concept_check.h char_traits.h codecvt.h concept_check.h cpp_type_traits.h deque.tcc fpos.h fstream.tcc functexcept.h gslice.h gslice_array.h indirect_array.h ios_base.h istream.tcc list.tcc locale_classes.h locale_facets.h locale_facets.tcc localefwd.h mask_array.h ostream.tcc pthread_allocimpl.h stream_iterator.h streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h stl_algobase.h stl_alloc.h stl_bvector.h stl_construct.h stl_deque.h stl_function.h stl_heap.h stl_iterator.h stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h stl_queue.h stl_raw_storage_iter.h stl_relops.h stl_set.h stl_stack.h stl_tempbuf.h stl_threads.h stl_tree.h stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h type_traits.h valarray_array.h valarray_array.tcc valarray_meta.h vector.tcc -G_backward_headers=complex.h iomanip.h istream.h ostream.h stream.h streambuf.h algo.h algobase.h alloc.h bvector.h defalloc.h deque.h function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h iterator.h list.h map.h multimap.h new.h multiset.h pair.h queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h vector.h fstream.h strstream backward_warning.h -G_ext_headers=algorithm enc_filebuf.h stdio_filebuf.h functional hash_map hash_set iterator memory numeric rb_tree rope ropeimpl.h slist stl_hash_fun.h stl_hashtable.h stl_rope.h -G_c_base_headers_extra=cmath.tcc -G_target_headers=ctype_base.h ctype_inline.h ctype_noninline.h os_defines.h atomicity.h -G_thread_target_headers=gthr.h gthr-single.h gthr-posix.h gthr-default.h -G_target_headers_extra=basic_file.h c++config.h c++io.h c++locale.h messages_members.h time_members.h codecvt_specializations.h diff --git a/gnu/lib/libstdc++-v3/arch/sparc/gthr-default.h b/gnu/lib/libstdc++-v3/arch/sparc/gthr-default.h deleted file mode 100644 index 4e720ae28e4..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sparc/gthr-default.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.6 2003/08/01 02:44:56 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/sparc/gthr-posix.h b/gnu/lib/libstdc++-v3/arch/sparc/gthr-posix.h deleted file mode 100644 index 8b6907f2375..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sparc/gthr-posix.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative,v 1.12 2003/03/05 06:17:17 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/sparc/gthr-single.h b/gnu/lib/libstdc++-v3/arch/sparc/gthr-single.h deleted file mode 100644 index 1aca68c12e6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sparc/gthr-single.h +++ /dev/null @@ -1,242 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative,v 1.12 2003/03/05 06:17:17 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H -#define _GLIBCPP_GCC_GTHR_SINGLE_H - -/* Just provide compatibility for mutex handling. */ - -typedef int __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT 0 - -#ifdef __cplusplus -#define _GLIBCPP_UNUSED(x) -#else -#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) -#endif - -#ifdef _LIBOBJC - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) -{ - /* No thread support available */ - return NULL; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) -{ - /* No thread support available */ - return -1; -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - return; -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - /* No thread support available */ - /* Should we really exit the program */ - /* exit (&__objc_thread_exit_status); */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - /* No thread support, use 1. */ - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - thread_local_storage = value; - return 0; -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), - objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - return 0; -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -#endif /* _LIBOBJC */ - -#undef _GLIBCPP_UNUSED - -#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/sparc/gthr.h b/gnu/lib/libstdc++-v3/arch/sparc/gthr.h deleted file mode 100644 index 5b9046dadb8..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sparc/gthr.h +++ /dev/null @@ -1,108 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative,v 1.12 2003/03/05 06:17:17 mrg Exp */ - -/* Threads compatibility routines for libgcc2. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1998 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_H -#define _GLIBCPP_GCC_GTHR_H - -/* If this file is compiled with threads support, it must - #define __GTHREADS 1 - to indicate that threads support is present. Also it has define - function - int __gthread_active_p () - that returns 1 if thread system is active, 0 if not. - - The threads interface must define the following types: - __gthread_key_t - __gthread_once_t - __gthread_mutex_t - - The threads interface must define the following macros: - - __GTHREAD_ONCE_INIT - to initialize __gthread_once_t - __GTHREAD_MUTEX_INIT - to initialize __gthread_mutex_t to get a fast - non-recursive mutex. - __GTHREAD_MUTEX_INIT_FUNCTION - some systems can't initialize a mutex without a - function call. On such systems, define this to a - function which looks like this: - void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *) - Don't define __GTHREAD_MUTEX_INIT in this case - - The threads interface must define the following static functions: - - int __gthread_once (__gthread_once_t *once, void (*func) ()) - - int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *)) - int __gthread_key_delete (__gthread_key_t key) - - int __gthread_key_dtor (__gthread_key_t key, void *ptr) - - void *__gthread_getspecific (__gthread_key_t key) - int __gthread_setspecific (__gthread_key_t key, const void *ptr) - - int __gthread_mutex_lock (__gthread_mutex_t *mutex); - int __gthread_mutex_trylock (__gthread_mutex_t *mutex); - int __gthread_mutex_unlock (__gthread_mutex_t *mutex); - - All functions returning int should return zero on success or the error - number. If the operation is not supported, -1 is returned. - - Currently supported threads packages are - POSIX threads with -D_PTHREADS - DCE threads with -D_DCE_THREADS - Solaris/UI threads with -D_SOLARIS_THREADS -*/ - -/* Check first for thread specific defines. */ -#if _GLIBCPP__PTHREADS -#include <bits/gthr-posix.h> -#elif _GLIBCPP__DCE_THREADS -#include <bits/gthr-dce.h> -#elif _GLIBCPP__SOLARIS_THREADS -#include <bits/gthr-solaris.h> - -/* Include GTHREAD_FILE if one is defined. */ -#elif defined(_GLIBCPP_HAVE_GTHR_DEFAULT) -#if _GLIBCPP_SUPPORTS_WEAK -#ifndef _GLIBCPP_GTHREAD_USE_WEAK -#define _GLIBCPP_GTHREAD_USE_WEAK 1 -#endif -#endif -#include <bits/gthr-default.h> - -/* Fallback to single thread definitions. */ -#else -#include <bits/gthr-single.h> -#endif - -#endif /* ! _GLIBCPP_GCC_GTHR_H */ diff --git a/gnu/lib/libstdc++-v3/arch/sparc64/c++config.h b/gnu/lib/libstdc++-v3/arch/sparc64/c++config.h deleted file mode 100644 index a73086022ad..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sparc64/c++config.h +++ /dev/null @@ -1,1228 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -// Predefined symbols and macros -*- C++ -*- - -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -// Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) -// any later version. - -// This library 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 this library; see the file COPYING. If not, write to the Free -// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _CPP_CPPCONFIG -#define _CPP_CPPCONFIG 1 - -// Pick up any OS-specific definitions. -#include <bits/os_defines.h> - -// The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20050503 - -// This is necessary until GCC supports separate template compilation. -#define _GLIBCPP_NO_TEMPLATE_EXPORT 1 - -// This is a hack around not having either pre-compiled headers or -// export compilation. If defined, the io, string, and valarray -// headers will include all the necessary bits. If not defined, the -// implementation optimizes the headers for the most commonly-used -// types. For the io library, this means that larger, out-of-line -// member functions are only declared, and definitions are not parsed -// by the compiler, but instead instantiated into the library binary. -#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1 - -// Allow use of the GNU syntax extension, "extern template." This -// extension is fully documented in the g++ manual, but in a nutshell, -// it inhibits all implicit instantiations and is used throughout the -// library to avoid multiple weak definitions for required types that -// are already explicitly instantiated in the library binary. This -// substantially reduces the binary size of resulting executables. -#ifndef _GLIBCPP_EXTERN_TEMPLATE -#define _GLIBCPP_EXTERN_TEMPLATE 1 -#endif - -// To enable older, ARM-style iostreams and other anachronisms use this. -//#define _GLIBCPP_DEPRECATED 1 - -// Use corrected code from the committee library group's issues list. -#define _GLIBCPP_RESOLVE_LIB_DEFECTS 1 - -// Hopefully temporary workaround to autoconf/m4 issue with quoting '@'. -#define _GLIBCPP_AT_AT "@@" - -// In those parts of the standard C++ library that use a mutex instead -// of a spin-lock, we now unconditionally use GCC's gthr.h mutex -// abstraction layer. All support to directly map to various -// threading models has been removed. Note: gthr.h may well map to -// gthr-single.h which is a correct way to express no threads support -// in gcc. Support for the undocumented _NOTHREADS has been removed. - -// Default to the typically high-speed, pool-based allocator (as -// libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3 -// snapshots). See libstdc++-v3/docs/html/17_intro/howto.html for -// details on why you don't want to override this setting. Ensure -// that threads are properly configured on your platform before -// assigning blame to the STL container-memory allocator. After doing -// so, please report any possible issues to libstdc++@gcc.gnu.org . -// Do not define __USE_MALLOC on the command line. Enforce it here: -#ifdef __USE_MALLOC -#error __USE_MALLOC should never be defined. Read the release notes. -#endif - -// Create a boolean flag to be used to determine if --fast-math is set. -#ifdef __FAST_MATH__ -#define _GLIBCPP_FAST_MATH 1 -#else -#define _GLIBCPP_FAST_MATH 0 -#endif - -// The remainder of the prewritten config is mostly automatic; all the -// user hooks are listed above. - -// End of prewritten config; the discovered settings follow. -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define _GLIBCPP_HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define _GLIBCPP_HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef _GLIBCPP_HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define _GLIBCPP_HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define _GLIBCPP_HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef _GLIBCPP_HAVE_MODFL */ - -// Define if you have the expf function. -#define _GLIBCPP_HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef _GLIBCPP_HAVE_EXPL */ - -// Define if you have the hypotf function. -#define _GLIBCPP_HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef _GLIBCPP_HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef _GLIBCPP_HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef _GLIBCPP_HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef _GLIBCPP_HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef _GLIBCPP_HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef _GLIBCPP_HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define _GLIBCPP_HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef _GLIBCPP_HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef _GLIBCPP_HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef _GLIBCPP_HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef _GLIBCPP_HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef _GLIBCPP_HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef _GLIBCPP_HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef _GLIBCPP_HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef _GLIBCPP_HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef _GLIBCPP_HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef _GLIBCPP_HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef _GLIBCPP_HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef _GLIBCPP_HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef _GLIBCPP_HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef _GLIBCPP_HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef _GLIBCPP_HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef _GLIBCPP_HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef _GLIBCPP_HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef _GLIBCPP_HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef _GLIBCPP_HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef _GLIBCPP_HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef _GLIBCPP_HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef _GLIBCPP_HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef _GLIBCPP_HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef _GLIBCPP_HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef _GLIBCPP_HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef _GLIBCPP_HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef _GLIBCPP_HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef _GLIBCPP_HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef _GLIBCPP_HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef _GLIBCPP_HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef _GLIBCPP_HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef _GLIBCPP_HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef _GLIBCPP_HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef _GLIBCPP_HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef _GLIBCPP_HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef _GLIBCPP_HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef _GLIBCPP_HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef _GLIBCPP_HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef _GLIBCPP_HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef _GLIBCPP_HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef _GLIBCPP_HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef _GLIBCPP_HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef _GLIBCPP_HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef _GLIBCPP_HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef _GLIBCPP_HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef _GLIBCPP_HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef _GLIBCPP_HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef _GLIBCPP_HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef _GLIBCPP_HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef _GLIBCPP_HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef _GLIBCPP_HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef _GLIBCPP_HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef _GLIBCPP_HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef _GLIBCPP_HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef _GLIBCPP_HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef _GLIBCPP_HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef _GLIBCPP_HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef _GLIBCPP_HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef _GLIBCPP_HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef _GLIBCPP_HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef _GLIBCPP_HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef _GLIBCPP_HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define _GLIBCPP_HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef _GLIBCPP_HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define _GLIBCPP_HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef _GLIBCPP_HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define _GLIBCPP_HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef _GLIBCPP_HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define _GLIBCPP_HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef _GLIBCPP_HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define _GLIBCPP_HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define _GLIBCPP_HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef _GLIBCPP_HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define _GLIBCPP_HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define _GLIBCPP_HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef _GLIBCPP_HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define _GLIBCPP_HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define _GLIBCPP_HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef _GLIBCPP_HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef _GLIBCPP_HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define _GLIBCPP_HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef _GLIBCPP_HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define _GLIBCPP_HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef _GLIBCPP_HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define _GLIBCPP_HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define _GLIBCPP_HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define _GLIBCPP_HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define _GLIBCPP_HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef _GLIBCPP_HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define _GLIBCPP_HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef _GLIBCPP_HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define _GLIBCPP_HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef _GLIBCPP_HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef _GLIBCPP_HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define _GLIBCPP_HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define _GLIBCPP_HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define _GLIBCPP_HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef _GLIBCPP_HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define _GLIBCPP_HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define _GLIBCPP_HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define _GLIBCPP_HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define _GLIBCPP_HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define _GLIBCPP_HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef _GLIBCPP_HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define _GLIBCPP_HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define _GLIBCPP_HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define _GLIBCPP_HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define _GLIBCPP_HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef _GLIBCPP_HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define _GLIBCPP_HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define _GLIBCPP_HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef _GLIBCPP_HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define _GLIBCPP_HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define _GLIBCPP_HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef _GLIBCPP_HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define _GLIBCPP_HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef _GLIBCPP_HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define _GLIBCPP_HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef _GLIBCPP_HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define _GLIBCPP_HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef _GLIBCPP_HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define _GLIBCPP_HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define _GLIBCPP_HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define _GLIBCPP_HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define _GLIBCPP_HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define _GLIBCPP_HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef _GLIBCPP_HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define _GLIBCPP_HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define _GLIBCPP_HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define _GLIBCPP_HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef _GLIBCPP_HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define _GLIBCPP_HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define _GLIBCPP_HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef _GLIBCPP_HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef _GLIBCPP_HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef _GLIBCPP_HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef _GLIBCPP_HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef _GLIBCPP_HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define _GLIBCPP_HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define _GLIBCPP_HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef _GLIBCPP_HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef _GLIBCPP_HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define _GLIBCPP_HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef _GLIBCPP_HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define _GLIBCPP_HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define _GLIBCPP_HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define _GLIBCPP_HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define _GLIBCPP_HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define _GLIBCPP_HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define _GLIBCPP_HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef _GLIBCPP_HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef _GLIBCPP_HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define _GLIBCPP_HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define _GLIBCPP_HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define _GLIBCPP_HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define _GLIBCPP_HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define _GLIBCPP_HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define _GLIBCPP_HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define _GLIBCPP_HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define _GLIBCPP_HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define _GLIBCPP_HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define _GLIBCPP_HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define _GLIBCPP_HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define _GLIBCPP_HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define _GLIBCPP_HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define _GLIBCPP_HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define _GLIBCPP_HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define _GLIBCPP_HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define _GLIBCPP_HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define _GLIBCPP_HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define _GLIBCPP_HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define _GLIBCPP_HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define _GLIBCPP_HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define _GLIBCPP_HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define _GLIBCPP_HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define _GLIBCPP_HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define _GLIBCPP_HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define _GLIBCPP_HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define _GLIBCPP_HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define _GLIBCPP_HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define _GLIBCPP_HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define _GLIBCPP_HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define _GLIBCPP_HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define _GLIBCPP_HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define _GLIBCPP_HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define _GLIBCPP_HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define _GLIBCPP_HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define _GLIBCPP_HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define _GLIBCPP_HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define _GLIBCPP_HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef _GLIBCPP_HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define _GLIBCPP_HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef _GLIBCPP_HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef _GLIBCPP_HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define _GLIBCPP_HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define _GLIBCPP_HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define _GLIBCPP_HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef _GLIBCPP_HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define _GLIBCPP_HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define _GLIBCPP_HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define _GLIBCPP_HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef _GLIBCPP_HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define _GLIBCPP_HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define _GLIBCPP_HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define _GLIBCPP_HAVE_LIBM 1 - -/* Name of package */ -#define _GLIBCPP_PACKAGE "libstdc++" - -/* Version number of package */ -#define _GLIBCPP_VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (_GLIBCPP_HAVE__ISNAN) && ! defined (_GLIBCPP_HAVE_ISNAN) -# define _GLIBCPP_HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (_GLIBCPP_HAVE__ISNANF) && ! defined (_GLIBCPP_HAVE_ISNANF) -# define _GLIBCPP_HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (_GLIBCPP_HAVE__ISNANL) && ! defined (_GLIBCPP_HAVE_ISNANL) -# define _GLIBCPP_HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (_GLIBCPP_HAVE__ISINF) && ! defined (_GLIBCPP_HAVE_ISINF) -# define _GLIBCPP_HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (_GLIBCPP_HAVE__ISINFF) && ! defined (_GLIBCPP_HAVE_ISINFF) -# define _GLIBCPP_HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (_GLIBCPP_HAVE__ISINFL) && ! defined (_GLIBCPP_HAVE_ISINFL) -# define _GLIBCPP_HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGN) && ! defined (_GLIBCPP_HAVE_COPYSIGN) -# define _GLIBCPP_HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGNL) && ! defined (_GLIBCPP_HAVE_COPYSIGNL) -# define _GLIBCPP_HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (_GLIBCPP_HAVE__COSF) && ! defined (_GLIBCPP_HAVE_COSF) -# define _GLIBCPP_HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSF) && ! defined (_GLIBCPP_HAVE_ACOSF) -# define _GLIBCPP_HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSL) && ! defined (_GLIBCPP_HAVE_ACOSL) -# define _GLIBCPP_HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (_GLIBCPP_HAVE__ASINF) && ! defined (_GLIBCPP_HAVE_ASINF) -# define _GLIBCPP_HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (_GLIBCPP_HAVE__ASINL) && ! defined (_GLIBCPP_HAVE_ASINL) -# define _GLIBCPP_HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (_GLIBCPP_HAVE__ATANF) && ! defined (_GLIBCPP_HAVE_ATANF) -# define _GLIBCPP_HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (_GLIBCPP_HAVE__ATANL) && ! defined (_GLIBCPP_HAVE_ATANL) -# define _GLIBCPP_HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (_GLIBCPP_HAVE__CEILF) && ! defined (_GLIBCPP_HAVE_CEILF) -# define _GLIBCPP_HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (_GLIBCPP_HAVE__CEILL) && ! defined (_GLIBCPP_HAVE_CEILL) -# define _GLIBCPP_HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (_GLIBCPP_HAVE__COSHF) && ! defined (_GLIBCPP_HAVE_COSHF) -# define _GLIBCPP_HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (_GLIBCPP_HAVE__COSL) && ! defined (_GLIBCPP_HAVE_COSL) -# define _GLIBCPP_HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (_GLIBCPP_HAVE__LOGF) && ! defined (_GLIBCPP_HAVE_LOGF) -# define _GLIBCPP_HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (_GLIBCPP_HAVE__COSHL) && ! defined (_GLIBCPP_HAVE_COSHL) -# define _GLIBCPP_HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (_GLIBCPP_HAVE__EXPF) && ! defined (_GLIBCPP_HAVE_EXPF) -# define _GLIBCPP_HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (_GLIBCPP_HAVE__EXPL) && ! defined (_GLIBCPP_HAVE_EXPL) -# define _GLIBCPP_HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (_GLIBCPP_HAVE__FABSF) && ! defined (_GLIBCPP_HAVE_FABSF) -# define _GLIBCPP_HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (_GLIBCPP_HAVE__FABSL) && ! defined (_GLIBCPP_HAVE_FABSL) -# define _GLIBCPP_HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (_GLIBCPP_HAVE__FLOORF) && ! defined (_GLIBCPP_HAVE_FLOORF) -# define _GLIBCPP_HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (_GLIBCPP_HAVE__FLOORL) && ! defined (_GLIBCPP_HAVE_FLOORL) -# define _GLIBCPP_HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (_GLIBCPP_HAVE__FMODF) && ! defined (_GLIBCPP_HAVE_FMODF) -# define _GLIBCPP_HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (_GLIBCPP_HAVE__FMODL) && ! defined (_GLIBCPP_HAVE_FMODL) -# define _GLIBCPP_HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (_GLIBCPP_HAVE__FREXPF) && ! defined (_GLIBCPP_HAVE_FREXPF) -# define _GLIBCPP_HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (_GLIBCPP_HAVE__FREXPL) && ! defined (_GLIBCPP_HAVE_FREXPL) -# define _GLIBCPP_HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPF) && ! defined (_GLIBCPP_HAVE_LDEXPF) -# define _GLIBCPP_HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPL) && ! defined (_GLIBCPP_HAVE_LDEXPL) -# define _GLIBCPP_HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (_GLIBCPP_HAVE__LOG10F) && ! defined (_GLIBCPP_HAVE_LOG10F) -# define _GLIBCPP_HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (_GLIBCPP_HAVE__LOGL) && ! defined (_GLIBCPP_HAVE_LOGL) -# define _GLIBCPP_HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (_GLIBCPP_HAVE__POWF) && ! defined (_GLIBCPP_HAVE_POWF) -# define _GLIBCPP_HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (_GLIBCPP_HAVE__LOG10L) && ! defined (_GLIBCPP_HAVE_LOG10L) -# define _GLIBCPP_HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (_GLIBCPP_HAVE__MODF) && ! defined (_GLIBCPP_HAVE_MODF) -# define _GLIBCPP_HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (_GLIBCPP_HAVE__MODL) && ! defined (_GLIBCPP_HAVE_MODL) -# define _GLIBCPP_HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (_GLIBCPP_HAVE__SINF) && ! defined (_GLIBCPP_HAVE_SINF) -# define _GLIBCPP_HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (_GLIBCPP_HAVE__POWL) && ! defined (_GLIBCPP_HAVE_POWL) -# define _GLIBCPP_HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (_GLIBCPP_HAVE__SINHF) && ! defined (_GLIBCPP_HAVE_SINHF) -# define _GLIBCPP_HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (_GLIBCPP_HAVE__SINL) && ! defined (_GLIBCPP_HAVE_SINL) -# define _GLIBCPP_HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (_GLIBCPP_HAVE__SQRTF) && ! defined (_GLIBCPP_HAVE_SQRTF) -# define _GLIBCPP_HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (_GLIBCPP_HAVE__SINHL) && ! defined (_GLIBCPP_HAVE_SINHL) -# define _GLIBCPP_HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (_GLIBCPP_HAVE__TANF) && ! defined (_GLIBCPP_HAVE_TANF) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__SQRTL) && ! defined (_GLIBCPP_HAVE_SQRTL) -# define _GLIBCPP_HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (_GLIBCPP_HAVE__TANHF) && ! defined (_GLIBCPP_HAVE_TANHF) -# define _GLIBCPP_HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (_GLIBCPP_HAVE__TANL) && ! defined (_GLIBCPP_HAVE_TANL) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__STRTOF) && ! defined (_GLIBCPP_HAVE_STRTOF) -# define _GLIBCPP_HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (_GLIBCPP_HAVE__TANHL) && ! defined (_GLIBCPP_HAVE_TANHL) -# define _GLIBCPP_HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (_GLIBCPP_HAVE__STRTOLD) && ! defined (_GLIBCPP_HAVE_STRTOLD) -# define _GLIBCPP_HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (_GLIBCPP_HAVE__SINCOS) && ! defined (_GLIBCPP_HAVE_SINCOS) -# define _GLIBCPP_HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSF) && ! defined (_GLIBCPP_HAVE_SINCOSF) -# define _GLIBCPP_HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSL) && ! defined (_GLIBCPP_HAVE_SINCOSL) -# define _GLIBCPP_HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (_GLIBCPP_HAVE__FINITE) && ! defined (_GLIBCPP_HAVE_FINITE) -# define _GLIBCPP_HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (_GLIBCPP_HAVE__FINITEF) && ! defined (_GLIBCPP_HAVE_FINITEF) -# define _GLIBCPP_HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (_GLIBCPP_HAVE__FINITEL) && ! defined (_GLIBCPP_HAVE_FINITEL) -# define _GLIBCPP_HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (_GLIBCPP_HAVE__QFINITE) && ! defined (_GLIBCPP_HAVE_QFINITE) -# define _GLIBCPP_HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (_GLIBCPP_HAVE__FPCLASS) && ! defined (_GLIBCPP_HAVE_FPCLASS) -# define _GLIBCPP_HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (_GLIBCPP_HAVE__QFPCLASS) && ! defined (_GLIBCPP_HAVE_QFPCLASS) -# define _GLIBCPP_HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - -#endif // _CPP_CPPCONFIG_ diff --git a/gnu/lib/libstdc++-v3/arch/sparc64/config.h b/gnu/lib/libstdc++-v3/arch/sparc64/config.h deleted file mode 100644 index 02ea4f7a34a..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sparc64/config.h +++ /dev/null @@ -1,1127 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef HAVE_MODFL */ - -// Define if you have the expf function. -#define HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef HAVE_EXPL */ - -// Define if you have the hypotf function. -#define HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define HAVE_LIBM 1 - -/* Name of package */ -#define PACKAGE "libstdc++" - -/* Version number of package */ -#define VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) -# define HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) -# define HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) -# define HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) -# define HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) -# define HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) -# define HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN) -# define HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL) -# define HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (HAVE__COSF) && ! defined (HAVE_COSF) -# define HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) -# define HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) -# define HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) -# define HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) -# define HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) -# define HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) -# define HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) -# define HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) -# define HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) -# define HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (HAVE__COSL) && ! defined (HAVE_COSL) -# define HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) -# define HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) -# define HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) -# define HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) -# define HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) -# define HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) -# define HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) -# define HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) -# define HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) -# define HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) -# define HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) -# define HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) -# define HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) -# define HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) -# define HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) -# define HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (HAVE__POWF) && ! defined (HAVE_POWF) -# define HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) -# define HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (HAVE__MODF) && ! defined (HAVE_MODF) -# define HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (HAVE__MODL) && ! defined (HAVE_MODL) -# define HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (HAVE__SINF) && ! defined (HAVE_SINF) -# define HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (HAVE__POWL) && ! defined (HAVE_POWL) -# define HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) -# define HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (HAVE__SINL) && ! defined (HAVE_SINL) -# define HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) -# define HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) -# define HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (HAVE__TANF) && ! defined (HAVE_TANF) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) -# define HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) -# define HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (HAVE__TANL) && ! defined (HAVE_TANL) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) -# define HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) -# define HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) -# define HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) -# define HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) -# define HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) -# define HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) -# define HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) -# define HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) -# define HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE) -# define HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) -# define HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) -# define HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - diff --git a/gnu/lib/libstdc++-v3/arch/sparc64/defs.mk b/gnu/lib/libstdc++-v3/arch/sparc64/defs.mk deleted file mode 100644 index 1f059ade998..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sparc64/defs.mk +++ /dev/null @@ -1,19 +0,0 @@ -# This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gcc,v 1.19 2006/06/02 19:44:20 mrg Exp -# Generated from: NetBSD: mknative.common,v 1.8 2006/05/26 19:17:21 mrg Exp -# -G_libmath_la_SOURCES=stubs.c -G_libmath_la_LIBADD=signbit.lo -G_LIBSUPCXX_SOURCES=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc -G_LIBSUPCXX_C_SOURCES=cxa_demangle.c dyn-string.c -G_SRC_SOURCES=bitset.cc codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc vterminate.cc wstring-inst.cc codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc basic_file.cc c++locale.cc -G_SECTION_FLAGS=-ffunction-sections -fdata-sections -G_c_base_headers_rename=cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype -G_std_headers_rename=algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector -G_bits_headers=basic_ios.h basic_ios.tcc basic_string.h basic_string.tcc boost_concept_check.h char_traits.h codecvt.h concept_check.h cpp_type_traits.h deque.tcc fpos.h fstream.tcc functexcept.h gslice.h gslice_array.h indirect_array.h ios_base.h istream.tcc list.tcc locale_classes.h locale_facets.h locale_facets.tcc localefwd.h mask_array.h ostream.tcc pthread_allocimpl.h stream_iterator.h streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h stl_algobase.h stl_alloc.h stl_bvector.h stl_construct.h stl_deque.h stl_function.h stl_heap.h stl_iterator.h stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h stl_queue.h stl_raw_storage_iter.h stl_relops.h stl_set.h stl_stack.h stl_tempbuf.h stl_threads.h stl_tree.h stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h type_traits.h valarray_array.h valarray_array.tcc valarray_meta.h vector.tcc -G_backward_headers=complex.h iomanip.h istream.h ostream.h stream.h streambuf.h algo.h algobase.h alloc.h bvector.h defalloc.h deque.h function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h iterator.h list.h map.h multimap.h new.h multiset.h pair.h queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h vector.h fstream.h strstream backward_warning.h -G_ext_headers=algorithm enc_filebuf.h stdio_filebuf.h functional hash_map hash_set iterator memory numeric rb_tree rope ropeimpl.h slist stl_hash_fun.h stl_hashtable.h stl_rope.h -G_c_base_headers_extra=cmath.tcc -G_target_headers=ctype_base.h ctype_inline.h ctype_noninline.h os_defines.h atomicity.h -G_thread_target_headers=gthr.h gthr-single.h gthr-posix.h gthr-default.h -G_target_headers_extra=basic_file.h c++config.h c++io.h c++locale.h messages_members.h time_members.h codecvt_specializations.h diff --git a/gnu/lib/libstdc++-v3/arch/sparc64/gthr-default.h b/gnu/lib/libstdc++-v3/arch/sparc64/gthr-default.h deleted file mode 100644 index 4e720ae28e4..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sparc64/gthr-default.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.6 2003/08/01 02:44:56 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/sparc64/gthr-posix.h b/gnu/lib/libstdc++-v3/arch/sparc64/gthr-posix.h deleted file mode 100644 index 205fa9e2190..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sparc64/gthr-posix.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/sparc64/gthr-single.h b/gnu/lib/libstdc++-v3/arch/sparc64/gthr-single.h deleted file mode 100644 index 6fa2b1ed699..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sparc64/gthr-single.h +++ /dev/null @@ -1,242 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H -#define _GLIBCPP_GCC_GTHR_SINGLE_H - -/* Just provide compatibility for mutex handling. */ - -typedef int __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT 0 - -#ifdef __cplusplus -#define _GLIBCPP_UNUSED(x) -#else -#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) -#endif - -#ifdef _LIBOBJC - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) -{ - /* No thread support available */ - return NULL; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) -{ - /* No thread support available */ - return -1; -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - return; -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - /* No thread support available */ - /* Should we really exit the program */ - /* exit (&__objc_thread_exit_status); */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - /* No thread support, use 1. */ - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - thread_local_storage = value; - return 0; -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), - objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - return 0; -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -#endif /* _LIBOBJC */ - -#undef _GLIBCPP_UNUSED - -#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/sparc64/gthr.h b/gnu/lib/libstdc++-v3/arch/sparc64/gthr.h deleted file mode 100644 index d463cf98ec6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/sparc64/gthr.h +++ /dev/null @@ -1,108 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1998 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_H -#define _GLIBCPP_GCC_GTHR_H - -/* If this file is compiled with threads support, it must - #define __GTHREADS 1 - to indicate that threads support is present. Also it has define - function - int __gthread_active_p () - that returns 1 if thread system is active, 0 if not. - - The threads interface must define the following types: - __gthread_key_t - __gthread_once_t - __gthread_mutex_t - - The threads interface must define the following macros: - - __GTHREAD_ONCE_INIT - to initialize __gthread_once_t - __GTHREAD_MUTEX_INIT - to initialize __gthread_mutex_t to get a fast - non-recursive mutex. - __GTHREAD_MUTEX_INIT_FUNCTION - some systems can't initialize a mutex without a - function call. On such systems, define this to a - function which looks like this: - void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *) - Don't define __GTHREAD_MUTEX_INIT in this case - - The threads interface must define the following static functions: - - int __gthread_once (__gthread_once_t *once, void (*func) ()) - - int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *)) - int __gthread_key_delete (__gthread_key_t key) - - int __gthread_key_dtor (__gthread_key_t key, void *ptr) - - void *__gthread_getspecific (__gthread_key_t key) - int __gthread_setspecific (__gthread_key_t key, const void *ptr) - - int __gthread_mutex_lock (__gthread_mutex_t *mutex); - int __gthread_mutex_trylock (__gthread_mutex_t *mutex); - int __gthread_mutex_unlock (__gthread_mutex_t *mutex); - - All functions returning int should return zero on success or the error - number. If the operation is not supported, -1 is returned. - - Currently supported threads packages are - POSIX threads with -D_PTHREADS - DCE threads with -D_DCE_THREADS - Solaris/UI threads with -D_SOLARIS_THREADS -*/ - -/* Check first for thread specific defines. */ -#if _GLIBCPP__PTHREADS -#include <bits/gthr-posix.h> -#elif _GLIBCPP__DCE_THREADS -#include <bits/gthr-dce.h> -#elif _GLIBCPP__SOLARIS_THREADS -#include <bits/gthr-solaris.h> - -/* Include GTHREAD_FILE if one is defined. */ -#elif defined(_GLIBCPP_HAVE_GTHR_DEFAULT) -#if _GLIBCPP_SUPPORTS_WEAK -#ifndef _GLIBCPP_GTHREAD_USE_WEAK -#define _GLIBCPP_GTHREAD_USE_WEAK 1 -#endif -#endif -#include <bits/gthr-default.h> - -/* Fallback to single thread definitions. */ -#else -#include <bits/gthr-single.h> -#endif - -#endif /* ! _GLIBCPP_GCC_GTHR_H */ diff --git a/gnu/lib/libstdc++-v3/arch/vax/c++config.h b/gnu/lib/libstdc++-v3/arch/vax/c++config.h deleted file mode 100644 index 215f14da377..00000000000 --- a/gnu/lib/libstdc++-v3/arch/vax/c++config.h +++ /dev/null @@ -1,1229 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.19 2006/06/02 19:44:20 mrg Exp */ -/* Generated from: NetBSD: mknative.common,v 1.8 2006/05/26 19:17:21 mrg Exp */ - -// Predefined symbols and macros -*- C++ -*- - -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -// Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) -// any later version. - -// This library 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 this library; see the file COPYING. If not, write to the Free -// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _CPP_CPPCONFIG -#define _CPP_CPPCONFIG 1 - -// Pick up any OS-specific definitions. -#include <bits/os_defines.h> - -// The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20050503 - -// This is necessary until GCC supports separate template compilation. -#define _GLIBCPP_NO_TEMPLATE_EXPORT 1 - -// This is a hack around not having either pre-compiled headers or -// export compilation. If defined, the io, string, and valarray -// headers will include all the necessary bits. If not defined, the -// implementation optimizes the headers for the most commonly-used -// types. For the io library, this means that larger, out-of-line -// member functions are only declared, and definitions are not parsed -// by the compiler, but instead instantiated into the library binary. -#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1 - -// Allow use of the GNU syntax extension, "extern template." This -// extension is fully documented in the g++ manual, but in a nutshell, -// it inhibits all implicit instantiations and is used throughout the -// library to avoid multiple weak definitions for required types that -// are already explicitly instantiated in the library binary. This -// substantially reduces the binary size of resulting executables. -#ifndef _GLIBCPP_EXTERN_TEMPLATE -#define _GLIBCPP_EXTERN_TEMPLATE 1 -#endif - -// To enable older, ARM-style iostreams and other anachronisms use this. -//#define _GLIBCPP_DEPRECATED 1 - -// Use corrected code from the committee library group's issues list. -#define _GLIBCPP_RESOLVE_LIB_DEFECTS 1 - -// Hopefully temporary workaround to autoconf/m4 issue with quoting '@'. -#define _GLIBCPP_AT_AT "@@" - -// In those parts of the standard C++ library that use a mutex instead -// of a spin-lock, we now unconditionally use GCC's gthr.h mutex -// abstraction layer. All support to directly map to various -// threading models has been removed. Note: gthr.h may well map to -// gthr-single.h which is a correct way to express no threads support -// in gcc. Support for the undocumented _NOTHREADS has been removed. - -// Default to the typically high-speed, pool-based allocator (as -// libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3 -// snapshots). See libstdc++-v3/docs/html/17_intro/howto.html for -// details on why you don't want to override this setting. Ensure -// that threads are properly configured on your platform before -// assigning blame to the STL container-memory allocator. After doing -// so, please report any possible issues to libstdc++@gcc.gnu.org . -// Do not define __USE_MALLOC on the command line. Enforce it here: -#ifdef __USE_MALLOC -#error __USE_MALLOC should never be defined. Read the release notes. -#endif - -// Create a boolean flag to be used to determine if --fast-math is set. -#ifdef __FAST_MATH__ -#define _GLIBCPP_FAST_MATH 1 -#else -#define _GLIBCPP_FAST_MATH 0 -#endif - -// The remainder of the prewritten config is mostly automatic; all the -// user hooks are listed above. - -// End of prewritten config; the discovered settings follow. -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define _GLIBCPP_HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define _GLIBCPP_HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef _GLIBCPP_HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define _GLIBCPP_HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define _GLIBCPP_HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef _GLIBCPP_HAVE_MODFL */ - -// Define if you have the expf function. -#define _GLIBCPP_HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef _GLIBCPP_HAVE_EXPL */ - -// Define if you have the hypotf function. -#define _GLIBCPP_HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef _GLIBCPP_HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef _GLIBCPP_HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef _GLIBCPP_HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef _GLIBCPP_HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef _GLIBCPP_HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef _GLIBCPP_HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define _GLIBCPP_HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef _GLIBCPP_HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef _GLIBCPP_HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef _GLIBCPP_HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef _GLIBCPP_HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef _GLIBCPP_HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef _GLIBCPP_HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef _GLIBCPP_HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef _GLIBCPP_HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef _GLIBCPP_HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef _GLIBCPP_HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef _GLIBCPP_HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef _GLIBCPP_HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef _GLIBCPP_HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef _GLIBCPP_HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef _GLIBCPP_HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef _GLIBCPP_HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef _GLIBCPP_HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef _GLIBCPP_HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef _GLIBCPP_HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef _GLIBCPP_HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef _GLIBCPP_HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef _GLIBCPP_HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef _GLIBCPP_HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef _GLIBCPP_HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef _GLIBCPP_HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef _GLIBCPP_HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef _GLIBCPP_HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef _GLIBCPP_HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef _GLIBCPP_HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef _GLIBCPP_HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef _GLIBCPP_HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef _GLIBCPP_HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef _GLIBCPP_HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef _GLIBCPP_HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef _GLIBCPP_HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef _GLIBCPP_HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef _GLIBCPP_HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef _GLIBCPP_HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef _GLIBCPP_HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef _GLIBCPP_HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef _GLIBCPP_HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef _GLIBCPP_HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef _GLIBCPP_HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef _GLIBCPP_HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef _GLIBCPP_HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef _GLIBCPP_HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef _GLIBCPP_HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef _GLIBCPP_HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef _GLIBCPP_HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef _GLIBCPP_HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef _GLIBCPP_HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef _GLIBCPP_HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef _GLIBCPP_HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef _GLIBCPP_HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef _GLIBCPP_HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef _GLIBCPP_HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef _GLIBCPP_HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef _GLIBCPP_HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef _GLIBCPP_HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef _GLIBCPP_HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef _GLIBCPP_HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef _GLIBCPP_HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define _GLIBCPP_HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef _GLIBCPP_HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define _GLIBCPP_HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef _GLIBCPP_HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define _GLIBCPP_HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef _GLIBCPP_HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define _GLIBCPP_HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef _GLIBCPP_HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define _GLIBCPP_HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define _GLIBCPP_HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef _GLIBCPP_HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define _GLIBCPP_HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define _GLIBCPP_HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef _GLIBCPP_HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define _GLIBCPP_HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define _GLIBCPP_HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef _GLIBCPP_HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef _GLIBCPP_HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define _GLIBCPP_HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef _GLIBCPP_HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define _GLIBCPP_HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef _GLIBCPP_HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define _GLIBCPP_HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define _GLIBCPP_HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define _GLIBCPP_HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define _GLIBCPP_HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef _GLIBCPP_HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define _GLIBCPP_HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef _GLIBCPP_HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define _GLIBCPP_HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef _GLIBCPP_HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef _GLIBCPP_HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define _GLIBCPP_HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define _GLIBCPP_HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define _GLIBCPP_HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef _GLIBCPP_HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define _GLIBCPP_HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define _GLIBCPP_HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define _GLIBCPP_HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define _GLIBCPP_HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define _GLIBCPP_HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef _GLIBCPP_HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define _GLIBCPP_HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define _GLIBCPP_HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define _GLIBCPP_HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define _GLIBCPP_HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef _GLIBCPP_HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define _GLIBCPP_HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define _GLIBCPP_HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef _GLIBCPP_HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define _GLIBCPP_HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define _GLIBCPP_HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef _GLIBCPP_HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define _GLIBCPP_HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef _GLIBCPP_HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define _GLIBCPP_HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef _GLIBCPP_HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define _GLIBCPP_HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef _GLIBCPP_HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define _GLIBCPP_HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define _GLIBCPP_HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define _GLIBCPP_HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define _GLIBCPP_HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define _GLIBCPP_HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef _GLIBCPP_HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define _GLIBCPP_HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define _GLIBCPP_HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define _GLIBCPP_HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef _GLIBCPP_HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define _GLIBCPP_HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define _GLIBCPP_HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef _GLIBCPP_HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef _GLIBCPP_HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef _GLIBCPP_HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef _GLIBCPP_HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef _GLIBCPP_HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define _GLIBCPP_HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define _GLIBCPP_HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef _GLIBCPP_HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef _GLIBCPP_HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define _GLIBCPP_HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef _GLIBCPP_HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define _GLIBCPP_HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define _GLIBCPP_HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define _GLIBCPP_HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define _GLIBCPP_HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define _GLIBCPP_HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define _GLIBCPP_HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef _GLIBCPP_HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef _GLIBCPP_HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define _GLIBCPP_HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define _GLIBCPP_HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define _GLIBCPP_HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define _GLIBCPP_HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define _GLIBCPP_HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define _GLIBCPP_HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define _GLIBCPP_HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define _GLIBCPP_HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define _GLIBCPP_HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define _GLIBCPP_HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define _GLIBCPP_HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define _GLIBCPP_HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define _GLIBCPP_HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define _GLIBCPP_HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define _GLIBCPP_HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define _GLIBCPP_HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define _GLIBCPP_HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define _GLIBCPP_HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define _GLIBCPP_HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define _GLIBCPP_HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define _GLIBCPP_HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define _GLIBCPP_HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define _GLIBCPP_HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define _GLIBCPP_HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define _GLIBCPP_HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define _GLIBCPP_HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define _GLIBCPP_HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define _GLIBCPP_HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define _GLIBCPP_HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define _GLIBCPP_HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define _GLIBCPP_HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define _GLIBCPP_HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define _GLIBCPP_HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define _GLIBCPP_HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define _GLIBCPP_HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define _GLIBCPP_HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define _GLIBCPP_HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define _GLIBCPP_HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef _GLIBCPP_HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define _GLIBCPP_HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef _GLIBCPP_HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef _GLIBCPP_HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -/* #undef _GLIBCPP_HAVE_IEEEFP_H */ - -/* Define if you have the <inttypes.h> header file. */ -#define _GLIBCPP_HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define _GLIBCPP_HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef _GLIBCPP_HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define _GLIBCPP_HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define _GLIBCPP_HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define _GLIBCPP_HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef _GLIBCPP_HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define _GLIBCPP_HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define _GLIBCPP_HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define _GLIBCPP_HAVE_LIBM 1 - -/* Name of package */ -#define _GLIBCPP_PACKAGE "libstdc++" - -/* Version number of package */ -#define _GLIBCPP_VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (_GLIBCPP_HAVE__ISNAN) && ! defined (_GLIBCPP_HAVE_ISNAN) -# define _GLIBCPP_HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (_GLIBCPP_HAVE__ISNANF) && ! defined (_GLIBCPP_HAVE_ISNANF) -# define _GLIBCPP_HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (_GLIBCPP_HAVE__ISNANL) && ! defined (_GLIBCPP_HAVE_ISNANL) -# define _GLIBCPP_HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (_GLIBCPP_HAVE__ISINF) && ! defined (_GLIBCPP_HAVE_ISINF) -# define _GLIBCPP_HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (_GLIBCPP_HAVE__ISINFF) && ! defined (_GLIBCPP_HAVE_ISINFF) -# define _GLIBCPP_HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (_GLIBCPP_HAVE__ISINFL) && ! defined (_GLIBCPP_HAVE_ISINFL) -# define _GLIBCPP_HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGN) && ! defined (_GLIBCPP_HAVE_COPYSIGN) -# define _GLIBCPP_HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGNL) && ! defined (_GLIBCPP_HAVE_COPYSIGNL) -# define _GLIBCPP_HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (_GLIBCPP_HAVE__COSF) && ! defined (_GLIBCPP_HAVE_COSF) -# define _GLIBCPP_HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSF) && ! defined (_GLIBCPP_HAVE_ACOSF) -# define _GLIBCPP_HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSL) && ! defined (_GLIBCPP_HAVE_ACOSL) -# define _GLIBCPP_HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (_GLIBCPP_HAVE__ASINF) && ! defined (_GLIBCPP_HAVE_ASINF) -# define _GLIBCPP_HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (_GLIBCPP_HAVE__ASINL) && ! defined (_GLIBCPP_HAVE_ASINL) -# define _GLIBCPP_HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (_GLIBCPP_HAVE__ATANF) && ! defined (_GLIBCPP_HAVE_ATANF) -# define _GLIBCPP_HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (_GLIBCPP_HAVE__ATANL) && ! defined (_GLIBCPP_HAVE_ATANL) -# define _GLIBCPP_HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (_GLIBCPP_HAVE__CEILF) && ! defined (_GLIBCPP_HAVE_CEILF) -# define _GLIBCPP_HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (_GLIBCPP_HAVE__CEILL) && ! defined (_GLIBCPP_HAVE_CEILL) -# define _GLIBCPP_HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (_GLIBCPP_HAVE__COSHF) && ! defined (_GLIBCPP_HAVE_COSHF) -# define _GLIBCPP_HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (_GLIBCPP_HAVE__COSL) && ! defined (_GLIBCPP_HAVE_COSL) -# define _GLIBCPP_HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (_GLIBCPP_HAVE__LOGF) && ! defined (_GLIBCPP_HAVE_LOGF) -# define _GLIBCPP_HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (_GLIBCPP_HAVE__COSHL) && ! defined (_GLIBCPP_HAVE_COSHL) -# define _GLIBCPP_HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (_GLIBCPP_HAVE__EXPF) && ! defined (_GLIBCPP_HAVE_EXPF) -# define _GLIBCPP_HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (_GLIBCPP_HAVE__EXPL) && ! defined (_GLIBCPP_HAVE_EXPL) -# define _GLIBCPP_HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (_GLIBCPP_HAVE__FABSF) && ! defined (_GLIBCPP_HAVE_FABSF) -# define _GLIBCPP_HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (_GLIBCPP_HAVE__FABSL) && ! defined (_GLIBCPP_HAVE_FABSL) -# define _GLIBCPP_HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (_GLIBCPP_HAVE__FLOORF) && ! defined (_GLIBCPP_HAVE_FLOORF) -# define _GLIBCPP_HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (_GLIBCPP_HAVE__FLOORL) && ! defined (_GLIBCPP_HAVE_FLOORL) -# define _GLIBCPP_HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (_GLIBCPP_HAVE__FMODF) && ! defined (_GLIBCPP_HAVE_FMODF) -# define _GLIBCPP_HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (_GLIBCPP_HAVE__FMODL) && ! defined (_GLIBCPP_HAVE_FMODL) -# define _GLIBCPP_HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (_GLIBCPP_HAVE__FREXPF) && ! defined (_GLIBCPP_HAVE_FREXPF) -# define _GLIBCPP_HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (_GLIBCPP_HAVE__FREXPL) && ! defined (_GLIBCPP_HAVE_FREXPL) -# define _GLIBCPP_HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPF) && ! defined (_GLIBCPP_HAVE_LDEXPF) -# define _GLIBCPP_HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPL) && ! defined (_GLIBCPP_HAVE_LDEXPL) -# define _GLIBCPP_HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (_GLIBCPP_HAVE__LOG10F) && ! defined (_GLIBCPP_HAVE_LOG10F) -# define _GLIBCPP_HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (_GLIBCPP_HAVE__LOGL) && ! defined (_GLIBCPP_HAVE_LOGL) -# define _GLIBCPP_HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (_GLIBCPP_HAVE__POWF) && ! defined (_GLIBCPP_HAVE_POWF) -# define _GLIBCPP_HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (_GLIBCPP_HAVE__LOG10L) && ! defined (_GLIBCPP_HAVE_LOG10L) -# define _GLIBCPP_HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (_GLIBCPP_HAVE__MODF) && ! defined (_GLIBCPP_HAVE_MODF) -# define _GLIBCPP_HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (_GLIBCPP_HAVE__MODL) && ! defined (_GLIBCPP_HAVE_MODL) -# define _GLIBCPP_HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (_GLIBCPP_HAVE__SINF) && ! defined (_GLIBCPP_HAVE_SINF) -# define _GLIBCPP_HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (_GLIBCPP_HAVE__POWL) && ! defined (_GLIBCPP_HAVE_POWL) -# define _GLIBCPP_HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (_GLIBCPP_HAVE__SINHF) && ! defined (_GLIBCPP_HAVE_SINHF) -# define _GLIBCPP_HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (_GLIBCPP_HAVE__SINL) && ! defined (_GLIBCPP_HAVE_SINL) -# define _GLIBCPP_HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (_GLIBCPP_HAVE__SQRTF) && ! defined (_GLIBCPP_HAVE_SQRTF) -# define _GLIBCPP_HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (_GLIBCPP_HAVE__SINHL) && ! defined (_GLIBCPP_HAVE_SINHL) -# define _GLIBCPP_HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (_GLIBCPP_HAVE__TANF) && ! defined (_GLIBCPP_HAVE_TANF) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__SQRTL) && ! defined (_GLIBCPP_HAVE_SQRTL) -# define _GLIBCPP_HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (_GLIBCPP_HAVE__TANHF) && ! defined (_GLIBCPP_HAVE_TANHF) -# define _GLIBCPP_HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (_GLIBCPP_HAVE__TANL) && ! defined (_GLIBCPP_HAVE_TANL) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__STRTOF) && ! defined (_GLIBCPP_HAVE_STRTOF) -# define _GLIBCPP_HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (_GLIBCPP_HAVE__TANHL) && ! defined (_GLIBCPP_HAVE_TANHL) -# define _GLIBCPP_HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (_GLIBCPP_HAVE__STRTOLD) && ! defined (_GLIBCPP_HAVE_STRTOLD) -# define _GLIBCPP_HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (_GLIBCPP_HAVE__SINCOS) && ! defined (_GLIBCPP_HAVE_SINCOS) -# define _GLIBCPP_HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSF) && ! defined (_GLIBCPP_HAVE_SINCOSF) -# define _GLIBCPP_HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSL) && ! defined (_GLIBCPP_HAVE_SINCOSL) -# define _GLIBCPP_HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (_GLIBCPP_HAVE__FINITE) && ! defined (_GLIBCPP_HAVE_FINITE) -# define _GLIBCPP_HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (_GLIBCPP_HAVE__FINITEF) && ! defined (_GLIBCPP_HAVE_FINITEF) -# define _GLIBCPP_HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (_GLIBCPP_HAVE__FINITEL) && ! defined (_GLIBCPP_HAVE_FINITEL) -# define _GLIBCPP_HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (_GLIBCPP_HAVE__QFINITE) && ! defined (_GLIBCPP_HAVE_QFINITE) -# define _GLIBCPP_HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (_GLIBCPP_HAVE__FPCLASS) && ! defined (_GLIBCPP_HAVE_FPCLASS) -# define _GLIBCPP_HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (_GLIBCPP_HAVE__QFPCLASS) && ! defined (_GLIBCPP_HAVE_QFPCLASS) -# define _GLIBCPP_HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - -#endif // _CPP_CPPCONFIG_ diff --git a/gnu/lib/libstdc++-v3/arch/vax/config.h b/gnu/lib/libstdc++-v3/arch/vax/config.h deleted file mode 100644 index 26a23d9c8f7..00000000000 --- a/gnu/lib/libstdc++-v3/arch/vax/config.h +++ /dev/null @@ -1,1128 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.19 2006/06/02 19:44:20 mrg Exp */ -/* Generated from: NetBSD: mknative.common,v 1.8 2006/05/26 19:17:21 mrg Exp */ - -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef HAVE_MODFL */ - -// Define if you have the expf function. -#define HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef HAVE_EXPL */ - -// Define if you have the hypotf function. -#define HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -/* #undef HAVE_IEEEFP_H */ - -/* Define if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define HAVE_LIBM 1 - -/* Name of package */ -#define PACKAGE "libstdc++" - -/* Version number of package */ -#define VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) -# define HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) -# define HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) -# define HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) -# define HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) -# define HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) -# define HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN) -# define HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL) -# define HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (HAVE__COSF) && ! defined (HAVE_COSF) -# define HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) -# define HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) -# define HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) -# define HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) -# define HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) -# define HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) -# define HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) -# define HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) -# define HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) -# define HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (HAVE__COSL) && ! defined (HAVE_COSL) -# define HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) -# define HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) -# define HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) -# define HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) -# define HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) -# define HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) -# define HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) -# define HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) -# define HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) -# define HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) -# define HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) -# define HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) -# define HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) -# define HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) -# define HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) -# define HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (HAVE__POWF) && ! defined (HAVE_POWF) -# define HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) -# define HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (HAVE__MODF) && ! defined (HAVE_MODF) -# define HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (HAVE__MODL) && ! defined (HAVE_MODL) -# define HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (HAVE__SINF) && ! defined (HAVE_SINF) -# define HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (HAVE__POWL) && ! defined (HAVE_POWL) -# define HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) -# define HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (HAVE__SINL) && ! defined (HAVE_SINL) -# define HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) -# define HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) -# define HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (HAVE__TANF) && ! defined (HAVE_TANF) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) -# define HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) -# define HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (HAVE__TANL) && ! defined (HAVE_TANL) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) -# define HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) -# define HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) -# define HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) -# define HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) -# define HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) -# define HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) -# define HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) -# define HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) -# define HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE) -# define HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) -# define HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) -# define HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - diff --git a/gnu/lib/libstdc++-v3/arch/vax/defs.mk b/gnu/lib/libstdc++-v3/arch/vax/defs.mk deleted file mode 100644 index c237b03be7f..00000000000 --- a/gnu/lib/libstdc++-v3/arch/vax/defs.mk +++ /dev/null @@ -1,18 +0,0 @@ -# This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp -# -G_libmath_la_SOURCES=stubs.c -G_libmath_la_LIBADD=copysignf.lo signbit.lo -G_LIBSUPCXX_SOURCES=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc -G_LIBSUPCXX_C_SOURCES=cxa_demangle.c dyn-string.c -G_SRC_SOURCES=bitset.cc codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc vterminate.cc wstring-inst.cc codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc basic_file.cc c++locale.cc -G_SECTION_FLAGS=-ffunction-sections -fdata-sections -G_c_base_headers_rename=cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype -G_std_headers_rename=algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector -G_bits_headers=basic_ios.h basic_ios.tcc basic_string.h basic_string.tcc boost_concept_check.h char_traits.h codecvt.h concept_check.h cpp_type_traits.h deque.tcc fpos.h fstream.tcc functexcept.h gslice.h gslice_array.h indirect_array.h ios_base.h istream.tcc list.tcc locale_classes.h locale_facets.h locale_facets.tcc localefwd.h mask_array.h ostream.tcc pthread_allocimpl.h stream_iterator.h streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h stl_algobase.h stl_alloc.h stl_bvector.h stl_construct.h stl_deque.h stl_function.h stl_heap.h stl_iterator.h stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h stl_queue.h stl_raw_storage_iter.h stl_relops.h stl_set.h stl_stack.h stl_tempbuf.h stl_threads.h stl_tree.h stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h type_traits.h valarray_array.h valarray_array.tcc valarray_meta.h vector.tcc -G_backward_headers=complex.h iomanip.h istream.h ostream.h stream.h streambuf.h algo.h algobase.h alloc.h bvector.h defalloc.h deque.h function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h iterator.h list.h map.h multimap.h new.h multiset.h pair.h queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h vector.h fstream.h strstream backward_warning.h -G_ext_headers=algorithm enc_filebuf.h stdio_filebuf.h functional hash_map hash_set iterator memory numeric rb_tree rope ropeimpl.h slist stl_hash_fun.h stl_hashtable.h stl_rope.h -G_c_base_headers_extra=cmath.tcc -G_target_headers=ctype_base.h ctype_inline.h ctype_noninline.h os_defines.h atomicity.h -G_thread_target_headers=gthr.h gthr-single.h gthr-posix.h gthr-default.h -G_target_headers_extra=basic_file.h c++config.h c++io.h c++locale.h messages_members.h time_members.h codecvt_specializations.h diff --git a/gnu/lib/libstdc++-v3/arch/vax/gthr-default.h b/gnu/lib/libstdc++-v3/arch/vax/gthr-default.h deleted file mode 100644 index 75db744e592..00000000000 --- a/gnu/lib/libstdc++-v3/arch/vax/gthr-default.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.10 2003/11/27 10:21:24 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/vax/gthr-posix.h b/gnu/lib/libstdc++-v3/arch/vax/gthr-posix.h deleted file mode 100644 index 75db744e592..00000000000 --- a/gnu/lib/libstdc++-v3/arch/vax/gthr-posix.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.10 2003/11/27 10:21:24 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/vax/gthr-single.h b/gnu/lib/libstdc++-v3/arch/vax/gthr-single.h deleted file mode 100644 index c4ff068dd80..00000000000 --- a/gnu/lib/libstdc++-v3/arch/vax/gthr-single.h +++ /dev/null @@ -1,242 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.10 2003/11/27 10:21:24 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H -#define _GLIBCPP_GCC_GTHR_SINGLE_H - -/* Just provide compatibility for mutex handling. */ - -typedef int __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT 0 - -#ifdef __cplusplus -#define _GLIBCPP_UNUSED(x) -#else -#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) -#endif - -#ifdef _LIBOBJC - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) -{ - /* No thread support available */ - return NULL; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) -{ - /* No thread support available */ - return -1; -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - return; -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - /* No thread support available */ - /* Should we really exit the program */ - /* exit (&__objc_thread_exit_status); */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - /* No thread support, use 1. */ - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - thread_local_storage = value; - return 0; -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), - objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - return 0; -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -#endif /* _LIBOBJC */ - -#undef _GLIBCPP_UNUSED - -#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/vax/gthr.h b/gnu/lib/libstdc++-v3/arch/vax/gthr.h deleted file mode 100644 index d6503b273aa..00000000000 --- a/gnu/lib/libstdc++-v3/arch/vax/gthr.h +++ /dev/null @@ -1,108 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.10 2003/11/27 10:21:24 mrg Exp */ - -/* Threads compatibility routines for libgcc2. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1998 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_H -#define _GLIBCPP_GCC_GTHR_H - -/* If this file is compiled with threads support, it must - #define __GTHREADS 1 - to indicate that threads support is present. Also it has define - function - int __gthread_active_p () - that returns 1 if thread system is active, 0 if not. - - The threads interface must define the following types: - __gthread_key_t - __gthread_once_t - __gthread_mutex_t - - The threads interface must define the following macros: - - __GTHREAD_ONCE_INIT - to initialize __gthread_once_t - __GTHREAD_MUTEX_INIT - to initialize __gthread_mutex_t to get a fast - non-recursive mutex. - __GTHREAD_MUTEX_INIT_FUNCTION - some systems can't initialize a mutex without a - function call. On such systems, define this to a - function which looks like this: - void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *) - Don't define __GTHREAD_MUTEX_INIT in this case - - The threads interface must define the following static functions: - - int __gthread_once (__gthread_once_t *once, void (*func) ()) - - int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *)) - int __gthread_key_delete (__gthread_key_t key) - - int __gthread_key_dtor (__gthread_key_t key, void *ptr) - - void *__gthread_getspecific (__gthread_key_t key) - int __gthread_setspecific (__gthread_key_t key, const void *ptr) - - int __gthread_mutex_lock (__gthread_mutex_t *mutex); - int __gthread_mutex_trylock (__gthread_mutex_t *mutex); - int __gthread_mutex_unlock (__gthread_mutex_t *mutex); - - All functions returning int should return zero on success or the error - number. If the operation is not supported, -1 is returned. - - Currently supported threads packages are - POSIX threads with -D_PTHREADS - DCE threads with -D_DCE_THREADS - Solaris/UI threads with -D_SOLARIS_THREADS -*/ - -/* Check first for thread specific defines. */ -#if _GLIBCPP__PTHREADS -#include <bits/gthr-posix.h> -#elif _GLIBCPP__DCE_THREADS -#include <bits/gthr-dce.h> -#elif _GLIBCPP__SOLARIS_THREADS -#include <bits/gthr-solaris.h> - -/* Include GTHREAD_FILE if one is defined. */ -#elif defined(_GLIBCPP_HAVE_GTHR_DEFAULT) -#if _GLIBCPP_SUPPORTS_WEAK -#ifndef _GLIBCPP_GTHREAD_USE_WEAK -#define _GLIBCPP_GTHREAD_USE_WEAK 1 -#endif -#endif -#include <bits/gthr-default.h> - -/* Fallback to single thread definitions. */ -#else -#include <bits/gthr-single.h> -#endif - -#endif /* ! _GLIBCPP_GCC_GTHR_H */ diff --git a/gnu/lib/libstdc++-v3/arch/x86_64/c++config.h b/gnu/lib/libstdc++-v3/arch/x86_64/c++config.h deleted file mode 100644 index a73086022ad..00000000000 --- a/gnu/lib/libstdc++-v3/arch/x86_64/c++config.h +++ /dev/null @@ -1,1228 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -// Predefined symbols and macros -*- C++ -*- - -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -// Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library 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 2, or (at your option) -// any later version. - -// This library 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 this library; see the file COPYING. If not, write to the Free -// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, -// USA. - -// As a special exception, you may use this file as part of a free software -// library without restriction. Specifically, if other files instantiate -// templates or use macros or inline functions from this file, or you compile -// this file and link it with other files to produce an executable, this -// file does not by itself cause the resulting executable to be covered by -// the GNU General Public License. This exception does not however -// invalidate any other reasons why the executable file might be covered by -// the GNU General Public License. - -#ifndef _CPP_CPPCONFIG -#define _CPP_CPPCONFIG 1 - -// Pick up any OS-specific definitions. -#include <bits/os_defines.h> - -// The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20050503 - -// This is necessary until GCC supports separate template compilation. -#define _GLIBCPP_NO_TEMPLATE_EXPORT 1 - -// This is a hack around not having either pre-compiled headers or -// export compilation. If defined, the io, string, and valarray -// headers will include all the necessary bits. If not defined, the -// implementation optimizes the headers for the most commonly-used -// types. For the io library, this means that larger, out-of-line -// member functions are only declared, and definitions are not parsed -// by the compiler, but instead instantiated into the library binary. -#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1 - -// Allow use of the GNU syntax extension, "extern template." This -// extension is fully documented in the g++ manual, but in a nutshell, -// it inhibits all implicit instantiations and is used throughout the -// library to avoid multiple weak definitions for required types that -// are already explicitly instantiated in the library binary. This -// substantially reduces the binary size of resulting executables. -#ifndef _GLIBCPP_EXTERN_TEMPLATE -#define _GLIBCPP_EXTERN_TEMPLATE 1 -#endif - -// To enable older, ARM-style iostreams and other anachronisms use this. -//#define _GLIBCPP_DEPRECATED 1 - -// Use corrected code from the committee library group's issues list. -#define _GLIBCPP_RESOLVE_LIB_DEFECTS 1 - -// Hopefully temporary workaround to autoconf/m4 issue with quoting '@'. -#define _GLIBCPP_AT_AT "@@" - -// In those parts of the standard C++ library that use a mutex instead -// of a spin-lock, we now unconditionally use GCC's gthr.h mutex -// abstraction layer. All support to directly map to various -// threading models has been removed. Note: gthr.h may well map to -// gthr-single.h which is a correct way to express no threads support -// in gcc. Support for the undocumented _NOTHREADS has been removed. - -// Default to the typically high-speed, pool-based allocator (as -// libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3 -// snapshots). See libstdc++-v3/docs/html/17_intro/howto.html for -// details on why you don't want to override this setting. Ensure -// that threads are properly configured on your platform before -// assigning blame to the STL container-memory allocator. After doing -// so, please report any possible issues to libstdc++@gcc.gnu.org . -// Do not define __USE_MALLOC on the command line. Enforce it here: -#ifdef __USE_MALLOC -#error __USE_MALLOC should never be defined. Read the release notes. -#endif - -// Create a boolean flag to be used to determine if --fast-math is set. -#ifdef __FAST_MATH__ -#define _GLIBCPP_FAST_MATH 1 -#else -#define _GLIBCPP_FAST_MATH 0 -#endif - -// The remainder of the prewritten config is mostly automatic; all the -// user hooks are listed above. - -// End of prewritten config; the discovered settings follow. -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define _GLIBCPP_HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define _GLIBCPP_HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef _GLIBCPP_HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define _GLIBCPP_HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define _GLIBCPP_HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef _GLIBCPP_HAVE_MODFL */ - -// Define if you have the expf function. -#define _GLIBCPP_HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef _GLIBCPP_HAVE_EXPL */ - -// Define if you have the hypotf function. -#define _GLIBCPP_HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef _GLIBCPP_HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef _GLIBCPP_HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef _GLIBCPP_HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef _GLIBCPP_HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef _GLIBCPP_HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef _GLIBCPP_HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef _GLIBCPP_HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef _GLIBCPP_HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define _GLIBCPP_HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef _GLIBCPP_HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef _GLIBCPP_HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef _GLIBCPP_HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef _GLIBCPP_HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef _GLIBCPP_HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef _GLIBCPP_HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef _GLIBCPP_HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef _GLIBCPP_HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef _GLIBCPP_HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef _GLIBCPP_HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef _GLIBCPP_HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef _GLIBCPP_HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef _GLIBCPP_HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef _GLIBCPP_HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef _GLIBCPP_HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef _GLIBCPP_HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef _GLIBCPP_HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef _GLIBCPP_HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef _GLIBCPP_HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef _GLIBCPP_HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef _GLIBCPP_HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef _GLIBCPP_HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef _GLIBCPP_HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef _GLIBCPP_HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef _GLIBCPP_HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef _GLIBCPP_HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef _GLIBCPP_HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef _GLIBCPP_HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef _GLIBCPP_HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef _GLIBCPP_HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef _GLIBCPP_HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef _GLIBCPP_HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef _GLIBCPP_HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef _GLIBCPP_HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef _GLIBCPP_HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef _GLIBCPP_HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef _GLIBCPP_HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef _GLIBCPP_HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef _GLIBCPP_HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef _GLIBCPP_HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef _GLIBCPP_HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef _GLIBCPP_HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef _GLIBCPP_HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef _GLIBCPP_HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef _GLIBCPP_HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef _GLIBCPP_HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef _GLIBCPP_HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef _GLIBCPP_HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef _GLIBCPP_HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef _GLIBCPP_HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef _GLIBCPP_HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef _GLIBCPP_HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef _GLIBCPP_HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef _GLIBCPP_HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef _GLIBCPP_HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef _GLIBCPP_HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef _GLIBCPP_HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef _GLIBCPP_HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef _GLIBCPP_HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef _GLIBCPP_HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef _GLIBCPP_HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef _GLIBCPP_HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef _GLIBCPP_HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define _GLIBCPP_HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef _GLIBCPP_HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define _GLIBCPP_HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef _GLIBCPP_HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define _GLIBCPP_HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef _GLIBCPP_HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define _GLIBCPP_HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef _GLIBCPP_HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define _GLIBCPP_HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define _GLIBCPP_HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef _GLIBCPP_HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define _GLIBCPP_HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define _GLIBCPP_HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef _GLIBCPP_HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define _GLIBCPP_HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define _GLIBCPP_HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef _GLIBCPP_HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef _GLIBCPP_HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef _GLIBCPP_HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define _GLIBCPP_HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef _GLIBCPP_HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define _GLIBCPP_HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef _GLIBCPP_HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define _GLIBCPP_HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define _GLIBCPP_HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define _GLIBCPP_HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define _GLIBCPP_HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef _GLIBCPP_HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define _GLIBCPP_HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef _GLIBCPP_HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define _GLIBCPP_HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef _GLIBCPP_HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef _GLIBCPP_HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define _GLIBCPP_HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define _GLIBCPP_HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define _GLIBCPP_HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef _GLIBCPP_HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define _GLIBCPP_HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define _GLIBCPP_HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define _GLIBCPP_HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef _GLIBCPP_HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define _GLIBCPP_HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define _GLIBCPP_HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef _GLIBCPP_HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define _GLIBCPP_HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef _GLIBCPP_HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define _GLIBCPP_HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define _GLIBCPP_HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define _GLIBCPP_HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef _GLIBCPP_HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define _GLIBCPP_HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define _GLIBCPP_HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef _GLIBCPP_HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define _GLIBCPP_HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define _GLIBCPP_HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef _GLIBCPP_HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define _GLIBCPP_HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef _GLIBCPP_HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define _GLIBCPP_HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef _GLIBCPP_HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define _GLIBCPP_HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef _GLIBCPP_HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define _GLIBCPP_HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define _GLIBCPP_HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define _GLIBCPP_HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define _GLIBCPP_HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define _GLIBCPP_HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef _GLIBCPP_HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define _GLIBCPP_HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define _GLIBCPP_HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define _GLIBCPP_HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef _GLIBCPP_HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define _GLIBCPP_HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define _GLIBCPP_HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef _GLIBCPP_HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef _GLIBCPP_HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef _GLIBCPP_HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef _GLIBCPP_HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef _GLIBCPP_HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define _GLIBCPP_HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define _GLIBCPP_HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef _GLIBCPP_HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef _GLIBCPP_HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define _GLIBCPP_HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef _GLIBCPP_HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define _GLIBCPP_HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define _GLIBCPP_HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define _GLIBCPP_HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define _GLIBCPP_HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define _GLIBCPP_HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define _GLIBCPP_HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef _GLIBCPP_HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef _GLIBCPP_HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define _GLIBCPP_HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define _GLIBCPP_HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define _GLIBCPP_HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define _GLIBCPP_HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define _GLIBCPP_HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define _GLIBCPP_HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define _GLIBCPP_HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define _GLIBCPP_HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define _GLIBCPP_HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define _GLIBCPP_HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define _GLIBCPP_HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define _GLIBCPP_HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define _GLIBCPP_HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define _GLIBCPP_HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define _GLIBCPP_HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define _GLIBCPP_HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define _GLIBCPP_HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define _GLIBCPP_HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define _GLIBCPP_HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define _GLIBCPP_HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define _GLIBCPP_HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define _GLIBCPP_HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define _GLIBCPP_HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define _GLIBCPP_HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define _GLIBCPP_HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define _GLIBCPP_HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define _GLIBCPP_HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define _GLIBCPP_HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define _GLIBCPP_HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define _GLIBCPP_HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define _GLIBCPP_HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define _GLIBCPP_HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define _GLIBCPP_HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define _GLIBCPP_HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define _GLIBCPP_HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define _GLIBCPP_HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define _GLIBCPP_HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define _GLIBCPP_HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef _GLIBCPP_HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define _GLIBCPP_HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef _GLIBCPP_HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef _GLIBCPP_HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define _GLIBCPP_HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define _GLIBCPP_HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define _GLIBCPP_HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define _GLIBCPP_HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef _GLIBCPP_HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define _GLIBCPP_HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define _GLIBCPP_HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef _GLIBCPP_HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define _GLIBCPP_HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef _GLIBCPP_HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define _GLIBCPP_HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define _GLIBCPP_HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define _GLIBCPP_HAVE_LIBM 1 - -/* Name of package */ -#define _GLIBCPP_PACKAGE "libstdc++" - -/* Version number of package */ -#define _GLIBCPP_VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef _GLIBCPP_HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef _GLIBCPP_HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (_GLIBCPP_HAVE__ISNAN) && ! defined (_GLIBCPP_HAVE_ISNAN) -# define _GLIBCPP_HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (_GLIBCPP_HAVE__ISNANF) && ! defined (_GLIBCPP_HAVE_ISNANF) -# define _GLIBCPP_HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (_GLIBCPP_HAVE__ISNANL) && ! defined (_GLIBCPP_HAVE_ISNANL) -# define _GLIBCPP_HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (_GLIBCPP_HAVE__ISINF) && ! defined (_GLIBCPP_HAVE_ISINF) -# define _GLIBCPP_HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (_GLIBCPP_HAVE__ISINFF) && ! defined (_GLIBCPP_HAVE_ISINFF) -# define _GLIBCPP_HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (_GLIBCPP_HAVE__ISINFL) && ! defined (_GLIBCPP_HAVE_ISINFL) -# define _GLIBCPP_HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGN) && ! defined (_GLIBCPP_HAVE_COPYSIGN) -# define _GLIBCPP_HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (_GLIBCPP_HAVE__COPYSIGNL) && ! defined (_GLIBCPP_HAVE_COPYSIGNL) -# define _GLIBCPP_HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (_GLIBCPP_HAVE__COSF) && ! defined (_GLIBCPP_HAVE_COSF) -# define _GLIBCPP_HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSF) && ! defined (_GLIBCPP_HAVE_ACOSF) -# define _GLIBCPP_HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (_GLIBCPP_HAVE__ACOSL) && ! defined (_GLIBCPP_HAVE_ACOSL) -# define _GLIBCPP_HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (_GLIBCPP_HAVE__ASINF) && ! defined (_GLIBCPP_HAVE_ASINF) -# define _GLIBCPP_HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (_GLIBCPP_HAVE__ASINL) && ! defined (_GLIBCPP_HAVE_ASINL) -# define _GLIBCPP_HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (_GLIBCPP_HAVE__ATANF) && ! defined (_GLIBCPP_HAVE_ATANF) -# define _GLIBCPP_HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (_GLIBCPP_HAVE__ATANL) && ! defined (_GLIBCPP_HAVE_ATANL) -# define _GLIBCPP_HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (_GLIBCPP_HAVE__CEILF) && ! defined (_GLIBCPP_HAVE_CEILF) -# define _GLIBCPP_HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (_GLIBCPP_HAVE__CEILL) && ! defined (_GLIBCPP_HAVE_CEILL) -# define _GLIBCPP_HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (_GLIBCPP_HAVE__COSHF) && ! defined (_GLIBCPP_HAVE_COSHF) -# define _GLIBCPP_HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (_GLIBCPP_HAVE__COSL) && ! defined (_GLIBCPP_HAVE_COSL) -# define _GLIBCPP_HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (_GLIBCPP_HAVE__LOGF) && ! defined (_GLIBCPP_HAVE_LOGF) -# define _GLIBCPP_HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (_GLIBCPP_HAVE__COSHL) && ! defined (_GLIBCPP_HAVE_COSHL) -# define _GLIBCPP_HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (_GLIBCPP_HAVE__EXPF) && ! defined (_GLIBCPP_HAVE_EXPF) -# define _GLIBCPP_HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (_GLIBCPP_HAVE__EXPL) && ! defined (_GLIBCPP_HAVE_EXPL) -# define _GLIBCPP_HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (_GLIBCPP_HAVE__FABSF) && ! defined (_GLIBCPP_HAVE_FABSF) -# define _GLIBCPP_HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (_GLIBCPP_HAVE__FABSL) && ! defined (_GLIBCPP_HAVE_FABSL) -# define _GLIBCPP_HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (_GLIBCPP_HAVE__FLOORF) && ! defined (_GLIBCPP_HAVE_FLOORF) -# define _GLIBCPP_HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (_GLIBCPP_HAVE__FLOORL) && ! defined (_GLIBCPP_HAVE_FLOORL) -# define _GLIBCPP_HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (_GLIBCPP_HAVE__FMODF) && ! defined (_GLIBCPP_HAVE_FMODF) -# define _GLIBCPP_HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (_GLIBCPP_HAVE__FMODL) && ! defined (_GLIBCPP_HAVE_FMODL) -# define _GLIBCPP_HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (_GLIBCPP_HAVE__FREXPF) && ! defined (_GLIBCPP_HAVE_FREXPF) -# define _GLIBCPP_HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (_GLIBCPP_HAVE__FREXPL) && ! defined (_GLIBCPP_HAVE_FREXPL) -# define _GLIBCPP_HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPF) && ! defined (_GLIBCPP_HAVE_LDEXPF) -# define _GLIBCPP_HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (_GLIBCPP_HAVE__LDEXPL) && ! defined (_GLIBCPP_HAVE_LDEXPL) -# define _GLIBCPP_HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (_GLIBCPP_HAVE__LOG10F) && ! defined (_GLIBCPP_HAVE_LOG10F) -# define _GLIBCPP_HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (_GLIBCPP_HAVE__LOGL) && ! defined (_GLIBCPP_HAVE_LOGL) -# define _GLIBCPP_HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (_GLIBCPP_HAVE__POWF) && ! defined (_GLIBCPP_HAVE_POWF) -# define _GLIBCPP_HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (_GLIBCPP_HAVE__LOG10L) && ! defined (_GLIBCPP_HAVE_LOG10L) -# define _GLIBCPP_HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (_GLIBCPP_HAVE__MODF) && ! defined (_GLIBCPP_HAVE_MODF) -# define _GLIBCPP_HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (_GLIBCPP_HAVE__MODL) && ! defined (_GLIBCPP_HAVE_MODL) -# define _GLIBCPP_HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (_GLIBCPP_HAVE__SINF) && ! defined (_GLIBCPP_HAVE_SINF) -# define _GLIBCPP_HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (_GLIBCPP_HAVE__POWL) && ! defined (_GLIBCPP_HAVE_POWL) -# define _GLIBCPP_HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (_GLIBCPP_HAVE__SINHF) && ! defined (_GLIBCPP_HAVE_SINHF) -# define _GLIBCPP_HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (_GLIBCPP_HAVE__SINL) && ! defined (_GLIBCPP_HAVE_SINL) -# define _GLIBCPP_HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (_GLIBCPP_HAVE__SQRTF) && ! defined (_GLIBCPP_HAVE_SQRTF) -# define _GLIBCPP_HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (_GLIBCPP_HAVE__SINHL) && ! defined (_GLIBCPP_HAVE_SINHL) -# define _GLIBCPP_HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (_GLIBCPP_HAVE__TANF) && ! defined (_GLIBCPP_HAVE_TANF) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__SQRTL) && ! defined (_GLIBCPP_HAVE_SQRTL) -# define _GLIBCPP_HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (_GLIBCPP_HAVE__TANHF) && ! defined (_GLIBCPP_HAVE_TANHF) -# define _GLIBCPP_HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (_GLIBCPP_HAVE__TANL) && ! defined (_GLIBCPP_HAVE_TANL) -# define _GLIBCPP_HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (_GLIBCPP_HAVE__STRTOF) && ! defined (_GLIBCPP_HAVE_STRTOF) -# define _GLIBCPP_HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (_GLIBCPP_HAVE__TANHL) && ! defined (_GLIBCPP_HAVE_TANHL) -# define _GLIBCPP_HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (_GLIBCPP_HAVE__STRTOLD) && ! defined (_GLIBCPP_HAVE_STRTOLD) -# define _GLIBCPP_HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (_GLIBCPP_HAVE__SINCOS) && ! defined (_GLIBCPP_HAVE_SINCOS) -# define _GLIBCPP_HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSF) && ! defined (_GLIBCPP_HAVE_SINCOSF) -# define _GLIBCPP_HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (_GLIBCPP_HAVE__SINCOSL) && ! defined (_GLIBCPP_HAVE_SINCOSL) -# define _GLIBCPP_HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (_GLIBCPP_HAVE__FINITE) && ! defined (_GLIBCPP_HAVE_FINITE) -# define _GLIBCPP_HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (_GLIBCPP_HAVE__FINITEF) && ! defined (_GLIBCPP_HAVE_FINITEF) -# define _GLIBCPP_HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (_GLIBCPP_HAVE__FINITEL) && ! defined (_GLIBCPP_HAVE_FINITEL) -# define _GLIBCPP_HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (_GLIBCPP_HAVE__QFINITE) && ! defined (_GLIBCPP_HAVE_QFINITE) -# define _GLIBCPP_HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (_GLIBCPP_HAVE__FPCLASS) && ! defined (_GLIBCPP_HAVE_FPCLASS) -# define _GLIBCPP_HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (_GLIBCPP_HAVE__QFPCLASS) && ! defined (_GLIBCPP_HAVE_QFPCLASS) -# define _GLIBCPP_HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - -#endif // _CPP_CPPCONFIG_ diff --git a/gnu/lib/libstdc++-v3/arch/x86_64/config.h b/gnu/lib/libstdc++-v3/arch/x86_64/config.h deleted file mode 100644 index 02ea4f7a34a..00000000000 --- a/gnu/lib/libstdc++-v3/arch/x86_64/config.h +++ /dev/null @@ -1,1127 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp */ - -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -// Define if GCC supports weak symbols. -#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__ - -// Include I/O support for 'long long' and 'unsigned long long'. -#define _GLIBCPP_USE_LONG_LONG 1 - -// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ - -// Define if code specialized for wchar_t should be used. -#define _GLIBCPP_USE_WCHAR_T 1 - -// Define if using setrlimit to limit memory usage during 'make check'. -/* #undef _GLIBCPP_MEM_LIMITS */ - -// Define to use concept checking code from the boost libraries. -/* #undef _GLIBCPP_CONCEPT_CHECKS */ - -// Define to use symbol versioning in the shared library. -/* #undef _GLIBCPP_SYMVER */ - -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCPP_SYMVER - #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); -#else - #define _GLIBCPP_ASM_SYMVER(cur, old, version) -#endif - -// Define if gthr-default.h exists (meaning that threading support is enabled). -#define HAVE_GTHR_DEFAULT 1 - -// Define if drand48 exists. -/* #undef HAVE_DRAND48 */ - -// Define if getpagesize exists. -/* #undef HAVE_GETPAGESIZE */ - -// Define if setenv exists. -/* #undef HAVE_SETENV */ - -// Define if sigsetjmp exists. -/* #undef HAVE_SIGSETJMP */ - -// Define if mbstate_t exists in wchar.h. -#define HAVE_MBSTATE_T 1 - -// Define if you have the modff function. -#define HAVE_MODFF 1 - -// Define if you have the modfl function. -/* #undef HAVE_MODFL */ - -// Define if you have the expf function. -#define HAVE_EXPF 1 - -// Define if you have the expl function. -/* #undef HAVE_EXPL */ - -// Define if you have the hypotf function. -#define HAVE_HYPOTF 1 - -// Define if you have the hypotl function. -/* #undef HAVE_HYPOTL */ - -// Define if the compiler/host combination has __builtin_abs -/* #undef HAVE___BUILTIN_ABS */ - -// Define if the compiler/host combination has __builtin_labs -/* #undef HAVE___BUILTIN_LABS */ - -// Define if the compiler/host combination has __builtin_cos -/* #undef HAVE___BUILTIN_COS */ - -// Define if the compiler/host combination has __builtin_cosf -/* #undef HAVE___BUILTIN_COSF */ - -// Define if the compiler/host combination has __builtin_cosl -/* #undef HAVE___BUILTIN_COSL */ - -// Define if the compiler/host combination has __builtin_fabs -/* #undef HAVE___BUILTIN_FABS */ - -// Define if the compiler/host combination has __builtin_fabsf -/* #undef HAVE___BUILTIN_FABSF */ - -// Define if the compiler/host combination has __builtin_fabsl -/* #undef HAVE___BUILTIN_FABSL */ - -// Define if the compiler/host combination has __builtin_sin -/* #undef HAVE___BUILTIN_SIN */ - -// Define if the compiler/host combination has __builtin_sinf -/* #undef HAVE___BUILTIN_SINF */ - -// Define if the compiler/host combination has __builtin_sinl -/* #undef HAVE___BUILTIN_SINL */ - -// Define if the compiler/host combination has __builtin_sqrt -/* #undef HAVE___BUILTIN_SQRT */ - -// Define if the compiler/host combination has __builtin_sqrtf -/* #undef HAVE___BUILTIN_SQRTF */ - -// Define if the compiler/host combination has __builtin_sqrtl -/* #undef HAVE___BUILTIN_SQRTL */ - -// Define if poll is available in <poll.h>. -/* #undef HAVE_POLL */ - -// Define if S_ISREG (Posix) is available in <sys/stat.h>. -/* #undef HAVE_S_ISREG */ - -// Define if S_IFREG is available in <sys/stat.h>. -/* #undef HAVE_S_IFREG */ - -// Define if LC_MESSAGES is available in <locale.h>. -/* #undef HAVE_LC_MESSAGES */ - -/* Define if you have the __signbit function. */ -/* #undef HAVE___SIGNBIT */ - -/* Define if you have the __signbitf function. */ -#define HAVE___SIGNBITF 1 - -/* Define if you have the __signbitl function. */ -/* #undef HAVE___SIGNBITL */ - -/* Define if you have the _acosf function. */ -/* #undef HAVE__ACOSF */ - -/* Define if you have the _acosl function. */ -/* #undef HAVE__ACOSL */ - -/* Define if you have the _asinf function. */ -/* #undef HAVE__ASINF */ - -/* Define if you have the _asinl function. */ -/* #undef HAVE__ASINL */ - -/* Define if you have the _atan2f function. */ -/* #undef HAVE__ATAN2F */ - -/* Define if you have the _atan2l function. */ -/* #undef HAVE__ATAN2L */ - -/* Define if you have the _atanf function. */ -/* #undef HAVE__ATANF */ - -/* Define if you have the _atanl function. */ -/* #undef HAVE__ATANL */ - -/* Define if you have the _ceilf function. */ -/* #undef HAVE__CEILF */ - -/* Define if you have the _ceill function. */ -/* #undef HAVE__CEILL */ - -/* Define if you have the _copysign function. */ -/* #undef HAVE__COPYSIGN */ - -/* Define if you have the _copysignl function. */ -/* #undef HAVE__COPYSIGNL */ - -/* Define if you have the _cosf function. */ -/* #undef HAVE__COSF */ - -/* Define if you have the _coshf function. */ -/* #undef HAVE__COSHF */ - -/* Define if you have the _coshl function. */ -/* #undef HAVE__COSHL */ - -/* Define if you have the _cosl function. */ -/* #undef HAVE__COSL */ - -/* Define if you have the _expf function. */ -/* #undef HAVE__EXPF */ - -/* Define if you have the _expl function. */ -/* #undef HAVE__EXPL */ - -/* Define if you have the _fabsf function. */ -/* #undef HAVE__FABSF */ - -/* Define if you have the _fabsl function. */ -/* #undef HAVE__FABSL */ - -/* Define if you have the _finite function. */ -/* #undef HAVE__FINITE */ - -/* Define if you have the _finitef function. */ -/* #undef HAVE__FINITEF */ - -/* Define if you have the _finitel function. */ -/* #undef HAVE__FINITEL */ - -/* Define if you have the _floorf function. */ -/* #undef HAVE__FLOORF */ - -/* Define if you have the _floorl function. */ -/* #undef HAVE__FLOORL */ - -/* Define if you have the _fmodf function. */ -/* #undef HAVE__FMODF */ - -/* Define if you have the _fmodl function. */ -/* #undef HAVE__FMODL */ - -/* Define if you have the _fpclass function. */ -/* #undef HAVE__FPCLASS */ - -/* Define if you have the _frexpf function. */ -/* #undef HAVE__FREXPF */ - -/* Define if you have the _frexpl function. */ -/* #undef HAVE__FREXPL */ - -/* Define if you have the _hypot function. */ -/* #undef HAVE__HYPOT */ - -/* Define if you have the _hypotf function. */ -/* #undef HAVE__HYPOTF */ - -/* Define if you have the _hypotl function. */ -/* #undef HAVE__HYPOTL */ - -/* Define if you have the _isinf function. */ -/* #undef HAVE__ISINF */ - -/* Define if you have the _isinff function. */ -/* #undef HAVE__ISINFF */ - -/* Define if you have the _isinfl function. */ -/* #undef HAVE__ISINFL */ - -/* Define if you have the _isnan function. */ -/* #undef HAVE__ISNAN */ - -/* Define if you have the _isnanf function. */ -/* #undef HAVE__ISNANF */ - -/* Define if you have the _isnanl function. */ -/* #undef HAVE__ISNANL */ - -/* Define if you have the _ldexpf function. */ -/* #undef HAVE__LDEXPF */ - -/* Define if you have the _ldexpl function. */ -/* #undef HAVE__LDEXPL */ - -/* Define if you have the _log10f function. */ -/* #undef HAVE__LOG10F */ - -/* Define if you have the _log10l function. */ -/* #undef HAVE__LOG10L */ - -/* Define if you have the _logf function. */ -/* #undef HAVE__LOGF */ - -/* Define if you have the _logl function. */ -/* #undef HAVE__LOGL */ - -/* Define if you have the _modff function. */ -/* #undef HAVE__MODFF */ - -/* Define if you have the _modfl function. */ -/* #undef HAVE__MODFL */ - -/* Define if you have the _powf function. */ -/* #undef HAVE__POWF */ - -/* Define if you have the _powl function. */ -/* #undef HAVE__POWL */ - -/* Define if you have the _qfpclass function. */ -/* #undef HAVE__QFPCLASS */ - -/* Define if you have the _sincos function. */ -/* #undef HAVE__SINCOS */ - -/* Define if you have the _sincosf function. */ -/* #undef HAVE__SINCOSF */ - -/* Define if you have the _sincosl function. */ -/* #undef HAVE__SINCOSL */ - -/* Define if you have the _sinf function. */ -/* #undef HAVE__SINF */ - -/* Define if you have the _sinhf function. */ -/* #undef HAVE__SINHF */ - -/* Define if you have the _sinhl function. */ -/* #undef HAVE__SINHL */ - -/* Define if you have the _sinl function. */ -/* #undef HAVE__SINL */ - -/* Define if you have the _sqrtf function. */ -/* #undef HAVE__SQRTF */ - -/* Define if you have the _sqrtl function. */ -/* #undef HAVE__SQRTL */ - -/* Define if you have the _tanf function. */ -/* #undef HAVE__TANF */ - -/* Define if you have the _tanhf function. */ -/* #undef HAVE__TANHF */ - -/* Define if you have the _tanhl function. */ -/* #undef HAVE__TANHL */ - -/* Define if you have the _tanl function. */ -/* #undef HAVE__TANL */ - -/* Define if you have the acosf function. */ -#define HAVE_ACOSF 1 - -/* Define if you have the acosl function. */ -/* #undef HAVE_ACOSL */ - -/* Define if you have the asinf function. */ -#define HAVE_ASINF 1 - -/* Define if you have the asinl function. */ -/* #undef HAVE_ASINL */ - -/* Define if you have the atan2f function. */ -#define HAVE_ATAN2F 1 - -/* Define if you have the atan2l function. */ -/* #undef HAVE_ATAN2L */ - -/* Define if you have the atanf function. */ -#define HAVE_ATANF 1 - -/* Define if you have the atanl function. */ -/* #undef HAVE_ATANL */ - -/* Define if you have the btowc function. */ -#define HAVE_BTOWC 1 - -/* Define if you have the ceilf function. */ -#define HAVE_CEILF 1 - -/* Define if you have the ceill function. */ -/* #undef HAVE_CEILL */ - -/* Define if you have the copysign function. */ -#define HAVE_COPYSIGN 1 - -/* Define if you have the copysignf function. */ -#define HAVE_COPYSIGNF 1 - -/* Define if you have the copysignl function. */ -/* #undef HAVE_COPYSIGNL */ - -/* Define if you have the cosf function. */ -#define HAVE_COSF 1 - -/* Define if you have the coshf function. */ -#define HAVE_COSHF 1 - -/* Define if you have the coshl function. */ -/* #undef HAVE_COSHL */ - -/* Define if you have the cosl function. */ -/* #undef HAVE_COSL */ - -/* Define if you have the drand48 function. */ -/* #undef HAVE_DRAND48 */ - -/* Define if you have the expf function. */ -#define HAVE_EXPF 1 - -/* Define if you have the expl function. */ -/* #undef HAVE_EXPL */ - -/* Define if you have the fabsf function. */ -#define HAVE_FABSF 1 - -/* Define if you have the fabsl function. */ -/* #undef HAVE_FABSL */ - -/* Define if you have the fgetwc function. */ -#define HAVE_FGETWC 1 - -/* Define if you have the fgetws function. */ -#define HAVE_FGETWS 1 - -/* Define if you have the finite function. */ -#define HAVE_FINITE 1 - -/* Define if you have the finitef function. */ -#define HAVE_FINITEF 1 - -/* Define if you have the finitel function. */ -/* #undef HAVE_FINITEL */ - -/* Define if you have the floorf function. */ -#define HAVE_FLOORF 1 - -/* Define if you have the floorl function. */ -/* #undef HAVE_FLOORL */ - -/* Define if you have the fmodf function. */ -#define HAVE_FMODF 1 - -/* Define if you have the fmodl function. */ -/* #undef HAVE_FMODL */ - -/* Define if you have the fpclass function. */ -/* #undef HAVE_FPCLASS */ - -/* Define if you have the fputwc function. */ -#define HAVE_FPUTWC 1 - -/* Define if you have the fputws function. */ -#define HAVE_FPUTWS 1 - -/* Define if you have the frexpf function. */ -#define HAVE_FREXPF 1 - -/* Define if you have the frexpl function. */ -/* #undef HAVE_FREXPL */ - -/* Define if you have the fwide function. */ -#define HAVE_FWIDE 1 - -/* Define if you have the fwprintf function. */ -#define HAVE_FWPRINTF 1 - -/* Define if you have the fwscanf function. */ -#define HAVE_FWSCANF 1 - -/* Define if you have the getpagesize function. */ -/* #undef HAVE_GETPAGESIZE */ - -/* Define if you have the getwc function. */ -#define HAVE_GETWC 1 - -/* Define if you have the getwchar function. */ -#define HAVE_GETWCHAR 1 - -/* Define if you have the hypot function. */ -/* #undef HAVE_HYPOT */ - -/* Define if you have the hypotf function. */ -#define HAVE_HYPOTF 1 - -/* Define if you have the hypotl function. */ -/* #undef HAVE_HYPOTL */ - -/* Define if you have the iconv function. */ -#define HAVE_ICONV 1 - -/* Define if you have the iconv_close function. */ -#define HAVE_ICONV_CLOSE 1 - -/* Define if you have the iconv_open function. */ -#define HAVE_ICONV_OPEN 1 - -/* Define if you have the isatty function. */ -/* #undef HAVE_ISATTY */ - -/* Define if you have the isinf function. */ -#define HAVE_ISINF 1 - -/* Define if you have the isinff function. */ -#define HAVE_ISINFF 1 - -/* Define if you have the isinfl function. */ -/* #undef HAVE_ISINFL */ - -/* Define if you have the isnan function. */ -#define HAVE_ISNAN 1 - -/* Define if you have the isnanf function. */ -#define HAVE_ISNANF 1 - -/* Define if you have the isnanl function. */ -/* #undef HAVE_ISNANL */ - -/* Define if you have the ldexpf function. */ -#define HAVE_LDEXPF 1 - -/* Define if you have the ldexpl function. */ -/* #undef HAVE_LDEXPL */ - -/* Define if you have the log10f function. */ -#define HAVE_LOG10F 1 - -/* Define if you have the log10l function. */ -/* #undef HAVE_LOG10L */ - -/* Define if you have the logf function. */ -#define HAVE_LOGF 1 - -/* Define if you have the logl function. */ -/* #undef HAVE_LOGL */ - -/* Define if you have the mbrlen function. */ -#define HAVE_MBRLEN 1 - -/* Define if you have the mbrtowc function. */ -#define HAVE_MBRTOWC 1 - -/* Define if you have the mbsinit function. */ -#define HAVE_MBSINIT 1 - -/* Define if you have the mbsrtowcs function. */ -#define HAVE_MBSRTOWCS 1 - -/* Define if you have the modff function. */ -#define HAVE_MODFF 1 - -/* Define if you have the modfl function. */ -/* #undef HAVE_MODFL */ - -/* Define if you have the nan function. */ -#define HAVE_NAN 1 - -/* Define if you have the nl_langinfo function. */ -#define HAVE_NL_LANGINFO 1 - -/* Define if you have the powf function. */ -#define HAVE_POWF 1 - -/* Define if you have the powl function. */ -/* #undef HAVE_POWL */ - -/* Define if you have the putwc function. */ -#define HAVE_PUTWC 1 - -/* Define if you have the putwchar function. */ -#define HAVE_PUTWCHAR 1 - -/* Define if you have the qfpclass function. */ -/* #undef HAVE_QFPCLASS */ - -/* Define if you have the setenv function. */ -/* #undef HAVE_SETENV */ - -/* Define if you have the sincos function. */ -/* #undef HAVE_SINCOS */ - -/* Define if you have the sincosf function. */ -/* #undef HAVE_SINCOSF */ - -/* Define if you have the sincosl function. */ -/* #undef HAVE_SINCOSL */ - -/* Define if you have the sinf function. */ -#define HAVE_SINF 1 - -/* Define if you have the sinhf function. */ -#define HAVE_SINHF 1 - -/* Define if you have the sinhl function. */ -/* #undef HAVE_SINHL */ - -/* Define if you have the sinl function. */ -/* #undef HAVE_SINL */ - -/* Define if you have the sqrtf function. */ -#define HAVE_SQRTF 1 - -/* Define if you have the sqrtl function. */ -/* #undef HAVE_SQRTL */ - -/* Define if you have the strtof function. */ -#define HAVE_STRTOF 1 - -/* Define if you have the strtold function. */ -#define HAVE_STRTOLD 1 - -/* Define if you have the swprintf function. */ -#define HAVE_SWPRINTF 1 - -/* Define if you have the swscanf function. */ -#define HAVE_SWSCANF 1 - -/* Define if you have the tanf function. */ -#define HAVE_TANF 1 - -/* Define if you have the tanhf function. */ -#define HAVE_TANHF 1 - -/* Define if you have the tanhl function. */ -/* #undef HAVE_TANHL */ - -/* Define if you have the tanl function. */ -/* #undef HAVE_TANL */ - -/* Define if you have the ungetwc function. */ -#define HAVE_UNGETWC 1 - -/* Define if you have the vfwprintf function. */ -#define HAVE_VFWPRINTF 1 - -/* Define if you have the vfwscanf function. */ -#define HAVE_VFWSCANF 1 - -/* Define if you have the vswprintf function. */ -#define HAVE_VSWPRINTF 1 - -/* Define if you have the vswscanf function. */ -#define HAVE_VSWSCANF 1 - -/* Define if you have the vwprintf function. */ -#define HAVE_VWPRINTF 1 - -/* Define if you have the vwscanf function. */ -#define HAVE_VWSCANF 1 - -/* Define if you have the wcrtomb function. */ -#define HAVE_WCRTOMB 1 - -/* Define if you have the wcscat function. */ -#define HAVE_WCSCAT 1 - -/* Define if you have the wcschr function. */ -#define HAVE_WCSCHR 1 - -/* Define if you have the wcscmp function. */ -#define HAVE_WCSCMP 1 - -/* Define if you have the wcscoll function. */ -#define HAVE_WCSCOLL 1 - -/* Define if you have the wcscpy function. */ -#define HAVE_WCSCPY 1 - -/* Define if you have the wcscspn function. */ -#define HAVE_WCSCSPN 1 - -/* Define if you have the wcsftime function. */ -#define HAVE_WCSFTIME 1 - -/* Define if you have the wcslen function. */ -#define HAVE_WCSLEN 1 - -/* Define if you have the wcsncat function. */ -#define HAVE_WCSNCAT 1 - -/* Define if you have the wcsncmp function. */ -#define HAVE_WCSNCMP 1 - -/* Define if you have the wcsncpy function. */ -#define HAVE_WCSNCPY 1 - -/* Define if you have the wcspbrk function. */ -#define HAVE_WCSPBRK 1 - -/* Define if you have the wcsrchr function. */ -#define HAVE_WCSRCHR 1 - -/* Define if you have the wcsrtombs function. */ -#define HAVE_WCSRTOMBS 1 - -/* Define if you have the wcsspn function. */ -#define HAVE_WCSSPN 1 - -/* Define if you have the wcsstr function. */ -#define HAVE_WCSSTR 1 - -/* Define if you have the wcstod function. */ -#define HAVE_WCSTOD 1 - -/* Define if you have the wcstof function. */ -#define HAVE_WCSTOF 1 - -/* Define if you have the wcstok function. */ -#define HAVE_WCSTOK 1 - -/* Define if you have the wcstol function. */ -#define HAVE_WCSTOL 1 - -/* Define if you have the wcstoul function. */ -#define HAVE_WCSTOUL 1 - -/* Define if you have the wcsxfrm function. */ -#define HAVE_WCSXFRM 1 - -/* Define if you have the wctob function. */ -#define HAVE_WCTOB 1 - -/* Define if you have the wmemchr function. */ -#define HAVE_WMEMCHR 1 - -/* Define if you have the wmemcmp function. */ -#define HAVE_WMEMCMP 1 - -/* Define if you have the wmemcpy function. */ -#define HAVE_WMEMCPY 1 - -/* Define if you have the wmemmove function. */ -#define HAVE_WMEMMOVE 1 - -/* Define if you have the wmemset function. */ -#define HAVE_WMEMSET 1 - -/* Define if you have the wprintf function. */ -#define HAVE_WPRINTF 1 - -/* Define if you have the wscanf function. */ -#define HAVE_WSCANF 1 - -/* Define if you have the <endian.h> header file. */ -/* #undef HAVE_ENDIAN_H */ - -/* Define if you have the <float.h> header file. */ -#define HAVE_FLOAT_H 1 - -/* Define if you have the <fp.h> header file. */ -/* #undef HAVE_FP_H */ - -/* Define if you have the <gconv.h> header file. */ -/* #undef HAVE_GCONV_H */ - -/* Define if you have the <ieeefp.h> header file. */ -#define HAVE_IEEEFP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define if you have the <machine/endian.h> header file. */ -#define HAVE_MACHINE_ENDIAN_H 1 - -/* Define if you have the <machine/param.h> header file. */ -#define HAVE_MACHINE_PARAM_H 1 - -/* Define if you have the <nan.h> header file. */ -/* #undef HAVE_NAN_H */ - -/* Define if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the <sys/filio.h> header file. */ -/* #undef HAVE_SYS_FILIO_H */ - -/* Define if you have the <sys/ioctl.h> header file. */ -/* #undef HAVE_SYS_IOCTL_H */ - -/* Define if you have the <sys/isa_defs.h> header file. */ -/* #undef HAVE_SYS_ISA_DEFS_H */ - -/* Define if you have the <sys/machine.h> header file. */ -/* #undef HAVE_SYS_MACHINE_H */ - -/* Define if you have the <sys/resource.h> header file. */ -/* #undef HAVE_SYS_RESOURCE_H */ - -/* Define if you have the <sys/stat.h> header file. */ -/* #undef HAVE_SYS_STAT_H */ - -/* Define if you have the <sys/time.h> header file. */ -/* #undef HAVE_SYS_TIME_H */ - -/* Define if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define if you have the <unistd.h> header file. */ -/* #undef HAVE_UNISTD_H */ - -/* Define if you have the <wchar.h> header file. */ -#define HAVE_WCHAR_H 1 - -/* Define if you have the <wctype.h> header file. */ -#define HAVE_WCTYPE_H 1 - -/* Define if you have the m library (-lm). */ -#define HAVE_LIBM 1 - -/* Name of package */ -#define PACKAGE "libstdc++" - -/* Version number of package */ -#define VERSION "3.3.6" - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ - -/* Define if sigsetjmp is available. */ -/* #undef HAVE_SIGSETJMP */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_DATA */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_RSS */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_VMEM */ - -/* Only used in build directory testsuite_hooks.h. */ -/* #undef HAVE_MEMLIMIT_AS */ - -// -// Systems that have certain non-standard functions prefixed with an -// underscore, we'll handle those here. Must come after config.h.in. -// -#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) -# define HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) -# define HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) -# define HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) -# define HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) -# define HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) -# define HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN) -# define HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL) -# define HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (HAVE__COSF) && ! defined (HAVE_COSF) -# define HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) -# define HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) -# define HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) -# define HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) -# define HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) -# define HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) -# define HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) -# define HAVE_CEILF 1 -# define aceil _ceilf -#endif - -#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) -# define HAVE_CEILL 1 -# define aceil _ceill -#endif - -#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) -# define HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (HAVE__COSL) && ! defined (HAVE_COSL) -# define HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) -# define HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) -# define HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) -# define HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) -# define HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) -# define HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) -# define HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) -# define HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) -# define HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) -# define HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) -# define HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) -# define HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) -# define HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) -# define HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) -# define HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) -# define HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (HAVE__POWF) && ! defined (HAVE_POWF) -# define HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) -# define HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (HAVE__MODF) && ! defined (HAVE_MODF) -# define HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (HAVE__MODL) && ! defined (HAVE_MODL) -# define HAVE_MODL 1 -# define modl _modl -#endif - -#if defined (HAVE__SINF) && ! defined (HAVE_SINF) -# define HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (HAVE__POWL) && ! defined (HAVE_POWL) -# define HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) -# define HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (HAVE__SINL) && ! defined (HAVE_SINL) -# define HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) -# define HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) -# define HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (HAVE__TANF) && ! defined (HAVE_TANF) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) -# define HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) -# define HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (HAVE__TANL) && ! defined (HAVE_TANL) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) -# define HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) -# define HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) -# define HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) -# define HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) -# define HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) -# define HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) -# define HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) -# define HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) -# define HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE) -# define HAVE_QFINITE 1 -# define qfinite _qfinite -#endif - -#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) -# define HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) -# define HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - diff --git a/gnu/lib/libstdc++-v3/arch/x86_64/defs.mk b/gnu/lib/libstdc++-v3/arch/x86_64/defs.mk deleted file mode 100644 index e66862c1dc6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/x86_64/defs.mk +++ /dev/null @@ -1,18 +0,0 @@ -# This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp -# -G_libmath_la_SOURCES=stubs.c -G_libmath_la_LIBADD=signbit.lo -G_LIBSUPCXX_SOURCES=del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc -G_LIBSUPCXX_C_SOURCES=cxa_demangle.c dyn-string.c -G_SRC_SOURCES=bitset.cc codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc vterminate.cc wstring-inst.cc codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc basic_file.cc c++locale.cc -G_SECTION_FLAGS=-ffunction-sections -fdata-sections -G_c_base_headers_rename=cassert cctype cerrno cfloat ciso646 climits clocale cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype -G_std_headers_rename=algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector -G_bits_headers=basic_ios.h basic_ios.tcc basic_string.h basic_string.tcc boost_concept_check.h char_traits.h codecvt.h concept_check.h cpp_type_traits.h deque.tcc fpos.h fstream.tcc functexcept.h gslice.h gslice_array.h indirect_array.h ios_base.h istream.tcc list.tcc locale_classes.h locale_facets.h locale_facets.tcc localefwd.h mask_array.h ostream.tcc pthread_allocimpl.h stream_iterator.h streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h stl_algobase.h stl_alloc.h stl_bvector.h stl_construct.h stl_deque.h stl_function.h stl_heap.h stl_iterator.h stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h stl_queue.h stl_raw_storage_iter.h stl_relops.h stl_set.h stl_stack.h stl_tempbuf.h stl_threads.h stl_tree.h stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h type_traits.h valarray_array.h valarray_array.tcc valarray_meta.h vector.tcc -G_backward_headers=complex.h iomanip.h istream.h ostream.h stream.h streambuf.h algo.h algobase.h alloc.h bvector.h defalloc.h deque.h function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h iterator.h list.h map.h multimap.h new.h multiset.h pair.h queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h vector.h fstream.h strstream backward_warning.h -G_ext_headers=algorithm enc_filebuf.h stdio_filebuf.h functional hash_map hash_set iterator memory numeric rb_tree rope ropeimpl.h slist stl_hash_fun.h stl_hashtable.h stl_rope.h -G_c_base_headers_extra=cmath.tcc -G_target_headers=ctype_base.h ctype_inline.h ctype_noninline.h os_defines.h atomicity.h -G_thread_target_headers=gthr.h gthr-single.h gthr-posix.h gthr-default.h -G_target_headers_extra=basic_file.h c++config.h c++io.h c++locale.h messages_members.h time_members.h codecvt_specializations.h diff --git a/gnu/lib/libstdc++-v3/arch/x86_64/gthr-default.h b/gnu/lib/libstdc++-v3/arch/x86_64/gthr-default.h deleted file mode 100644 index 6d49ac3e797..00000000000 --- a/gnu/lib/libstdc++-v3/arch/x86_64/gthr-default.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.7 2003/08/22 00:24:46 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/x86_64/gthr-posix.h b/gnu/lib/libstdc++-v3/arch/x86_64/gthr-posix.h deleted file mode 100644 index 205fa9e2190..00000000000 --- a/gnu/lib/libstdc++-v3/arch/x86_64/gthr-posix.h +++ /dev/null @@ -1,524 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000, 2001 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_POSIX_H -#define _GLIBCPP_GCC_GTHR_POSIX_H - -/* POSIX threads specific definitions. - Easy, since the interface is just one-to-one mapping. */ - -#define __GTHREADS 1 - -#include <pthread.h> -#include <unistd.h> - -typedef pthread_key_t __gthread_key_t; -typedef pthread_once_t __gthread_once_t; -typedef pthread_mutex_t __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -#define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT - -#if _GLIBCPP_SUPPORTS_WEAK && _GLIBCPP_GTHREAD_USE_WEAK - -#pragma weak pthread_once -#pragma weak pthread_key_create -#pragma weak pthread_key_delete -#pragma weak pthread_getspecific -#pragma weak pthread_setspecific -#pragma weak pthread_create - -#pragma weak pthread_mutex_lock -#pragma weak pthread_mutex_trylock -#pragma weak pthread_mutex_unlock - -#ifdef _LIBOBJC -/* Objective-C. */ -#pragma weak pthread_cond_broadcast -#pragma weak pthread_cond_destroy -#pragma weak pthread_cond_init -#pragma weak pthread_cond_signal -#pragma weak pthread_cond_wait -#pragma weak pthread_exit -#pragma weak pthread_mutex_init -#pragma weak pthread_mutex_destroy -#pragma weak pthread_self -/* These really should be protected by _POSIX_PRIORITY_SCHEDULING, but - we use them inside a _POSIX_THREAD_PRIORITY_SCHEDULING block. */ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak sched_get_priority_max -#pragma weak sched_get_priority_min -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#pragma weak sched_yield -#pragma weak pthread_attr_destroy -#pragma weak pthread_attr_init -#pragma weak pthread_attr_setdetachstate -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING -#pragma weak pthread_getschedparam -#pragma weak pthread_setschedparam -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ -#endif /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - static void *const __gthread_active_ptr = (void *) &pthread_create; - return __gthread_active_ptr != 0; -} - -#else /* not _GLIBCPP_SUPPORTS_WEAK */ - -static inline int -__gthread_active_p (void) -{ - return 1; -} - -#endif /* _GLIBCPP_SUPPORTS_WEAK */ - -#ifdef _LIBOBJC - -/* This is the config.h file in libobjc/ */ -#include <config.h> - -#ifdef HAVE_SCHED_H -# include <sched.h> -#endif - -/* Key structure for maintaining thread specific storage */ -static pthread_key_t _objc_thread_storage; -static pthread_attr_t _objc_thread_attribs; - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - if (__gthread_active_p ()) - { - /* Initialize the thread storage key */ - if (pthread_key_create (&_objc_thread_storage, NULL) == 0) - { - /* The normal default detach state for threads is - * PTHREAD_CREATE_JOINABLE which causes threads to not die - * when you think they should. */ - if (pthread_attr_init (&_objc_thread_attribs) == 0 - && pthread_attr_setdetachstate (&_objc_thread_attribs, - PTHREAD_CREATE_DETACHED) == 0) - return 0; - } - } - - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - if (__gthread_active_p () - && pthread_key_delete (_objc_thread_storage) == 0 - && pthread_attr_destroy (&_objc_thread_attribs) == 0) - return 0; - - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (*func)(void *), void *arg) -{ - objc_thread_t thread_id; - pthread_t new_thread_handle; - - if (!__gthread_active_p ()) - return NULL; - - if (!(pthread_create (&new_thread_handle, NULL, (void *) func, arg))) - thread_id = (objc_thread_t) new_thread_handle; - else - thread_id = NULL; - - return thread_id; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int priority) -{ - if (!__gthread_active_p ()) - return -1; - else - { -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - pthread_t thread_id = pthread_self (); - int policy; - struct sched_param params; - int priority_min, priority_max; - - if (pthread_getschedparam (thread_id, &policy, ¶ms) == 0) - { - if ((priority_max = sched_get_priority_max (policy)) == -1) - return -1; - - if ((priority_min = sched_get_priority_min (policy)) == -1) - return -1; - - if (priority > priority_max) - priority = priority_max; - else if (priority < priority_min) - priority = priority_min; - params.sched_priority = priority; - - /* - * The solaris 7 and several other man pages incorrectly state that - * this should be a pointer to policy but pthread.h is universally - * at odds with this. - */ - if (pthread_setschedparam (thread_id, policy, ¶ms) == 0) - return 0; - } -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return -1; - } -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ -#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING - if (__gthread_active_p ()) - { - int policy; - struct sched_param params; - - if (pthread_getschedparam (pthread_self (), &policy, ¶ms) == 0) - return params.sched_priority; - else - return -1; - } - else -#endif /* _POSIX_THREAD_PRIORITY_SCHEDULING */ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - if (__gthread_active_p ()) - sched_yield (); -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - if (__gthread_active_p ()) - /* exit the thread */ - pthread_exit (&__objc_thread_exit_status); - - /* Failed if we reached here */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - if (__gthread_active_p ()) - return (objc_thread_t) pthread_self (); - else - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - if (__gthread_active_p ()) - return pthread_setspecific (_objc_thread_storage, value); - else - { - thread_local_storage = value; - return 0; - } -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - if (__gthread_active_p ()) - return pthread_getspecific (_objc_thread_storage); - else - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - mutex->backend = objc_malloc (sizeof (pthread_mutex_t)); - - if (pthread_mutex_init ((pthread_mutex_t *) mutex->backend, NULL)) - { - objc_free (mutex->backend); - mutex->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - { - int count; - - /* - * Posix Threads specifically require that the thread be unlocked - * for pthread_mutex_destroy to work. - */ - - do - { - count = pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend); - if (count < 0) - return -1; - } - while (count); - - if (pthread_mutex_destroy ((pthread_mutex_t *) mutex->backend)) - return -1; - - objc_free (mutex->backend); - mutex->backend = NULL; - } - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_lock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_trylock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t mutex) -{ - if (__gthread_active_p () - && pthread_mutex_unlock ((pthread_mutex_t *) mutex->backend) != 0) - { - return -1; - } - - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - condition->backend = objc_malloc (sizeof (pthread_cond_t)); - - if (pthread_cond_init ((pthread_cond_t *) condition->backend, NULL)) - { - objc_free (condition->backend); - condition->backend = NULL; - return -1; - } - } - - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t condition) -{ - if (__gthread_active_p ()) - { - if (pthread_cond_destroy ((pthread_cond_t *) condition->backend)) - return -1; - - objc_free (condition->backend); - condition->backend = NULL; - } - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) -{ - if (__gthread_active_p ()) - return pthread_cond_wait ((pthread_cond_t *) condition->backend, - (pthread_mutex_t *) mutex->backend); - else - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_broadcast ((pthread_cond_t *) condition->backend); - else - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t condition) -{ - if (__gthread_active_p ()) - return pthread_cond_signal ((pthread_cond_t *) condition->backend); - else - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_once (__gthread_once_t *once, void (*func) (void)) -{ - if (__gthread_active_p ()) - return pthread_once (once, func); - else - return -1; -} - -static inline int -__gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) -{ - return pthread_key_create (key, dtor); -} - -static inline int -__gthread_key_dtor (__gthread_key_t key, void *ptr) -{ - /* Just reset the key value to zero. */ - if (ptr) - return pthread_setspecific (key, 0); - else - return 0; -} - -static inline int -__gthread_key_delete (__gthread_key_t key) -{ - return pthread_key_delete (key); -} - -static inline void * -__gthread_getspecific (__gthread_key_t key) -{ - return pthread_getspecific (key); -} - -static inline int -__gthread_setspecific (__gthread_key_t key, const void *ptr) -{ - return pthread_setspecific (key, ptr); -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_lock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_trylock (mutex); - else - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) -{ - if (__gthread_active_p ()) - return pthread_mutex_unlock (mutex); - else - return 0; -} - -#endif /* _LIBOBJC */ - -#endif /* ! _GLIBCPP_GCC_GTHR_POSIX_H */ diff --git a/gnu/lib/libstdc++-v3/arch/x86_64/gthr-single.h b/gnu/lib/libstdc++-v3/arch/x86_64/gthr-single.h deleted file mode 100644 index 6fa2b1ed699..00000000000 --- a/gnu/lib/libstdc++-v3/arch/x86_64/gthr-single.h +++ /dev/null @@ -1,242 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2 and libobjc. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1999, 2000 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_SINGLE_H -#define _GLIBCPP_GCC_GTHR_SINGLE_H - -/* Just provide compatibility for mutex handling. */ - -typedef int __gthread_mutex_t; - -#define __GTHREAD_MUTEX_INIT 0 - -#ifdef __cplusplus -#define _GLIBCPP_UNUSED(x) -#else -#define _GLIBCPP_UNUSED(x) x __attribute__((unused)) -#endif - -#ifdef _LIBOBJC - -/* Thread local storage for a single thread */ -static void *thread_local_storage = NULL; - -/* Backend initialization functions */ - -/* Initialize the threads subsystem. */ -static inline int -__gthread_objc_init_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Close the threads subsystem. */ -static inline int -__gthread_objc_close_thread_system (void) -{ - /* No thread support available */ - return -1; -} - -/* Backend thread functions */ - -/* Create a new thread of execution. */ -static inline objc_thread_t -__gthread_objc_thread_detach (void (* func)(void *), void * _GLIBCPP_UNUSED(arg)) -{ - /* No thread support available */ - return NULL; -} - -/* Set the current thread's priority. */ -static inline int -__gthread_objc_thread_set_priority (int _GLIBCPP_UNUSED(priority)) -{ - /* No thread support available */ - return -1; -} - -/* Return the current thread's priority. */ -static inline int -__gthread_objc_thread_get_priority (void) -{ - return OBJC_THREAD_INTERACTIVE_PRIORITY; -} - -/* Yield our process time to another thread. */ -static inline void -__gthread_objc_thread_yield (void) -{ - return; -} - -/* Terminate the current thread. */ -static inline int -__gthread_objc_thread_exit (void) -{ - /* No thread support available */ - /* Should we really exit the program */ - /* exit (&__objc_thread_exit_status); */ - return -1; -} - -/* Returns an integer value which uniquely describes a thread. */ -static inline objc_thread_t -__gthread_objc_thread_id (void) -{ - /* No thread support, use 1. */ - return (objc_thread_t) 1; -} - -/* Sets the thread's local storage pointer. */ -static inline int -__gthread_objc_thread_set_data (void *value) -{ - thread_local_storage = value; - return 0; -} - -/* Returns the thread's local storage pointer. */ -static inline void * -__gthread_objc_thread_get_data (void) -{ - return thread_local_storage; -} - -/* Backend mutex functions */ - -/* Allocate a mutex. */ -static inline int -__gthread_objc_mutex_allocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Deallocate a mutex. */ -static inline int -__gthread_objc_mutex_deallocate (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_lock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Try to grab a lock on a mutex. */ -static inline int -__gthread_objc_mutex_trylock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - /* There can only be one thread, so we always get the lock */ - return 0; -} - -/* Unlock the mutex */ -static inline int -__gthread_objc_mutex_unlock (objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Backend condition mutex functions */ - -/* Allocate a condition. */ -static inline int -__gthread_objc_condition_allocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Deallocate a condition. */ -static inline int -__gthread_objc_condition_deallocate (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wait on the condition */ -static inline int -__gthread_objc_condition_wait (objc_condition_t _GLIBCPP_UNUSED(condition), - objc_mutex_t _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -/* Wake up all threads waiting on this condition. */ -static inline int -__gthread_objc_condition_broadcast (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -/* Wake up one thread waiting on this condition. */ -static inline int -__gthread_objc_condition_signal (objc_condition_t _GLIBCPP_UNUSED(condition)) -{ - return 0; -} - -#else /* _LIBOBJC */ - -static inline int -__gthread_active_p (void) -{ - return 0; -} - -static inline int -__gthread_mutex_lock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_trylock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -static inline int -__gthread_mutex_unlock (__gthread_mutex_t * _GLIBCPP_UNUSED(mutex)) -{ - return 0; -} - -#endif /* _LIBOBJC */ - -#undef _GLIBCPP_UNUSED - -#endif /* ! _GLIBCPP_GCC_GTHR_SINGLE_H */ diff --git a/gnu/lib/libstdc++-v3/arch/x86_64/gthr.h b/gnu/lib/libstdc++-v3/arch/x86_64/gthr.h deleted file mode 100644 index d463cf98ec6..00000000000 --- a/gnu/lib/libstdc++-v3/arch/x86_64/gthr.h +++ /dev/null @@ -1,108 +0,0 @@ -/* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.1 2003/07/25 16:26:53 mrg Exp */ - -/* Threads compatibility routines for libgcc2. */ -/* Compile this one with gcc. */ -/* Copyright (C) 1997, 1998 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 2, 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 COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ - -/* As a special exception, if you link this library with other files, - some of which are compiled with GCC, to produce an executable, - this library does not by itself cause the resulting executable - to be covered by the GNU General Public License. - This exception does not however invalidate any other reasons why - the executable file might be covered by the GNU General Public License. */ - -#ifndef _GLIBCPP_GCC_GTHR_H -#define _GLIBCPP_GCC_GTHR_H - -/* If this file is compiled with threads support, it must - #define __GTHREADS 1 - to indicate that threads support is present. Also it has define - function - int __gthread_active_p () - that returns 1 if thread system is active, 0 if not. - - The threads interface must define the following types: - __gthread_key_t - __gthread_once_t - __gthread_mutex_t - - The threads interface must define the following macros: - - __GTHREAD_ONCE_INIT - to initialize __gthread_once_t - __GTHREAD_MUTEX_INIT - to initialize __gthread_mutex_t to get a fast - non-recursive mutex. - __GTHREAD_MUTEX_INIT_FUNCTION - some systems can't initialize a mutex without a - function call. On such systems, define this to a - function which looks like this: - void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *) - Don't define __GTHREAD_MUTEX_INIT in this case - - The threads interface must define the following static functions: - - int __gthread_once (__gthread_once_t *once, void (*func) ()) - - int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *)) - int __gthread_key_delete (__gthread_key_t key) - - int __gthread_key_dtor (__gthread_key_t key, void *ptr) - - void *__gthread_getspecific (__gthread_key_t key) - int __gthread_setspecific (__gthread_key_t key, const void *ptr) - - int __gthread_mutex_lock (__gthread_mutex_t *mutex); - int __gthread_mutex_trylock (__gthread_mutex_t *mutex); - int __gthread_mutex_unlock (__gthread_mutex_t *mutex); - - All functions returning int should return zero on success or the error - number. If the operation is not supported, -1 is returned. - - Currently supported threads packages are - POSIX threads with -D_PTHREADS - DCE threads with -D_DCE_THREADS - Solaris/UI threads with -D_SOLARIS_THREADS -*/ - -/* Check first for thread specific defines. */ -#if _GLIBCPP__PTHREADS -#include <bits/gthr-posix.h> -#elif _GLIBCPP__DCE_THREADS -#include <bits/gthr-dce.h> -#elif _GLIBCPP__SOLARIS_THREADS -#include <bits/gthr-solaris.h> - -/* Include GTHREAD_FILE if one is defined. */ -#elif defined(_GLIBCPP_HAVE_GTHR_DEFAULT) -#if _GLIBCPP_SUPPORTS_WEAK -#ifndef _GLIBCPP_GTHREAD_USE_WEAK -#define _GLIBCPP_GTHREAD_USE_WEAK 1 -#endif -#endif -#include <bits/gthr-default.h> - -/* Fallback to single thread definitions. */ -#else -#include <bits/gthr-single.h> -#endif - -#endif /* ! _GLIBCPP_GCC_GTHR_H */ diff --git a/gnu/lib/libstdc++-v3/include/Makefile b/gnu/lib/libstdc++-v3/include/Makefile deleted file mode 100644 index aebb11b5348..00000000000 --- a/gnu/lib/libstdc++-v3/include/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2003/07/25 16:32:50 mrg Exp $ - -SUBDIR= backward ext bits - -.include <bsd.own.mk> - -.include "${.CURDIR}/../arch/${MACHINE_ARCH}/defs.mk" - -.cc: # disable .cc->NULL transform - -DIST= ${NETBSDSRCDIR}/gnu/dist/gcc - -INCS= exception new typeinfo cxxabi.h exception_defines.h -INCS+= ${G_std_headers_rename} ${G_c_base_headers_rename} -INCSDIR= /usr/include/g++ - -${G_std_headers_rename}: ${.CURDIR}/Makefile - cp ${DIST}/libstdc++-v3/include/std/std_${.TARGET}.h ${.TARGET} - -CLEANFILES+= ${G_std_headers_rename} ${G_c_base_headers_rename} - -.PATH: ${DIST}/libstdc++-v3 ${DIST}/libstdc++-v3/libsupc++ - -# Get default targets including <bsd.inc.mk>. -.include <bsd.prog.mk> -.include <bsd.subdir.mk> - -${G_c_base_headers_rename}: ${.CURDIR}/Makefile - cp ${DIST}/libstdc++-v3/include/c_std/std_${.TARGET}.h ${.TARGET} - - diff --git a/gnu/lib/libstdc++-v3/include/backward/Makefile b/gnu/lib/libstdc++-v3/include/backward/Makefile deleted file mode 100644 index d00ada4e481..00000000000 --- a/gnu/lib/libstdc++-v3/include/backward/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2003/07/25 16:32:50 mrg Exp $ - -.include <bsd.own.mk> - -.include "${.CURDIR}/../../arch/${MACHINE_ARCH}/defs.mk" - -.cc: # disable .cc->NULL transform - -DIST= ${NETBSDSRCDIR}/gnu/dist/gcc - -INCS= ${G_backward_headers} -INCSDIR= /usr/include/g++/backward - -.PATH: ${DIST}/libstdc++-v3/include/backward - -# Get default targets including <bsd.inc.mk>. -.include <bsd.prog.mk> diff --git a/gnu/lib/libstdc++-v3/include/bits/Makefile b/gnu/lib/libstdc++-v3/include/bits/Makefile deleted file mode 100644 index a07880688c5..00000000000 --- a/gnu/lib/libstdc++-v3/include/bits/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2003/07/26 14:55:15 mrg Exp $ - -.include <bsd.own.mk> - -.include "${.CURDIR}/../../arch/${MACHINE_ARCH}/defs.mk" - -.cc: # disable .cc->NULL transform - -DIST= ${NETBSDSRCDIR}/gnu/dist/gcc -CONF= ${DIST}/libstdc++-v3/config - -INCS= ${G_bits_headers} ${G_c_base_headers_extra} ${G_thread_target_headers} ${G_target_headers_extra} ${G_target_headers} -INCSDIR= /usr/include/g++/bits - -CLEANFILES+= basic_file.h c++io.h c++locale.h - -basic_file.h: ${CONF}/io/basic_file_stdio.h - cp $> ${.TARGET} -c++io.h: ${CONF}/io/c_io_stdio.h - cp $> ${.TARGET} -c++locale.h: ${CONF}/locale/generic/c_locale.h - cp $> ${.TARGET} - -# List of places to find cpu files; maybe do this differently from -# mknative? -BITS_CPUDIR.sparc64=sparc - -_DIR=${BITS_CPUDIR.${MACHINE_ARCH}} -.if ${_DIR} != "" -BITS_CPUDIR=${BITS_CPUDIR.${MACHINE_ARCH}} -.else -BITS_CPUDIR=${MACHINE_GNU_ARCH} -.endif - -.PATH: ${DIST}/libstdc++-v3/include/bits \ - ${DIST}/libstdc++-v3/include/c_std \ - ${CONF}/os/bsd/netbsd \ - ${CONF}/io \ - ${CONF}/cpu/${BITS_CPUDIR} \ - ${CONF}/cpu/generic \ - ${CONF}/locale/generic \ - ${.CURDIR}/../../arch/${MACHINE_ARCH} - -# Get default targets including <bsd.inc.mk>. -.include <bsd.prog.mk> diff --git a/gnu/lib/libstdc++-v3/include/ext/Makefile b/gnu/lib/libstdc++-v3/include/ext/Makefile deleted file mode 100644 index e53f972892a..00000000000 --- a/gnu/lib/libstdc++-v3/include/ext/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2003/07/25 16:32:51 mrg Exp $ - -.include <bsd.own.mk> - -.include "${.CURDIR}/../../arch/${MACHINE_ARCH}/defs.mk" - -.cc: # disable .cc->NULL transform - -DIST= ${NETBSDSRCDIR}/gnu/dist/gcc - -INCS= ${G_ext_headers} -INCSDIR= /usr/include/g++/ext - -.PATH: ${DIST}/libstdc++-v3/include/ext - -# Get default targets including <bsd.inc.mk>. -.include <bsd.prog.mk> |
