aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pall <mike>2011-12-10 17:15:38 +0100
committerMike Pall <mike>2011-12-10 17:15:38 +0100
commit2d8f3d75dfae1839224cf0c726eef9cb3b77eaa3 (patch)
treea91589ec62f7a45cce2007b03fdd62e08ba2845b
parent60b8e9e2fbc2df3281bc9fac714aad3fd7578717 (diff)
downloadluajit-2d8f3d75dfae1839224cf0c726eef9cb3b77eaa3.tar.gz
luajit-2d8f3d75dfae1839224cf0c726eef9cb3b77eaa3.tar.bz2
luajit-2d8f3d75dfae1839224cf0c726eef9cb3b77eaa3.zip
ARM: Error out for attempt to compile with hard-float ABI.
-rw-r--r--src/lj_arch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h
index 57940e94..50a6ef00 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -217,6 +217,9 @@
217#if defined(__ARMEB__) 217#if defined(__ARMEB__)
218#error "No support for big-endian ARM" 218#error "No support for big-endian ARM"
219#endif 219#endif
220#if defined(__ARM_PCS_VFP)
221#error "No support for ARM hard-float ABI (yet)"
222#endif
220#if !(__ARM_EABI__ || LJ_TARGET_OSX) 223#if !(__ARM_EABI__ || LJ_TARGET_OSX)
221#error "Only ARM EABI or iOS 3.0+ ABI is supported" 224#error "Only ARM EABI or iOS 3.0+ ABI is supported"
222#endif 225#endif