summaryrefslogtreecommitdiffstats
path: root/contrib/gcc
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 /contrib/gcc
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 'contrib/gcc')
-rw-r--r--contrib/gcc/config/arm/ieee754-df.S2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud