ARM linux mailing lists FAQ about floating point support.

Nicolas Pitre nico at cam.org
Thu Sep 10 16:57:26 EDT 2009


On Thu, 10 Sep 2009, Gilles Chanteperdrix wrote:

> Nicolas Pitre wrote:
> > On Thu, 10 Sep 2009, Gilles Chanteperdrix wrote:
> > 
> >> Nicolas Pitre wrote:
> >>> On Thu, 10 Sep 2009, Gilles Chanteperdrix wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> It seems the FAQ here:
> >>>> http://www.arm.linux.org.uk/mailinglists/faq.php#f4
> >>>>
> >>>> is a bit outdated, since it does not mention that EABI solves the issue.
> >>> And just how would EABI solve the issue?
> >> By allowing to mix soft-float and hard-float programs with only one libc?
> > 
> > Err... How?
> 
> Well, I read somewhere that EABI allows mixing soft-float and hard-float
> code and must have assumed it was true. But you made me doubt.
> 
> But since compiling both a hard-float program and a soft-float program
> with the same toolchain does not produce any compilation or link-edition
> error, I still tend to think it is true.

Well, actually it seems that gcc can only do -mfloat-abi=softfp and 
surprizingly -mfloat-abi=hard is unimplemented for VFP.  So in that case 
mixing soft and hard float objects is fine.


Nicolas



More information about the linux-arm-kernel mailing list