Subject: Re: arm26 compiler fun
To: Richard Earnshaw <rearnsha@arm.com>
From: Ben Harris <bjh21@netbsd.org>
List: tech-toolchain
Date: 05/14/2000 22:39:21
On Mon, 8 May 2000, Richard Earnshaw wrote:
> /* NetBSD uses the old PCC style aggregate returning conventions. */
> #undef DEFAULT_PCC_STRUCT_RETURN
> #define DEFAULT_PCC_STRUCT_RETURN 1
>
> /* Although not normally relevant (since by default, all aggregates
> are returned in memory) compiling some parts of libc requires
> non-APCS style struct returns. */
> #undef RETURN_IN_MEMORY
>
> 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 Makefile.inc forces it to be built with -freg-struct-return, so
the compiler's default opinion on the matter may be moot.
--
Ben Harris <bjh21@netbsd.org>
Portmaster, NetBSD/arm26 <URL:http://www.netbsd.org/Ports/arm26/>