From 7b3bf63c0d3f8b97a41a7022310b70c5d40c6fc6 Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Sat, 27 Jun 2009 21:08:09 +0000 Subject: 20090627-2207 --- Inferno/arm/include/lib9.h | 2 +- Inferno/arm/include/u.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Inferno/arm') 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; }; }; -- cgit v1.2.3