Revision: 16070
Author:   [email protected]
Date:     Tue Aug  6 04:08:32 2013
Log: r11951 changed the existing check for the __SOFTFP__ define in ARM platforms
to a check for __SOFTP. Most other programs look for __SOFTFP__ [1], so
look for both to increase the chances of not erroring out when using GCC 4.5.

[1] Based on http://codesearch.debian.net/search?q=__SOFTFP__ vs
    http://codesearch.debian.net/search?q=__SOFTFP[^_]

BUG=v8:2140
[email protected]

Review URL: https://codereview.chromium.org/22210002

Patch from Raphael Kubo da Costa <[email protected]>.
http://code.google.com/p/v8/source/detail?r=16070

Modified:
 /branches/bleeding_edge/src/platform-linux.cc

=======================================
--- /branches/bleeding_edge/src/platform-linux.cc       Wed Jul 31 00:51:46 2013
+++ /branches/bleeding_edge/src/platform-linux.cc       Tue Aug  6 04:08:32 2013
@@ -239,7 +239,8 @@
 #else
 #if defined(__ARM_PCS_VFP)
   return true;
-#elif defined(__ARM_PCS) || defined(__SOFTFP) || !defined(__VFP_FP__)
+#elif defined(__ARM_PCS) || defined(__SOFTFP__) || defined(__SOFTFP) || \
+      !defined(__VFP_FP__)
   return false;
 #else
#error "Your version of GCC does not report the FP ABI compiled for." \

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to