[llvmlinux] ARM -mfpu=-softvfp+vfp

Renato Golin renato.golin at linaro.org
Wed Feb 19 11:18:35 UTC 2014


Following bug:


I think the fix for the second problem (softvfp) is *also* to change
the compilation flags.

The rationale is in Bernie's email:


Mainly that "softvfp+vfp" is ambiguous in many different ways and
implementing it would be promoting differences between the compilers,
rather than bringing them back together.

Also, we need first to ask what do GAS need to know about the PCS? Is
this just something that unknowingly got in for the Android build?
Does that flag really needs to be passed in that way, or can it be
just -Wa,-mfpu=vfp + -mfloat-abi=softfp? That has the same behaviour
on the compiler and is supported by both LLVM and GCC.


More information about the LLVMLinux mailing list