On 06 Sep 2011, at 03:05, peter green wrote:

> Afaict from quick tests freepascal does support vfp but based on my tests 
> always uses the "soft" calling convention. So it won't link correctly with C 
> code that uses floating point parameters on debian armhf.
> 
> 1: can someone who knows the fpc arm code confirm the above statement?

FPC indeed only supports the soft and softfp conventions.

> 2: does anyone have any idea what it would take to add support for the eabi 
> vfp calling convention and for building fpc binaries that use it by default 
> (just as armel FPC binaries use eabi by default)

Someone has to implement support for that calling convention in 
compiler/arm/cpupara.pas. Maybe some assembler code in the RTL also has to be 
modified.

> 3: does anyone have any plans to actually do so

Not me.


Jonas_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to