summaryrefslogtreecommitdiffstats
path: root/ndk/platforms/android-13
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-09-26 16:20:56 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2014-09-26 16:20:56 +0800
commit3dbef8fe114196155f1a13c7db865573542641e9 (patch)
tree2e8bb25c3e70c2c5291e4f9275c13cb2646b929b /ndk/platforms/android-13
parent20d16a75b2e14fe8408e664cad0faae07f200f47 (diff)
downloadandroid_development-3dbef8fe114196155f1a13c7db865573542641e9.tar.gz
android_development-3dbef8fe114196155f1a13c7db865573542641e9.tar.bz2
android_development-3dbef8fe114196155f1a13c7db865573542641e9.zip
Bump up clang vesion accepting __builtin_isnan __attribute__((pcs("aapcs")))
Upstream clang3.6 still doesn't allow change of calling convension of __builtin_isnan from the default to "softfp" (via __attribute__((pcs("aapcs")))) as required by bionic libm.so for 32-bit ARM. Let's hope clang3.7 fix that. See upstream bug http://llvm.org/bugs/show_bug.cgi?id=20958 Change-Id: Ibdcc1783ffa7cf2f36e733983bd6d912ad38df70
Diffstat (limited to 'ndk/platforms/android-13')
-rw-r--r--ndk/platforms/android-13/include/math.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ndk/platforms/android-13/include/math.h b/ndk/platforms/android-13/include/math.h
index 3d06e6239..8dcf87f81 100644
--- a/ndk/platforms/android-13/include/math.h
+++ b/ndk/platforms/android-13/include/math.h
@@ -528,7 +528,7 @@ double __builtin_fma(double, double, double) __NDK_FPABI_MATH__;
double __builtin_hypot(double, double) __NDK_FPABI_MATH__;
int __builtin_ilogb(double) __NDK_FPABI_MATH__ __pure2;
/* int __builtin_isinf(double) __NDK_FPABI_MATH__ __pure2; */
-#if !defined(__clang__) || __clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 6)
+#if !defined(__clang__) || __clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 7)
int __builtin_isnan(double) __NDK_FPABI_MATH__ __pure2;
#else
/* clang < 3.5 has faulty prototype for __builtin_isnan */