ARM: improve VFP ABI check
authorMans Rullgard <mans@mansr.com>
Sun, 16 Jan 2011 18:42:36 +0000 (18:42 +0000)
committerMans Rullgard <mans@mansr.com>
Tue, 18 Jan 2011 20:48:25 +0000 (20:48 +0000)
commit44caaa560b8527acba99bc493040600add0fdb74
tree8021a4ccc3e0bdc2e301def6a3e4951128527c6d
parentb0c1b66a4bd2a3f55bde2a03334809504178918a
ARM: improve VFP ABI check

Recent gcc versions define __ARM_PCS or __ARM_PCS_VFP to indicate the
VFP ABI in use, and ARM RVCT defines __SOFTFP__ when using this ABI.
If none of these are defined, check $cross_prefix and $cc for the
substring "hardfloat", and finally fall back to a linker test.  This
gives the correct result in most configurations.
configure