gcc/libstdc++-v3/libsupc++
Jakub Jelinek 6defecc2d3 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
2006-02-07 22:23:58 +00:00
..
Makefile.am libtool-ldflags: New script. 2006-01-03 00:30:27 +00:00
Makefile.in configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check. 2006-02-07 22:23:58 +00:00
cxxabi.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
del_op.cc del_op.cc: Include c++config.h first. 2005-11-22 00:19:07 +00:00
del_opnt.cc del_op.cc: Include c++config.h first. 2005-11-22 00:19:07 +00:00
del_opv.cc del_op.cc: Include c++config.h first. 2005-11-22 00:19:07 +00:00
del_opvnt.cc del_op.cc: Include c++config.h first. 2005-11-22 00:19:07 +00:00
eh_alloc.cc [multiple changes] 2006-01-18 11:22:10 +00:00
eh_arm.cc unwind-arm.h: Reorder interface function declarations. 2005-11-16 17:04:41 +00:00
eh_aux_runtime.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
eh_call.cc del_op.cc: Include c++config.h first. 2005-11-22 00:19:07 +00:00
eh_catch.cc del_op.cc: Include c++config.h first. 2005-11-22 00:19:07 +00:00
eh_exception.cc del_op.cc: Include c++config.h first. 2005-11-22 00:19:07 +00:00
eh_globals.cc [multiple changes] 2006-01-18 11:22:10 +00:00
eh_personality.cc configopts.html: Tweak docs. 2006-01-25 18:22:34 +00:00
eh_term_handler.cc del_op.cc: Include c++config.h first. 2005-11-22 00:19:07 +00:00
eh_terminate.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
eh_throw.cc del_op.cc: Include c++config.h first. 2005-11-22 00:19:07 +00:00
eh_type.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
eh_unex_handler.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
exception c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
exception_defines.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
guard.cc del_op.cc: Include c++config.h first. 2005-11-22 00:19:07 +00:00
new All files: Update FSF address. 2005-08-17 02:28:44 +00:00
new_handler.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
new_op.cc del_op.cc: Include c++config.h first. 2005-11-22 00:19:07 +00:00
new_opnt.cc del_op.cc: Include c++config.h first. 2005-11-22 00:19:07 +00:00
new_opv.cc del_op.cc: Include c++config.h first. 2005-11-22 00:19:07 +00:00
new_opvnt.cc del_op.cc: Include c++config.h first. 2005-11-22 00:19:07 +00:00
pure.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
tinfo.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
tinfo.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
tinfo2.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
typeinfo All files: Update FSF address. 2005-08-17 02:28:44 +00:00
unwind-cxx.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
vec.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
vterminate.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00