Revert "libstdc++-v3: Have aligned_alloc() on Newlib"

This reverts commit r263461 / 2e920cd849b3cf0a72df4f172e27676a3e70b73f
because aligned_alloc is not defined for baremetal newlib targets, see
https://gcc.gnu.org/ml/libstdc++/2018-08/msg00065.html

Revert
2018-08-10  Sebastian Huber  <sebastian.huber@embedded-brains.de>

	PR target/85904
	* configure.ac: Define HAVE_ALIGNED_ALLOC if building for
	Newlib.
	* configure: Regenerate.

From-SVN: r263513
This commit is contained in:
Jonathan Wakely 2018-08-13 19:54:21 +01:00 committed by Jonathan Wakely
parent 3f7a77cd20
commit 9db03bee15
3 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,13 @@
2018-08-13 Jonathan Wakely <jwakely@redhat.com>
Revert
2018-08-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR target/85904
* configure.ac: Define HAVE_ALIGNED_ALLOC if building for
Newlib.
* configure: Regenerate.
2018-08-10 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/68210

View file

@ -28967,8 +28967,6 @@ else
$as_echo "#define HAVE_TANHF 1" >>confdefs.h
$as_echo "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
$as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h

View file

@ -330,7 +330,6 @@ else
AC_DEFINE(HAVE_TANF)
AC_DEFINE(HAVE_TANHF)
AC_DEFINE(HAVE_ALIGNED_ALLOC)
AC_DEFINE(HAVE_ICONV)
AC_DEFINE(HAVE_MEMALIGN)
else