* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85452 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- libstdc++-v3/ChangeLog 36 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/Makefile.am 2 additions, 3 deletionslibstdc++-v3/Makefile.am
- libstdc++-v3/Makefile.in 102 additions, 148 deletionslibstdc++-v3/Makefile.in
- libstdc++-v3/acinclude.m4 8 additions, 1 deletionlibstdc++-v3/acinclude.m4
- libstdc++-v3/aclocal.m4 2327 additions, 358 deletionslibstdc++-v3/aclocal.m4
- libstdc++-v3/configure 21 additions, 35 deletionslibstdc++-v3/configure
- libstdc++-v3/crossconfig.m4 4 additions, 0 deletionslibstdc++-v3/crossconfig.m4
- libstdc++-v3/include/Makefile.in 44 additions, 62 deletionslibstdc++-v3/include/Makefile.in
- libstdc++-v3/include/c_std/std_cstdlib.h 16 additions, 0 deletionslibstdc++-v3/include/c_std/std_cstdlib.h
- libstdc++-v3/libmath/Makefile.in 65 additions, 85 deletionslibstdc++-v3/libmath/Makefile.in
- libstdc++-v3/libsupc++/Makefile.am 3 additions, 1 deletionlibstdc++-v3/libsupc++/Makefile.am
- libstdc++-v3/libsupc++/Makefile.in 112 additions, 115 deletionslibstdc++-v3/libsupc++/Makefile.in
- libstdc++-v3/libsupc++/del_op.cc 9 additions, 2 deletionslibstdc++-v3/libsupc++/del_op.cc
- libstdc++-v3/libsupc++/eh_alloc.cc 17 additions, 4 deletionslibstdc++-v3/libsupc++/eh_alloc.cc
- libstdc++-v3/libsupc++/new_op.cc 7 additions, 0 deletionslibstdc++-v3/libsupc++/new_op.cc
- libstdc++-v3/libsupc++/pure.cc 4 additions, 0 deletionslibstdc++-v3/libsupc++/pure.cc
- libstdc++-v3/libsupc++/vterminate.cc 2 additions, 0 deletionslibstdc++-v3/libsupc++/vterminate.cc
- libstdc++-v3/po/Makefile.in 37 additions, 61 deletionslibstdc++-v3/po/Makefile.in
- libstdc++-v3/src/Makefile.in 91 additions, 109 deletionslibstdc++-v3/src/Makefile.in
- libstdc++-v3/testsuite/Makefile.in 91 additions, 100 deletionslibstdc++-v3/testsuite/Makefile.in
Loading
Please register or sign in to comment