svn commit: trunk/uClibc: extra/Configs test/math

carmelo at uclibc.org carmelo at uclibc.org
Fri Apr 25 16:50:50 UTC 2008


Author: carmelo
Date: 2008-04-25 09:50:50 -0700 (Fri, 25 Apr 2008)
New Revision: 21862

Log:
Fix some sh4 specific entries

Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>


Modified:
   trunk/uClibc/extra/Configs/Config.in
   trunk/uClibc/test/math/Makefile


Changeset:
Modified: trunk/uClibc/extra/Configs/Config.in
===================================================================
--- trunk/uClibc/extra/Configs/Config.in	2008-04-25 16:45:49 UTC (rev 21861)
+++ trunk/uClibc/extra/Configs/Config.in	2008-04-25 16:50:50 UTC (rev 21862)
@@ -194,6 +194,7 @@
 	string
 	default "e500" if CONFIG_E500
 	default "classic" if CONFIG_CLASSIC
+	default "sh4" if CONFIG_SH4
 	default ""
 
 source "extra/Configs/Config.in.arch"

Modified: trunk/uClibc/test/math/Makefile
===================================================================
--- trunk/uClibc/test/math/Makefile	2008-04-25 16:45:49 UTC (rev 21861)
+++ trunk/uClibc/test/math/Makefile	2008-04-25 16:50:50 UTC (rev 21862)
@@ -10,6 +10,11 @@
 
 DODIFF_rint     := 1
 
+# NOTE: For basic-test we must disable the floating point optimization.
+#       Only for sh architecture because in the other architecture are disabled.
+ifeq ($(TARGET_ARCH),sh)
+CFLAGS_basic-test := -mieee
+endif
 EXTRA_CFLAGS    := -DNO_LONG_DOUBLE -fno-builtin
 EXTRA_LDFLAGS   := -lm
 




More information about the uClibc-cvs mailing list