This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Registerized function parameters and related things.


On Mon, 2 Dec 2002, Richard Henderson wrote:

> On Tue, Dec 03, 2002 at 01:01:29AM +0100, Fabio Alemagna wrote:
> > Besides, from the libffi's README file:
> >
> >     Libffi assumes that you have a pointer to the function you wish to
> >     call and that you know the number and types of arguments to pass it,
> >     as well as the return type of the function.
> >
> > Now, whilst I can (obviously) meet the 1st requirement, as I explained I
> > cannot meet the other ones!
>
> Then your problem is not solvable in general.  There are far
> too many variations in calling convention to do what you want.

Geez, I already explained the solution, and it's the one I want to
implement. I asked where to start from, that's all.

Fabio Alemagna


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]