diff options
author | Matthias Klose <doko@ubuntu.com> | 2010-06-16 06:02:37 +0000 |
---|---|---|
committer | Matthias Klose <doko@gcc.gnu.org> | 2010-06-16 06:02:37 +0000 |
commit | a4a2087c4448dc3f4aa9501ae62143d532e00e4c (patch) | |
tree | c51216071bedb15abc2776227dfa8d821f9bd9f2 | |
parent | 1db2f288b1ccd3f0f432838be99dfd71ccf5b6b7 (diff) | |
download | gcc-a4a2087c4448dc3f4aa9501ae62143d532e00e4c.zip gcc-a4a2087c4448dc3f4aa9501ae62143d532e00e4c.tar.gz gcc-a4a2087c4448dc3f4aa9501ae62143d532e00e4c.tar.bz2 |
compatibility.cc: Export long double versions of "C" math library for arm-linux-gnueabi...
2010-06-16 Matthias Klose <doko@ubuntu.com>
* src/compatibility.cc: Export long double versions of "C" math
library for arm-linux-gnueabi, m68k-linux-gnu (ColdFire),
mips*-linux-gnu (o32 ABI), sh*-linux-gnu (32 bit).
From-SVN: r160823
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/src/compatibility.cc | 6 |
2 files changed, 11 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d231ba2..ef09e83 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2010-06-16 Matthias Klose <doko@ubuntu.com> + + * src/compatibility.cc: Export long double versions of "C" math + library for arm-linux-gnueabi, m68k-linux-gnu (ColdFire), + mips*-linux-gnu (o32 ABI), sh*-linux-gnu (32 bit). + 2010-06-15 Jason Merrill <jason@redhat.com> * testsuite/lib/libstdc++.exp: Set additional_prunes. diff --git a/libstdc++-v3/src/compatibility.cc b/libstdc++-v3/src/compatibility.cc index dceebe1..ccbeaa1 100644 --- a/libstdc++-v3/src/compatibility.cc +++ b/libstdc++-v3/src/compatibility.cc @@ -410,7 +410,11 @@ GLIBCXX_3.4) // gcc-4.1.0 // Long double versions of "C" math functions. #if defined (_GLIBCXX_LONG_DOUBLE_COMPAT) \ - || (defined (__hppa__) && defined (__linux__)) + || (defined (__arm__) && defined (__linux__) && defined (__ARM_EABI__)) \ + || (defined (__hppa__) && defined (__linux__)) \ + || (defined (__m68k__) && defined (__mcoldfire__) && defined (__linux__)) \ + || (defined (__mips__) && defined (_ABIO32) && defined (__linux__)) \ + || (defined (__sh__) && defined (__linux__) && __SIZEOF_SIZE_T__ == 4) \ #define _GLIBCXX_MATHL_WRAPPER(name, argdecl, args, ver) \ extern "C" double \ |