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: r160901
This commit is contained in:
Matthias Klose 2010-06-17 12:10:47 +00:00 committed by Matthias Klose
parent 258948b089
commit e811e96ea7
2 changed files with 11 additions and 1 deletions

View File

@ -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-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Backport from mainline:

View File

@ -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 \