aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-12 23:58:46 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-12 23:58:46 +0000
commitafa0db7ac357269605808e7d21a584ef28eacec3 (patch)
tree9b883f8d51cc5971d03e8712bc8426517f0dd15c
parent65074d231159847217af88e47c2b71df50aead21 (diff)
downloadglibc-afa0db7ac357269605808e7d21a584ef28eacec3.tar
glibc-afa0db7ac357269605808e7d21a584ef28eacec3.tar.gz
glibc-afa0db7ac357269605808e7d21a584ef28eacec3.tar.bz2
glibc-afa0db7ac357269605808e7d21a584ef28eacec3.zip
Update.
* 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.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/sh/dl-machine.h2
-rw-r--r--sysdeps/sh/sh4/dl-machine.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d7e0d3a886..f0916a7b61 100644
--- 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.
diff --git a/sysdeps/sh/dl-machine.h b/sysdeps/sh/dl-machine.h
index 108c8d002c..1530f946f8 100644
--- a/sysdeps/sh/dl-machine.h
+++ b/sysdeps/sh/dl-machine.h
@@ -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
diff --git a/sysdeps/sh/sh4/dl-machine.h b/sysdeps/sh/sh4/dl-machine.h
index d0c9115e51..ec9f6f7b45 100644
--- a/sysdeps/sh/sh4/dl-machine.h
+++ b/sysdeps/sh/sh4/dl-machine.h
@@ -1,2 +1,2 @@
-#define KERNEL_MATH_EMULATION
+#define HAVE_FPU
#include <sysdeps/sh/dl-machine.h>