[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: calling/runtime convention for ppc fbsd



Hi Peter,

Andreas Tobler wrote:

peterg_(_at_)_ptree32_(_dot_)_com_(_dot_)_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


_______________________________________________ freebsd-ppc_(_at_)_freebsd_(_dot_)_org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ppc To unsubscribe, send any mail to "freebsd-ppc-unsubscribe_(_at_)_freebsd_(_dot_)_org"


Visit your host, monkey.org