From 59c30969f90a33d9696fe5b69fe545018ad76caa Mon Sep 17 00:00:00 2001 From: andrew Date: Sat, 7 Sep 2013 14:04:10 +0000 Subject: 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. --- contrib/gcc/config/arm/ieee754-df.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/gcc') diff --git a/contrib/gcc/config/arm/ieee754-df.S b/contrib/gcc/config/arm/ieee754-df.S index 74d9f0d..70262a2 100644 --- a/contrib/gcc/config/arm/ieee754-df.S +++ b/contrib/gcc/config/arm/ieee754-df.S @@ -43,7 +43,7 @@ @ For FPA, float words are always big-endian. @ For VFP, floats words follow the memory system mode. -#if defined(__VFP_FP__) && !defined(__ARMEB__) +#if (defined(__ARM_EABI__) || defined(__VFP_FP__)) && !defined(__ARMEB__) #define xl r0 #define xh r1 #define yl r2 -- cgit v1.1