about summary refs log tree commit diff
path: root/sysdeps/arm/test-fpucw.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/arm/test-fpucw.c')
-rw-r--r--sysdeps/arm/test-fpucw.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/arm/test-fpucw.c b/sysdeps/arm/test-fpucw.c
new file mode 100644
index 0000000000..9fc721c7f4
--- /dev/null
+++ b/sysdeps/arm/test-fpucw.c
@@ -0,0 +1,5 @@
+/* Defining _LIBC_TEST stops fpu_control.h from defining the
+   hard-float versions of macros (for use with dynamic VFP detection)
+   when compiling for soft-float.  */
+#define _LIBC_TEST
+#include <math/test-fpucw.c>