-
- Downloads
configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check.
2006-02-07 Jakub Jelinek <jakub@redhat.com>
Benjamin Kosnik <bkoz@redhat.com>
* configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check.
If true, set also port_specific_symbol_files and create
as_symver_specs.
(GLIBCXX_LDBL_COMPAT): New GLIBCXX_CONDITIONAL.
* configure: Rebuilt.
* config.h.in: Rebuilt.
* config/os/gnu-linux/ldbl-extra.ver: New file.
* config/abi/pre/gnu.ver: Make sure no __float128 symbols are
exported.
* include/bits/c++config (_GLIBCXX_LONG_DOUBLE_COMPAT,
_GLIBCXX_LDBL_NAMESPACE, _GLIBCXX_BEGIN_LDBL_NAMESPACE,
_GLIBCXX_END_LDBL_NAMESPACE): Define.
* include/bits/localefwd.h: Use them to conditionally scope facets.
* include/bits/locale_facets.h: Surround std::{money,num}_{get,put}
with _GLIBCXX_BEGIN_LDBL_NAMESPACE and _GLIBCXX_END_LDBL_NAMESPACE.
Surround std::{money,num}_{get,put}
with _GLIBCXX_BEGIN_LDBL_NAMESPACE and _GLIBCXX_END_LDBL_NAMESPACE.
[_GLIBCXX_LONG_DOUBLE_COMPAT] (std::money_get): Add __do_get method.
[_GLIBCXX_LONG_DOUBLE_COMPAT] (std::money_put): Add __do_put method.
[_GLIBCXX_LONG_DOUBLE_COMPAT] (std::num_get): Add __do_get method.
[_GLIBCXX_LONG_DOUBLE_COMPAT] (std::num_put): Add __do_put method.
* include/bits/locale_facets.tcc: Surround std::{money,num}_{get,put}
with _GLIBCXX_BEGIN_LDBL_NAMESPACE and _GLIBCXX_END_LDBL_NAMESPACE.
(std::money_get::__do_get, std::money_put::__do_put,
std::num_get::__do_get, std::num_put::__do_put): New
specializations.
* include/Makefile.am: Conditionally define
_GLIBCXX_LONG_DOUBLE_COMPAT in c++config.
* include/Makefile.in: Regenerate.
* src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT] (_GLIBCXX_LOC_ID,
_GLIBCXX_SYNC_ID): Define, use them.
* src/compatibility-ldbl.cc: New file.
* src/complex_io.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Add compatibility
symbols.
* src/limits.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
* src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
* src/locale-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
* src/locale-misc-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
* src/istream-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
* src/ostream-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
* src/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
* src/wlocale-inst.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
* src/compatibility.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]: Likewise.
* config/locale/generic/c_locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]:
Likewise.
* config/locale/gnu/c_locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]:
Likewise.
* src/Makefile.am (libstdc++-symbol.ver): Append instead of
insert in the middle if port specific symbol file requests it.
(ldbl_compat_sources): New variable.
(sources): Use it.
(compatibility-ldbl.lo, compatibility-ldbl.o): New rules.
* src/Makefile.in: Rebuilt.
* testsuite/testsuite_abi.cc: Recognize GLIBCXX_LDBL_3.4,
GLIBCXX_LDBL_3.4.7, CXXABI_LDBL_1.3.
Co-Authored-By:
Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r110725
Showing
- libstdc++-v3/ChangeLog 59 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/Makefile.in 2 additions, 0 deletionslibstdc++-v3/Makefile.in
- libstdc++-v3/config.h.in 3 additions, 0 deletionslibstdc++-v3/config.h.in
- libstdc++-v3/config/abi/pre/gnu.ver 25 additions, 18 deletionslibstdc++-v3/config/abi/pre/gnu.ver
- libstdc++-v3/config/locale/generic/c_locale.cc 8 additions, 1 deletionlibstdc++-v3/config/locale/generic/c_locale.cc
- libstdc++-v3/config/locale/gnu/c_locale.cc 8 additions, 1 deletionlibstdc++-v3/config/locale/gnu/c_locale.cc
- libstdc++-v3/config/os/gnu-linux/ldbl-extra.ver 26 additions, 0 deletionslibstdc++-v3/config/os/gnu-linux/ldbl-extra.ver
- libstdc++-v3/configure 87 additions, 1 deletionlibstdc++-v3/configure
- libstdc++-v3/configure.ac 19 additions, 0 deletionslibstdc++-v3/configure.ac
- libstdc++-v3/include/Makefile.am 6 additions, 0 deletionslibstdc++-v3/include/Makefile.am
- libstdc++-v3/include/Makefile.in 8 additions, 0 deletionslibstdc++-v3/include/Makefile.in
- libstdc++-v3/include/bits/c++config 19 additions, 1 deletionlibstdc++-v3/include/bits/c++config
- libstdc++-v3/include/bits/locale_facets.h 60 additions, 1 deletionlibstdc++-v3/include/bits/locale_facets.h
- libstdc++-v3/include/bits/locale_facets.tcc 72 additions, 10 deletionslibstdc++-v3/include/bits/locale_facets.tcc
- libstdc++-v3/include/bits/localefwd.h 5 additions, 1 deletionlibstdc++-v3/include/bits/localefwd.h
- libstdc++-v3/libmath/Makefile.in 2 additions, 0 deletionslibstdc++-v3/libmath/Makefile.in
- libstdc++-v3/libsupc++/Makefile.in 2 additions, 0 deletionslibstdc++-v3/libsupc++/Makefile.in
- libstdc++-v3/po/Makefile.in 2 additions, 0 deletionslibstdc++-v3/po/Makefile.in
- libstdc++-v3/src/Makefile.am 26 additions, 5 deletionslibstdc++-v3/src/Makefile.am
- libstdc++-v3/src/Makefile.in 43 additions, 9 deletionslibstdc++-v3/src/Makefile.in
Loading
Please register or sign in to comment