On 18 February 2014 13:55, Richard Earnshaw rearnsha@arm.com wrote:
I honestly don't remember what -mfpu=softvfp+vfp is without going to look it up... you're talking about code that was written 11 years ago!
I know! Sorry to bring sorrow after so many years... ;)
the +vfp was probably meant to imply that vfp instructions could be used as well, but didn't change the ABI (doesn't imply float-abi=hard)
Yes. The meaning is soft ABI with VFP instructions, which can be particularly useful for Android, which is soft-ABI only but mostly runs on ARMv7 hardware.
-- I would say the combination you describe above is probably meaningless.
One use would be if the kernel is set up as a "hard-float platform" (for system/user code), but still uses soft-float ABI (for whatever crazy reasons).
In the gcc world triplets are only used during configuration of the compiler to set the various defaults, they never override something given on the command line at run time. It is possible to create meaningless combinations of some options (thumb1 + hard-float ABI is currently one that GCC can't handle).
We're also trying to reduce the importance of the triples, so I think the most sensible thing to do is to just override and call it a day.
Thanks for the input!
cheers, --renato