gcc/libstdc++-v3/libmath
Mark Mitchell 4c24b21a47 Makefile.am (hosted_source): Add libmath and testsuite.
* Makefile.am (hosted_source): Add libmath and testsuite.
	(SUBDIRS): Remove them.
	* acinclude.m4: (GLIBCXX_ENABLED_HOSTED): Default to freestanding
	on arm*-*-symbianelf*.
	* crossconfig.m4: Add arm*-*-symbianelf* support.
	* include/c_std/std/std_cstdlib.h (stdlib.h): Do not include it
	when freestanding.  Do not bring names into std:: namespace with
	"using" when freestanding.  Declare required functions and macros
	when freestanding.
	* libsupc++/Makefile.am (c_sources): Do not include cp-demangle.c
	when freestanding.
	* libsupc++/del_op.cc: Declare "free" only when freestanding.
	* libsupc++/eh_alloc.cc (cstring): Include it only when hosted.
	(malloc): Declare when freestanding.
	(free): Likewise.
	(memset): Likewise.
	(__cxa_allocate_exception): Call malloc, not std::malloc.  Likewise
	for memset.
	(__cxa_free_exception): Likewise for free.
	* libsupc++/new_op.cc: Declare "malloc" when freestanding.
	* libsupc++/pure.cc (writestr): Define to nothing when
	freestanding.
	* libsupc++/vterminate.cc: Do not define anything when
	freestanding.
	* Makefile.in: Regenerated.
	* aclocal.m4: Likewise.
	* configure: Likewise.
	* include/Makefile.in: Likewise.
	* libmath/Makefile.in: Likewise.
	* libsupc++/Makefile.in: Likewise.
	* po/Makefile.in: Likewise.
	* src/Makefile.in: Likewise.
	* testsuite/Makefile.in: Likewise.

From-SVN: r85452
2004-08-02 20:28:22 +00:00
..
Makefile.am Makefile.am: Remove trailing whitespace. 2003-08-27 21:29:43 +00:00
Makefile.in Makefile.am (hosted_source): Add libmath and testsuite. 2004-08-02 20:28:22 +00:00
copysignf.c signbitl.c: Copyright years as list, not range. 2002-01-16 19:57:39 +00:00
mathconf.h re PR c/13814 (rejects different prototypes than builtin function) 2004-01-23 16:47:06 +00:00
signbit.c signbitl.c: Copyright years as list, not range. 2002-01-16 19:57:39 +00:00
signbitf.c signbitl.c: Copyright years as list, not range. 2002-01-16 19:57:39 +00:00
signbitl.c signbitl.c: Copyright years as list, not range. 2002-01-16 19:57:39 +00:00
stubs.c std_cmath.h: Don't import C99's float transcendentals into the __gnu_cxx::__c99_binding... 2003-11-15 14:26:47 +00:00