Registerized function parameters and related things.
Fergus Henderson
fjh@cs.mu.OZ.AU
Mon Dec 2 22:45:00 GMT 2002
On 03-Dec-2002, Fabio Alemagna <falemagn@studenti.unina.it> wrote:
> On Mon, 2 Dec 2002, Richard Henderson wrote:
> > On Mon, Dec 02, 2002 at 11:58:04AM +0100, Fabio Alemagna wrote:
> > > Also, it would make it possible to build a 68k emulator on machines where
> > > the endianess were not a problem, which would transparently jump from/to
> > > 68k code...
> >
> > And thus libffi exists to make this sort of cross-calling possible.
>
> using external libraries is [out of the question],
> both for licensing problems abd "bloat" problems.
I don't see why using an external library is going to result in any more
code bloat than writing the equivalent code yourself (especially if you
use -ffunction-sections).
Is there a specific problem with the libffi license?
Even if there is, you could always reimplement libffi (or something similar)
yourself. That looks like it would be a cleaner solution than hacking
GCC in the way that you described.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
More information about the Gcc
mailing list