From 68d83b84c349d7d060a7b1fb9979360f515afb56 Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Fri, 25 Apr 2008 16:50:50 +0000 Subject: Fix some sh4 specific entries Signed-off-by: Carmelo Amoroso --- extra/Configs/Config.in | 1 + test/math/Makefile | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index f0abb1098..152bff86f 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -194,6 +194,7 @@ config TARGET_SUBARCH string default "e500" if CONFIG_E500 default "classic" if CONFIG_CLASSIC + default "sh4" if CONFIG_SH4 default "" source "extra/Configs/Config.in.arch" diff --git a/test/math/Makefile b/test/math/Makefile index 7ad92b10b..9e200269f 100644 --- a/test/math/Makefile +++ b/test/math/Makefile @@ -10,6 +10,11 @@ include ../Test.mak 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 -- cgit v1.2.3