diff options
author | das <das@FreeBSD.org> | 2012-01-20 06:54:30 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2012-01-20 06:54:30 +0000 |
commit | 062863058064f1d7107e2f981a810d25709ae8ef (patch) | |
tree | 5d27cd4fbd998f557b2eb9d944ced1092fe39a96 /lib/libc | |
parent | eb8ecc65f7fa5c02118488dbceb9bc57176e4867 (diff) | |
download | FreeBSD-src-062863058064f1d7107e2f981a810d25709ae8ef.zip FreeBSD-src-062863058064f1d7107e2f981a810d25709ae8ef.tar.gz |
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.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/arm/gen/flt_rounds.c | 2 |
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 defb535..81ab08b 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 |