diff options
author | kan <kan@FreeBSD.org> | 2003-07-11 05:33:24 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2003-07-11 05:33:24 +0000 |
commit | 365bf752c50b2bb6424794eabde19f31cc3e2861 (patch) | |
tree | d9278ad9b8cb9e0aa3210ada1373b769c2877147 /gnu/lib | |
parent | 2c309259f3e050940e7a5bdd2613a5df3b32985e (diff) | |
download | FreeBSD-src-365bf752c50b2bb6424794eabde19f31cc3e2861.zip FreeBSD-src-365bf752c50b2bb6424794eabde19f31cc3e2861.tar.gz |
Update for GCC 3.3.1-pre.
Diffstat (limited to 'gnu/lib')
-rw-r--r-- | gnu/lib/libstdc++/c++config.h | 76 | ||||
-rw-r--r-- | gnu/lib/libstdc++/config.h | 44 |
2 files changed, 96 insertions, 24 deletions
diff --git a/gnu/lib/libstdc++/c++config.h b/gnu/lib/libstdc++/c++config.h index b630940..b8b4a01 100644 --- a/gnu/lib/libstdc++/c++config.h +++ b/gnu/lib/libstdc++/c++config.h @@ -2,7 +2,8 @@ // Predefined symbols and macros -*- C++ -*- -// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. +// 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 @@ -36,10 +37,9 @@ #include <bits/os_defines.h> // The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20030205 +#define __GLIBCPP__ 20030513 -// This is necessary until GCC supports separate template -// compilation. +// 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 @@ -51,6 +51,16 @@ // 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 @@ -76,13 +86,15 @@ // 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 only be defined within \ -libstdc++-v3/include/bits/c++config before full recompilation of the library. +#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 -// Define __USE_MALLOC after this point in the file in order to aid debugging -// or globally change allocation policy. This breaks the ABI, thus -// completely recompile the library. A patch to better support -// changing the global allocator policy would be probably be accepted. // The remainder of the prewritten config is mostly automatic; all the // user hooks are listed above. @@ -129,6 +141,18 @@ libstdc++-v3/include/bits/c++config before full recompilation of the library. // Define if gthr-default.h exists (meaning that threading support is enabled). #define _GLIBCPP_HAVE_GTHR_DEFAULT 1 +// Define if drand48 exists. +#define _GLIBCPP_HAVE_DRAND48 1 + +// Define if getpagesize exists. +#define _GLIBCPP_HAVE_GETPAGESIZE 1 + +// Define if setenv exists. +#define _GLIBCPP_HAVE_SETENV 1 + +// Define if sigsetjmp exists. +#define _GLIBCPP_HAVE_SIGSETJMP 1 + // Define if mbstate_t exists in wchar.h. #define _GLIBCPP_HAVE_MBSTATE_T 1 @@ -157,13 +181,13 @@ libstdc++-v3/include/bits/c++config before full recompilation of the library. #define _GLIBCPP_HAVE___BUILTIN_LABS 1 // Define if the compiler/host combination has __builtin_cos -/* #undef _GLIBCPP_HAVE___BUILTIN_COS */ +#define _GLIBCPP_HAVE___BUILTIN_COS 1 // Define if the compiler/host combination has __builtin_cosf -/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */ +#define _GLIBCPP_HAVE___BUILTIN_COSF 1 // Define if the compiler/host combination has __builtin_cosl -/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */ +#define _GLIBCPP_HAVE___BUILTIN_COSL 1 // Define if the compiler/host combination has __builtin_fabs #define _GLIBCPP_HAVE___BUILTIN_FABS 1 @@ -175,13 +199,13 @@ libstdc++-v3/include/bits/c++config before full recompilation of the library. #define _GLIBCPP_HAVE___BUILTIN_FABSL 1 // Define if the compiler/host combination has __builtin_sin -/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */ +#define _GLIBCPP_HAVE___BUILTIN_SIN 1 // Define if the compiler/host combination has __builtin_sinf -/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */ +#define _GLIBCPP_HAVE___BUILTIN_SINF 1 // Define if the compiler/host combination has __builtin_sinl -/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */ +#define _GLIBCPP_HAVE___BUILTIN_SINL 1 // Define if the compiler/host combination has __builtin_sqrt /* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */ @@ -192,6 +216,15 @@ libstdc++-v3/include/bits/c++config before full recompilation of the library. // Define if the compiler/host combination has __builtin_sqrtl /* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */ +// Define if poll is available in <poll.h>. +#define _GLIBCPP_HAVE_POLL 1 + +// Define if S_ISREG (Posix) is available in <sys/stat.h>. +#define _GLIBCPP_HAVE_S_ISREG 1 + +// Define if S_IFREG is available in <sys/stat.h>. +/* #undef _GLIBCPP_HAVE_S_IFREG */ + // Define if LC_MESSAGES is available in <locale.h>. #define _GLIBCPP_HAVE_LC_MESSAGES 1 @@ -822,6 +855,12 @@ libstdc++-v3/include/bits/c++config before full recompilation of the library. /* 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. */ +#define _GLIBCPP_HAVE_SYS_FILIO_H 1 + +/* Define if you have the <sys/ioctl.h> header file. */ +#define _GLIBCPP_HAVE_SYS_IOCTL_H 1 + /* Define if you have the <sys/isa_defs.h> header file. */ /* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */ @@ -834,6 +873,9 @@ libstdc++-v3/include/bits/c++config before full recompilation of the library. /* Define if you have the <sys/stat.h> header file. */ #define _GLIBCPP_HAVE_SYS_STAT_H 1 +/* Define if you have the <sys/time.h> header file. */ +#define _GLIBCPP_HAVE_SYS_TIME_H 1 + /* Define if you have the <sys/types.h> header file. */ #define _GLIBCPP_HAVE_SYS_TYPES_H 1 @@ -853,7 +895,7 @@ libstdc++-v3/include/bits/c++config before full recompilation of the library. #define _GLIBCPP_PACKAGE "libstdc++" /* Version number of package */ -#define _GLIBCPP_VERSION "3.2.2" +#define _GLIBCPP_VERSION "3.3.1" /* Define if the compiler is configured for setjmp/longjmp exceptions. */ /* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ diff --git a/gnu/lib/libstdc++/config.h b/gnu/lib/libstdc++/config.h index f8a228a..b48fe80 100644 --- a/gnu/lib/libstdc++/config.h +++ b/gnu/lib/libstdc++/config.h @@ -41,6 +41,18 @@ // Define if gthr-default.h exists (meaning that threading support is enabled). #define HAVE_GTHR_DEFAULT 1 +// Define if drand48 exists. +#define HAVE_DRAND48 1 + +// Define if getpagesize exists. +#define HAVE_GETPAGESIZE 1 + +// Define if setenv exists. +#define HAVE_SETENV 1 + +// Define if sigsetjmp exists. +#define HAVE_SIGSETJMP 1 + // Define if mbstate_t exists in wchar.h. #define HAVE_MBSTATE_T 1 @@ -69,13 +81,13 @@ #define HAVE___BUILTIN_LABS 1 // Define if the compiler/host combination has __builtin_cos -/* #undef HAVE___BUILTIN_COS */ +#define HAVE___BUILTIN_COS 1 // Define if the compiler/host combination has __builtin_cosf -/* #undef HAVE___BUILTIN_COSF */ +#define HAVE___BUILTIN_COSF 1 // Define if the compiler/host combination has __builtin_cosl -/* #undef HAVE___BUILTIN_COSL */ +#define HAVE___BUILTIN_COSL 1 // Define if the compiler/host combination has __builtin_fabs #define HAVE___BUILTIN_FABS 1 @@ -87,13 +99,13 @@ #define HAVE___BUILTIN_FABSL 1 // Define if the compiler/host combination has __builtin_sin -/* #undef HAVE___BUILTIN_SIN */ +#define HAVE___BUILTIN_SIN 1 // Define if the compiler/host combination has __builtin_sinf -/* #undef HAVE___BUILTIN_SINF */ +#define HAVE___BUILTIN_SINF 1 // Define if the compiler/host combination has __builtin_sinl -/* #undef HAVE___BUILTIN_SINL */ +#define HAVE___BUILTIN_SINL 1 // Define if the compiler/host combination has __builtin_sqrt /* #undef HAVE___BUILTIN_SQRT */ @@ -104,6 +116,15 @@ // Define if the compiler/host combination has __builtin_sqrtl /* #undef HAVE___BUILTIN_SQRTL */ +// Define if poll is available in <poll.h>. +#define HAVE_POLL 1 + +// Define if S_ISREG (Posix) is available in <sys/stat.h>. +#define HAVE_S_ISREG 1 + +// Define if S_IFREG is available in <sys/stat.h>. +/* #undef HAVE_S_IFREG */ + // Define if LC_MESSAGES is available in <locale.h>. #define HAVE_LC_MESSAGES 1 @@ -734,6 +755,12 @@ /* Define if you have the <string.h> header file. */ #define HAVE_STRING_H 1 +/* Define if you have the <sys/filio.h> header file. */ +#define HAVE_SYS_FILIO_H 1 + +/* Define if you have the <sys/ioctl.h> header file. */ +#define HAVE_SYS_IOCTL_H 1 + /* Define if you have the <sys/isa_defs.h> header file. */ /* #undef HAVE_SYS_ISA_DEFS_H */ @@ -746,6 +773,9 @@ /* Define if you have the <sys/stat.h> header file. */ #define HAVE_SYS_STAT_H 1 +/* Define if you have the <sys/time.h> header file. */ +#define HAVE_SYS_TIME_H 1 + /* Define if you have the <sys/types.h> header file. */ #define HAVE_SYS_TYPES_H 1 @@ -765,7 +795,7 @@ #define PACKAGE "libstdc++" /* Version number of package */ -#define VERSION "3.2.2" +#define VERSION "3.3.1" /* Define if the compiler is configured for setjmp/longjmp exceptions. */ /* #undef _GLIBCPP_SJLJ_EXCEPTIONS */ |