summaryrefslogtreecommitdiff
path: root/libm/sh
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2010-12-17 08:11:12 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2010-12-17 08:17:14 +0100
commit5a1453f20c9ba7023f1836bdcd5ab06963f927a1 (patch)
tree4bc922995ebbeb02fa723433416026a6e8207e7a /libm/sh
parent6c6720bb831b14c77d3eb8f5f7061e095df6ea47 (diff)
libm_sh: Move fenv functions into sh4 sub-folder
Indeed fenv funxtions are SH4 specific, so move them into an SH4 specific sub-folder. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libm/sh')
-rw-r--r--libm/sh/sh4/Makefile.arch (renamed from libm/sh/Makefile.arch)7
-rw-r--r--libm/sh/sh4/feholdexcpt.c (renamed from libm/sh/feholdexcpt.c)0
-rw-r--r--libm/sh/sh4/fesetenv.c (renamed from libm/sh/fesetenv.c)0
3 files changed, 4 insertions, 3 deletions
diff --git a/libm/sh/Makefile.arch b/libm/sh/sh4/Makefile.arch
index 6425b3ede..122d84da2 100644
--- a/libm/sh/Makefile.arch
+++ b/libm/sh/sh4/Makefile.arch
@@ -1,13 +1,14 @@
# Makefile for uClibc
#
-# Copyright (c) 2007 STMicroelectronics Ltd
+# Copyright (c) 2007, 2010 STMicroelectronics Ltd
#
+# Author(s): Carmelo Amoroso <carmelo.amoroso@st.com>
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
ifeq ($(UCLIBC_HAS_FENV),y)
-libm_ARCH_SRC:=$(wildcard $(libm_ARCH_DIR)/*.c)
-libm_ARCH_OBJ:=$(patsubst $(libm_ARCH_DIR)/%.c,$(libm_ARCH_OUT)/%.o,$(libm_ARCH_SRC))
+libm_ARCH_SRC:=$(wildcard $(libm_SUBARCH_DIR)/*.c)
+libm_ARCH_OBJ:=$(patsubst $(libm_SUBARCH_DIR)/%.c,$(libm_SUBARCH_OUT)/%.o,$(libm_ARCH_SRC))
endif
libm_ARCH_OBJS:=$(libm_ARCH_OBJ)
diff --git a/libm/sh/feholdexcpt.c b/libm/sh/sh4/feholdexcpt.c
index 70b51e8dd..70b51e8dd 100644
--- a/libm/sh/feholdexcpt.c
+++ b/libm/sh/sh4/feholdexcpt.c
diff --git a/libm/sh/fesetenv.c b/libm/sh/sh4/fesetenv.c
index c5cfc1d51..c5cfc1d51 100644
--- a/libm/sh/fesetenv.c
+++ b/libm/sh/sh4/fesetenv.c