Linux MIPS Architecture development
 help / color / mirror / Atom feed
* soft-float defines in mips-linux gcc config
@ 2002-09-03 12:26 Jay Carlson
  2002-09-03 19:15 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Jay Carlson @ 2002-09-03 12:26 UTC (permalink / raw)
  To: linux-mips; +Cc: Jay Carlson

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.

Jay

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-04 18:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-03 12:26 soft-float defines in mips-linux gcc config Jay Carlson
2002-09-03 19:15 ` Daniel Jacobowitz
2002-09-04 18:19   ` Jay Carlson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox