calling/runtime convention for ppc fbsd

Andreas Tobler toa at pop.agri.ch
Thu Jun 2 14:17:13 PDT 2005


Hi Peter,

Andreas Tobler wrote:

> peterg at ptree32.com.au wrote:
> 
>>> which caling / runtime convention does fbsd ppc follow? The sysv4 
>>> from SUN dated around september 1995? Or is it another one?
>>
>>
>>
>>  That's the one.
> 
> 
> Ok.

Exactly the one above?

I mean, small structures are passed in registers and not per reference ?

Linuxppc passes structures per reference while the above ABI states to 
pass them in registers if they are smaller than 8 bytes.
Maybe this is the problem I see. Hm, I need to implement it then.
My libffi port has only a few failures in the small struct area.

Andreas




More information about the freebsd-ppc mailing list