Enable some features for RTEMS in libstdc++
Remove RTEMS support from crossconfig.m4 since this code is not used due to "with_newlib" being "yes". libstdc++-v3/ChangeLog: * configure: Regnerate. * configure.ac (newlib, *-rtems*): Enable TLS support for all RTEMS targets except bfin, lm32, mips, moxie, or1k, and v850. For all RTEMS targets, define HAVE_ALIGNED_ALLOC, HAVE_AT_QUICK_EXIT, HAVE_LINK, HAVE_POLL, HAVE_QUICK_EXIT, HAVE_READLINK, HAVE_SETENV, HAVE_SLEEP, HAVE_SOCKATMARK, HAVE_STRERROR_L, HAVE_SYMLINK, HAVE_TRUNCATE, and HAVE_USLEEP. * crossconfig.m4 (*-rtems*): Remove.
This commit is contained in:
parent
9a33a3e2f7
commit
e0466d32eb
6012
libstdc++-v3/configure
vendored
6012
libstdc++-v3/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -353,6 +353,31 @@ else
|
||||
|
||||
AC_DEFINE(HAVE_ICONV)
|
||||
AC_DEFINE(HAVE_MEMALIGN)
|
||||
|
||||
case "${target}" in
|
||||
*-rtems*)
|
||||
case "${target}" in
|
||||
bfin* | lm32* | mips* | moxie* | or1k* | v850*)
|
||||
;;
|
||||
*)
|
||||
AC_DEFINE(HAVE_TLS)
|
||||
;;
|
||||
esac
|
||||
AC_DEFINE(HAVE_ALIGNED_ALLOC)
|
||||
AC_DEFINE(HAVE_AT_QUICK_EXIT)
|
||||
AC_DEFINE(HAVE_LINK)
|
||||
AC_DEFINE(HAVE_POLL)
|
||||
AC_DEFINE(HAVE_QUICK_EXIT)
|
||||
AC_DEFINE(HAVE_READLINK)
|
||||
AC_DEFINE(HAVE_SETENV)
|
||||
AC_DEFINE(HAVE_SLEEP)
|
||||
AC_DEFINE(HAVE_SOCKATMARK)
|
||||
AC_DEFINE(HAVE_STRERROR_L)
|
||||
AC_DEFINE(HAVE_SYMLINK)
|
||||
AC_DEFINE(HAVE_TRUNCATE)
|
||||
AC_DEFINE(HAVE_USLEEP)
|
||||
;;
|
||||
esac
|
||||
elif test "x$with_headers" != "xno"; then
|
||||
GLIBCXX_CROSSCONFIG
|
||||
fi
|
||||
|
@ -244,12 +244,6 @@ case "${host}" in
|
||||
AC_DEFINE(HAVE_SINHF)
|
||||
AC_DEFINE(HAVE_SINHL)
|
||||
;;
|
||||
*-rtems*)
|
||||
GLIBCXX_CHECK_COMPILER_FEATURES
|
||||
GLIBCXX_CHECK_LINKER_FEATURES
|
||||
GLIBCXX_CHECK_MATH_SUPPORT
|
||||
GLIBCXX_CHECK_STDLIB_SUPPORT
|
||||
;;
|
||||
*-tpf)
|
||||
SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
||||
SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
|
||||
|
Loading…
Reference in New Issue
Block a user