aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/arm/gen
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2012-01-20 06:54:30 +0000
committerDavid Schultz <das@FreeBSD.org>2012-01-20 06:54:30 +0000
commit7082a2cf72f2af64cd8554012cac6427a0c8e641 (patch)
tree5d27cd4fbd998f557b2eb9d944ced1092fe39a96 /lib/libc/arm/gen
parent9fa03ecd019011dc4a2c43db3c16de4fc0dac2ba (diff)
Don't inline fenv.h functions on arm for now. Inlining makes sense:
the function bodies require only 2 to 10 instructions. However, it leads to application binaries that refer to a private ABI, namely, the softfloat innards in libc. This could complicate future changes in the implementation of the floating-point emulation layer, so it seems best to have programs refer to the official fe* entry points in libm.
Notes
Notes: svn path=/head/; revision=230367
Diffstat (limited to 'lib/libc/arm/gen')
-rw-r--r--lib/libc/arm/gen/flt_rounds.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/arm/gen/flt_rounds.c b/lib/libc/arm/gen/flt_rounds.c
index defb5353ec48..81ab08b34c74 100644
--- a/lib/libc/arm/gen/flt_rounds.c
+++ b/lib/libc/arm/gen/flt_rounds.c
@@ -30,6 +30,8 @@ __FBSDID("$FreeBSD$");
#include <fenv.h>
#include <float.h>
+#include "softfloat-for-gcc.h"
+#include "milieu.h"
#include "softfloat.h"
int