From a4ca51951804c14a5a8e331747649ca767bd8524 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 9 Aug 2012 10:04:56 -0700 Subject: Don't check HWCAP_ARM_VFP in OS-generic code. Presume VFP if compiled without __SOFTFP__ defined. --- ports/sysdeps/arm/fegetexcept.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'ports/sysdeps/arm/fegetexcept.c') diff --git a/ports/sysdeps/arm/fegetexcept.c b/ports/sysdeps/arm/fegetexcept.c index 929d6c5cfa..a71e7dad6c 100644 --- a/ports/sysdeps/arm/fegetexcept.c +++ b/ports/sysdeps/arm/fegetexcept.c @@ -1,5 +1,5 @@ /* Get floating-point exceptions. - Copyright (C) 2001, 2005 Free Software Foundation, Inc. + Copyright (C) 2001-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Philip Blundell , 2001 @@ -19,16 +19,13 @@ #include #include +#include -#include -#include -#include -#include int fegetexcept (void) { - if (GLRO (dl_hwcap) & HWCAP_ARM_VFP) + if (ARM_HAVE_VFP) { unsigned long temp; -- cgit v1.2.1