linux-mips
[Top] [All Lists]

Re: soft-float defines in mips-linux gcc config

To: Jay Carlson <nop@nop.com>
Subject: Re: soft-float defines in mips-linux gcc config
From: Daniel Jacobowitz <dan@debian.org>
Date: Tue, 3 Sep 2002 15:15:36 -0400
Cc: linux-mips@linux-mips.org
In-reply-to: <648A6FF8-BF38-11D6-B21F-0030658AB11E@nop.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <648A6FF8-BF38-11D6-B21F-0030658AB11E@nop.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.1i
On Tue, Sep 03, 2002 at 08:26:37AM -0400, Jay Carlson wrote:
> Right now there is a small bug in how mips-linux configures gcc for 
> softfloat.
> 
> In gcc/config/mips/t-linux, we set up libgcc to include the soft 
> floating point code, using the GNU names, like __addsi3.  But because 
> mips/linux.h includes mips/ecoff.h, gcc produces calls to the GOFAST 
> style names (like dpmul, very namespace-contaminating.)
> 
> mips/netbsd.h cleans up after mips/elf.h by doing:
> 
> #undef US_SOFTWARE_GOFAST
> #undef INIT_SUBTARGET_OPTABS
> #define INIT_SUBTARGET_OPTABS
> 
> which would fix the problem for mips/linux.h as well.

When commenting on GCC issues, please say which version you're talking
about - I'm pretty sure this is fixed in 3.2, and I know you aren't
talking about HEAD, since HEAD hasn't built right on mips-linux in a
month (Eric will fix this in a bit).

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

<Prev in Thread] Current Thread [Next in Thread>