summary refs log tree commit diff
path: root/sysdeps/powerpc
diff options
context:
space:
mode:
authorGeoff Keating <geoffk@cygnus.com>2001-12-06 23:41:33 +0000
committerGeoff Keating <geoffk@cygnus.com>2001-12-06 23:41:33 +0000
commit6f064efa4c28e8f026d1bd07cfe49add44d085aa (patch)
tree86a76310234d22cba1e8eb0770bab218ea0c3f84 /sysdeps/powerpc
parent231340451b333e70a89d890ad702b513551d8de6 (diff)
downloadglibc-6f064efa4c28e8f026d1bd07cfe49add44d085aa.tar.gz
glibc-6f064efa4c28e8f026d1bd07cfe49add44d085aa.tar.xz
glibc-6f064efa4c28e8f026d1bd07cfe49add44d085aa.zip
* sysdeps/powerpc/Makefile (sysdep_routines): Don't build the fpr
save/restore functions here. 
(libm-support): Don't define these functions here. 
* sysdeps/powerpc/fpu/Makefile: Build the fpr save/restore 
functions here. 
* sysdeps/powerpc/fe_nomask.c: Move to... 
* sysdeps/powerpc/fpu/fe_nomask.c: ... here. 
* sysdeps/powerpc/fprrest.S: Move to... 
* sysdeps/powerpc/fpu/fprrest.S: ... here. 
* sysdeps/powerpc/fprsave.S: Move to... 
* sysdeps/powerpc/fpu/fprsave.S: ... here.
2001-12-06  Geoff Keating  <geoffk@redhat.com>

	* sysdeps/powerpc/Makefile (sysdep_routines): Don't build the fpr
	save/restore functions here.
	(libm-support): Don't define these functions here.
	* sysdeps/powerpc/fpu/Makefile: Build the fpr save/restore
	functions here.
	* sysdeps/powerpc/fe_nomask.c: Move to...
	* sysdeps/powerpc/fpu/fe_nomask.c: ... here.
	* sysdeps/powerpc/fprrest.S: Move to...
	* sysdeps/powerpc/fpu/fprrest.S: ... here.
	* sysdeps/powerpc/fprsave.S: Move to...
	* sysdeps/powerpc/fpu/fprsave.S: ... here.
Diffstat (limited to 'sysdeps/powerpc')
-rw-r--r--sysdeps/powerpc/Makefile6
-rw-r--r--sysdeps/powerpc/fpu/Makefile3
-rw-r--r--sysdeps/powerpc/fpu/fe_nomask.c (renamed from sysdeps/powerpc/fe_nomask.c)0
-rw-r--r--sysdeps/powerpc/fpu/fprrest.S (renamed from sysdeps/powerpc/fprrest.S)0
-rw-r--r--sysdeps/powerpc/fpu/fprsave.S (renamed from sysdeps/powerpc/fprsave.S)0
5 files changed, 4 insertions, 5 deletions
diff --git a/sysdeps/powerpc/Makefile b/sysdeps/powerpc/Makefile
index e5b026d05f..ac121ee2f5 100644
--- a/sysdeps/powerpc/Makefile
+++ b/sysdeps/powerpc/Makefile
@@ -6,10 +6,6 @@ asm-CPPFLAGS += -Wa,-mppc
 ifeq ($(with-fp),no)
 +cflags += -msoft-float
 sysdep-LDFLAGS += -msoft-float
-else
-ifeq ($(subdir),math)
-libm-support += fenv_const fe_nomask
-endif
 endif
 
 ifeq ($(subdir),gmon)
@@ -17,7 +13,7 @@ sysdep_routines += ppc-mcount
 endif
 
 ifeq ($(subdir),misc)
-sysdep_routines += gprsave0 gprrest0 gprsave1 gprrest1 fprsave fprrest
+sysdep_routines += gprsave0 gprrest0 gprsave1 gprrest1
 endif
 
 # On PPC, -fpic works until the GOT contains 2^15 bytes, and possibly
diff --git a/sysdeps/powerpc/fpu/Makefile b/sysdeps/powerpc/fpu/Makefile
index bf2ed92e7b..391cf3caf9 100644
--- a/sysdeps/powerpc/fpu/Makefile
+++ b/sysdeps/powerpc/fpu/Makefile
@@ -1,3 +1,6 @@
 ifeq ($(subdir),math)
 libm-support += fenv_const fe_nomask t_sqrt
 endif
+ifeq ($(subdir),misc)
+sysdep_routines += fprsave fprrest
+endif
diff --git a/sysdeps/powerpc/fe_nomask.c b/sysdeps/powerpc/fpu/fe_nomask.c
index ba45d85709..ba45d85709 100644
--- a/sysdeps/powerpc/fe_nomask.c
+++ b/sysdeps/powerpc/fpu/fe_nomask.c
diff --git a/sysdeps/powerpc/fprrest.S b/sysdeps/powerpc/fpu/fprrest.S
index 42317809eb..42317809eb 100644
--- a/sysdeps/powerpc/fprrest.S
+++ b/sysdeps/powerpc/fpu/fprrest.S
diff --git a/sysdeps/powerpc/fprsave.S b/sysdeps/powerpc/fpu/fprsave.S
index d7bc1ab7dc..d7bc1ab7dc 100644
--- a/sysdeps/powerpc/fprsave.S
+++ b/sysdeps/powerpc/fpu/fprsave.S