Re: Support for multiple calling conventions

Daniel Jacobowitz
2008-04-11T12:19:32Z

On Fri, Apr 11, 2008 at 12:52:31PM +0200, Corinna Vinschen wrote:
> - The return_value functions get the function type as argument,
> not the value type. They have to retrieve the value type from
> the function type themselves.
>
> - The return_value functions get an addition function type argument.
>
> - The return_value functions get an addition `unsigned calling_convention'
> argument.

IMO adding the function type is best. It's more extensible than
adding a calling convention argument which most platforms won't need,
and it changes the signature so that no one will get confused which
type is passed.

--
Daniel Jacobowitz
CodeSourcery