From 423a7160af7fcffc61aac5e2e36d0b6b5b083214 Mon Sep 17 00:00:00 2001 From: Wilco Date: Thu, 17 Apr 2014 09:39:27 +0100 Subject: Add fenv test support for targets which don't have FP traps. --- sysdeps/arm/math-tests.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysdeps/arm') diff --git a/sysdeps/arm/math-tests.h b/sysdeps/arm/math-tests.h index e65f135..ea5f8dc 100644 --- a/sysdeps/arm/math-tests.h +++ b/sysdeps/arm/math-tests.h @@ -29,4 +29,7 @@ # define EXCEPTION_TESTS_long_double 0 #endif +/* Not all VFP implementations support trapping exceptions. */ +#define EXCEPTION_ENABLE_SUPPORTED(EXCEPT) ((EXCEPT) == 0) + #include_next -- cgit v1.1