From a751b2ef425202f2c30c0658bb8f46479cf8a915 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 26 Oct 1989 11:04:53 +0000 Subject: [PATCH] Use Motorola byte order for floating point --- mach/m68020/ce/mach.c | 3 +++ mach/m68020/libfp/byte_order.h | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/mach/m68020/ce/mach.c b/mach/m68020/ce/mach.c index 3dc6e490e..5867a70ef 100644 --- a/mach/m68020/ce/mach.c +++ b/mach/m68020/ce/mach.c @@ -27,4 +27,7 @@ char *filename; */ #define IEEEFLOAT +#define FL_MSL_AT_LOW_ADDRESS 1 +#define FL_MSW_AT_LOW_ADDRESS 1 +#define FL_MSB_AT_LOW_ADDRESS 1 #include diff --git a/mach/m68020/libfp/byte_order.h b/mach/m68020/libfp/byte_order.h index e7c51e106..50600a3fc 100644 --- a/mach/m68020/libfp/byte_order.h +++ b/mach/m68020/libfp/byte_order.h @@ -1,3 +1,6 @@ -#define BYTES_REVERSED 1 -#define WORDS_REVERSED 0 #define CHAR_UNSIGNED 0 +#define MSB_AT_LOW_ADDRESS 1 +#define MSW_AT_LOW_ADDRESS 1 +#define FL_MSB_AT_LOW_ADDRESS 1 +#define FL_MSW_AT_LOW_ADDRESS 1 +#define FL_MSL_AT_LOW_ADDRESS 1 -- 2.34.1