summaryrefslogtreecommitdiff
path: root/Inferno/arm/include
diff options
context:
space:
mode:
Diffstat (limited to 'Inferno/arm/include')
-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;
};
};