aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sh')
-rw-r--r--sysdeps/sh/dl-machine.h2
-rw-r--r--sysdeps/sh/sh4/dl-machine.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/sh/dl-machine.h b/sysdeps/sh/dl-machine.h
index 108c8d0..1530f94 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 d0c9115..ec9f6f7 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>