summaryrefslogtreecommitdiff
path: root/Inferno/arm
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2009-06-27 21:08:09 +0000
committerCharles.Forsyth <devnull@localhost>2009-06-27 21:08:09 +0000
commit7b3bf63c0d3f8b97a41a7022310b70c5d40c6fc6 (patch)
tree9169f8693575244e32c6a5737c6e0879a91453ed /Inferno/arm
parent7cdb1d14cab5ad4eceb9edfc484ea272cf8a062d (diff)
20090627-2207
Diffstat (limited to 'Inferno/arm')
-rw-r--r--Inferno/arm/include/lib9.h2
-rw-r--r--Inferno/arm/include/u.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/Inferno/arm/include/lib9.h b/Inferno/arm/include/lib9.h
index aa72ded4..15a0c6ea 100644
--- a/Inferno/arm/include/lib9.h
+++ b/Inferno/arm/include/lib9.h
@@ -5,4 +5,4 @@
* Extensions for Inferno to basic libc.h
*/
-#undef __LITTLE_ENDIAN /* math/dtoa.c; longs in ARM doubles are big-endian */
+#define __LITTLE_ENDIAN /* math/dtoa.c; longs in ARM doubles are big-endian */
diff --git a/Inferno/arm/include/u.h b/Inferno/arm/include/u.h
index 2ab381d2..e3d6e897 100644
--- a/Inferno/arm/include/u.h
+++ b/Inferno/arm/include/u.h
@@ -44,9 +44,9 @@ typedef unsigned long uintptr;
union FPdbleword
{
double x;
- struct { /* big endian (on 7500) */
- ulong hi;
+ struct { /* little endian (on VFP and now in software) */
ulong lo;
+ ulong hi;
};
};