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
|