From 4564ac62c5ff525b7846e0557aa2037ee5c4dba4 Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik <bkoz@redhat.com> Date: Mon, 5 Jan 2009 20:50:25 +0000 Subject: [PATCH] re PR target/38384 (shared link/execute fails for cross gcc from linux to target hppa64-hp-hpux11.00) 2009-01-05 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/38384 * crossconfig.m4: Define HAVE_FABSF for hpux crosses. From-SVN: r143093 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/configure | 4 ++++ libstdc++-v3/crossconfig.m4 | 1 + 3 files changed, 10 insertions(+) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index bd2443c0ce87..59e85247b609 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2009-01-05 Benjamin Kosnik <bkoz@redhat.com> + + PR libstdc++/38384 + * crossconfig.m4: Define HAVE_FABSF for hpux crosses. + 2009-01-05 Ben Elliston <bje@au.ibm.com> * configure.ac (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove invocation. diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 1d170ce60d5c..d5e6752cdf45 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -81407,6 +81407,10 @@ _ACEOF cat >>confdefs.h <<\_ACEOF #define HAVE_COPYSIGNF 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define HAVE_FABSF 1 _ACEOF cat >>confdefs.h <<\_ACEOF diff --git a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4 index 399077546d30..b90bc076a23d 100644 --- a/libstdc++-v3/crossconfig.m4 +++ b/libstdc++-v3/crossconfig.m4 @@ -111,6 +111,7 @@ case "${host}" in GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT AC_DEFINE(HAVE_COPYSIGN) AC_DEFINE(HAVE_COPYSIGNF) + AC_DEFINE(HAVE_FABSF) AC_DEFINE(HAVE_FREXPF) AC_DEFINE(HAVE_HYPOT) case "$target" in -- GitLab