diff options
author | andrew <andrew@FreeBSD.org> | 2013-09-07 14:04:10 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2013-09-07 14:04:10 +0000 |
commit | 59c30969f90a33d9696fe5b69fe545018ad76caa (patch) | |
tree | d742050140d3967fef8c5531b8fa6ef1d60bd3c2 /lib/libc/arm/softfloat/arm-gcc.h | |
parent | 5545e24af36227705bd4f73c058fcda754d117d8 (diff) | |
download | FreeBSD-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/softfloat/arm-gcc.h')
-rw-r--r-- | lib/libc/arm/softfloat/arm-gcc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/arm/softfloat/arm-gcc.h b/lib/libc/arm/softfloat/arm-gcc.h index 15bc509..0e20ef9 100644 --- a/lib/libc/arm/softfloat/arm-gcc.h +++ b/lib/libc/arm/softfloat/arm-gcc.h @@ -91,7 +91,7 @@ what the endianness of the CPU. VFP is sane. ------------------------------------------------------------------------------- */ #if defined(SOFTFLOAT_FOR_GCC) -#if defined(__VFP_FP__) || defined(__ARMEB__) +#if defined (__ARM_EABI__) || defined(__VFP_FP__) || defined(__ARMEB__) #define FLOAT64_DEMANGLE(a) (a) #define FLOAT64_MANGLE(a) (a) #else |