diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-14 14:50:26 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-14 14:50:26 +0000 |
commit | 68c9bc250285bc6c24794dd1b9f757dedf4b9359 (patch) | |
tree | 5fe65fdbed9bdd4d82e32814abcd604d2cdc1549 /libstdc++-v3/crossconfig.m4 | |
parent | d6a925e8e211ea756a09d6018b1b709aac834250 (diff) | |
download | gcc-68c9bc250285bc6c24794dd1b9f757dedf4b9359.tar.gz |
* configure.ac (mips*-sde-elf*): New stanza. Add target-libiberty
to $skipdirs and only disable gprof for newlib. Use the normal
mips*-elf* handling in other respects.
* configure: Regnerate.
gcc/
2007-xx-xx Nigel Stephens <nigel@mips.com>
David Ung <davidu@mips.com>
Thiemo Seufer <ths@mips.com>
Richard Sandiford <richard@codesourcery.com>
* config.gcc (mips*-sde-elf*): Add support for the SDE C libraries.
* configure.ac: Add a mipssde threading type.
* configure: Regenerate.
* config/mips/sdemtk.h: New file.
* config/mips/t-sdemtk: Likewise.
* config/mips/sdemtk.opt: Likewise.
* gthr-mipssde.h: Likewise.
* config/mips/sde.h (FUNCTION_PROFILER): Move to config/mips/sdemtk.h.
* config/mips/mips.h (MIPS_SAVE_REG_FOR_PROFILING_P): New macro.
(MIPS_ICACHE_SYNC): New macro, split from ...
* config/mips/mips.md (clear_cache): ...here.
* config/mips/mips.c (mips_save_reg_p): Check
MIPS_SAVE_REG_FOR_PROFILING_P on profiled functions.
(build_mips16_function_stub): Use targetm.strip_name_encoding.
(build_mips16_call_stub): Likewise.
libstdc++-v3/
2007-xx-xx Thiemo Seufer <ths@mips.com>
* crossconfig.m4 (mips*-sde-elf*): New stanza.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128495 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/crossconfig.m4')
-rw-r--r-- | libstdc++-v3/crossconfig.m4 | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4 index cbfc2d98044..27df06069b5 100644 --- a/libstdc++-v3/crossconfig.m4 +++ b/libstdc++-v3/crossconfig.m4 @@ -9,6 +9,38 @@ case "${host}" in # This is a freestanding configuration; there is nothing to do here. ;; + mips*-sde-elf*) + # These definitions are for the SDE C library rather than newlib. + AC_CHECK_HEADERS([float.h inttypes.h locale.h \ + stdint.h stdlib.h string.h unistd.h wchar.h \ + machine/endian.h sys/ioctl.h sys/resource.h \ + sys/stat.h sys/time.h sys/types.h sys/uio.h]) + SECTION_FLAGS='-ffunction-sections -fdata-sections' + AC_SUBST(SECTION_FLAGS) + GLIBCXX_CHECK_COMPILER_FEATURES + GLIBCXX_CHECK_LINKER_FEATURES + GLIBCXX_CHECK_MATH_SUPPORT + GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT + GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT + GLIBCXX_CHECK_STDLIB_SUPPORT + GLIBCXX_CHECK_S_ISREG_OR_S_IFREG + AC_DEFINE(HAVE_SIGSETJMP) + AC_DEFINE(HAVE_GETPAGESIZE) + AC_DEFINE(HAVE_WRITEV) + AC_DEFINE(HAVE_INT64_T) + + AC_DEFINE(HAVE_LIBM) + AC_DEFINE(HAVE_COPYSIGN) + AC_DEFINE(HAVE_FINITE) + AC_DEFINE(HAVE_HYPOT) + AC_DEFINE(HAVE_ISNAN) + AC_DEFINE(HAVE_ISINF) + + AC_DEFINE(HAVE_LDEXPF) + AC_DEFINE(HAVE_MODF) + AC_DEFINE(HAVE_SQRTF) + ;; + *-darwin*) # Darwin versions vary, but the linker should work in a cross environment, # so we just check for all the features here. |