about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog14
-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
6 files changed, 18 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index d15a8cbcf8..e6ae9e48ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+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.
+
 2001-12-06  Ulrich Drepper  <drepper@redhat.com>
 
 	* sysdeps/unix/sysv/linux/opensock.c: New file.
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