[uClibc] Re: -msoft-float bug on mipsel solved

David Wuertele dave-gnus at bfnet.com
Tue Aug 12 16:58:13 UTC 2003


>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8765

And here's the fully tested patch.  I save this in:
buildroot/sources/gcc-004-mips-softfloat.patch
Dave

--- gcc-3.3/gcc/config/t-linux~	2002-11-28 06:47:01.000000000 -0800
+++ gcc-3.3/gcc/config/t-linux	2003-08-10 21:39:29.000000000 -0700
@@ -4,7 +4,7 @@
 # Compile crtbeginS.o and crtendS.o with pic.
 CRTSTUFF_T_CFLAGS_S = $(CRTSTUFF_T_CFLAGS) -fPIC
 # Compile libgcc2.a with pic.
-TARGET_LIBGCC2_CFLAGS = -fPIC
+TARGET_LIBGCC2_CFLAGS = -fPIC -msoft-float
 
 # Override t-slibgcc-elf-ver to export some libgcc symbols with
 # the symbol versions that glibc used.




More information about the uClibc mailing list