Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 12 Jun 2000 23:58:46 +0000 (23:58 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 12 Jun 2000 23:58:46 +0000 (23:58 +0000)
* sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
instead of KERNEL_MATH_EMULATION.
* sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
KERNEL_MATH_EMULATION.

ChangeLog
sysdeps/sh/dl-machine.h
sysdeps/sh/sh4/dl-machine.h

index d7e0d3a..f0916a7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
+       instead of KERNEL_MATH_EMULATION.
+       * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
+       KERNEL_MATH_EMULATION.
+
        * sysdeps/sh/Dist: Removed.  There is no ieee754.h file.
        * sysdeps/sh/sh3/dl-machine.h: Moved to...
        * sysdeps/sh/dl-machine.h: ...here.  New file.
index 108c8d0..1530f94 100644 (file)
@@ -135,7 +135,7 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile)
 #define GOTJMP(x)      #x
 #endif
 
-#if defined (KERNEL_MATH_EMULATION)
+#ifdef HAVE_FPU
 #define FGR_SAVE       "\
        sts.l   fpscr, @-r15
        mov     #8,r3
index d0c9115..ec9f6f7 100644 (file)
@@ -1,2 +1,2 @@
-#define KERNEL_MATH_EMULATION
+#define HAVE_FPU
 #include <sysdeps/sh/dl-machine.h>