calling/runtime convention for ppc fbsd

peterg at ptree32.com.au peterg at ptree32.com.au
Thu Jun 2 15:12:38 PDT 2005


>>>> 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 ?

 I have to say I'm not sure. The FreeBSD gcc config is basically 'sysv4',
but maybe that's been changed to not do the structure passing as in
the ABI document. You may want to look at the linux config file in
gcc/config/rs6000/ and see if they override some of the sysv4.h definitions.

later,

Peter.


More information about the freebsd-ppc mailing list