summaryrefslogtreecommitdiffstats
path: root/lib/libc/arm/arith.h
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2013-09-07 14:04:10 +0000
committerandrew <andrew@FreeBSD.org>2013-09-07 14:04:10 +0000
commit59c30969f90a33d9696fe5b69fe545018ad76caa (patch)
treed742050140d3967fef8c5531b8fa6ef1d60bd3c2 /lib/libc/arm/arith.h
parent5545e24af36227705bd4f73c058fcda754d117d8 (diff)
downloadFreeBSD-src-59c30969f90a33d9696fe5b69fe545018ad76caa.zip
FreeBSD-src-59c30969f90a33d9696fe5b69fe545018ad76caa.tar.gz
On ARM EABI double precision floating point values are stored in the
endian the CPU is in, i.e. little-endian on most ARM cores. This allows ARMv4 and ARMv5 boards to boot with the ARM EABI.
Diffstat (limited to 'lib/libc/arm/arith.h')
-rw-r--r--lib/libc/arm/arith.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/arm/arith.h b/lib/libc/arm/arith.h
index be78d86..5e2e389 100644
--- a/lib/libc/arm/arith.h
+++ b/lib/libc/arm/arith.h
@@ -11,7 +11,7 @@
* architecture. See contrib/gdtoa/gdtoaimp.h for details.
*/
-#if !defined(__ARMEB__) && defined(__VFP_FP__)
+#if !defined(__ARMEB__) && (defined(__VFP_FP__) || defined(__ARM_EABI__))
#define IEEE_8087
#define Arith_Kind_ASL 1
#define Sudden_Underflow
OpenPOWER on IntegriCloud