Check for hardfloat or softfloat eabi on ARM
()
| 1678 | |
| 1679 | |
| 1680 | def is_arm_hard_float_abi(): |
| 1681 | """Check for hardfloat or softfloat eabi on ARM""" |
| 1682 | # GCC versions 4.6 and above define __ARM_PCS or __ARM_PCS_VFP to specify |
| 1683 | # the Floating Point ABI used (PCS stands for Procedure Call Standard). |
| 1684 | # We use these as well as a couple of other defines to statically determine |
| 1685 | # what FP ABI used. |
| 1686 | |
| 1687 | return '__ARM_PCS_VFP' in cc_macros() |
| 1688 | |
| 1689 | |
| 1690 | def host_arch_cc(): |
no test coverage detected
searching dependent graphs…