Subject: Re: arm26 compiler fun
To: Richard Earnshaw <>
From: Ben Harris <>
List: tech-toolchain
Date: 05/15/2000 10:54:49
On Mon, 15 May 2000, Richard Earnshaw wrote:

> > On Mon, 8 May 2000, Richard Earnshaw wrote:
> > > Get rid of both of these (backwards compatibility hacks).  There are some 
> > > changes you will have to make to get the softfloat to compile (it makes 
> > > some broken assumptions about structure returning), but it is better to be 
> > > rid of this deviation from the standard compiler.
> > 
> > Removing those doesn't _seem_ to have stopped softfloat working.  I notice
> > that its forces it to be built with -freg-struct-return, so
> > the compiler's default opinion on the matter may be moot.
> > 
> Are you sure?

No.  Turned out I'd forgotten a key "make install" and it was all horribly
broken.  I'll work out what's _actually_ going on when I get a chance
(maybe this evening).

>  Check doubles.  These are returned from soft-float as a 
> struct containing two words.  Removing the above definitions will bring 
> the compiler into line with the APCS and will make -freg-struct-return the 
> default, but that mandates that such structures are returned in memory, 
> not in a pair of registers as a double should be.

I think I understand that...  I'll look into it.

Ben Harris                                                   <>
Portmaster, NetBSD/arm26               <URL:>