X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=arch%2Farm%2Fnwfpe%2Fsoftfloat.h;h=0a3067452cd29767544cc4b3198d7eabc0a32b7c;hb=9ba5aa3126873a9c29999b78de20a52c5f87d389;hp=14151700b6b2f00e3722bd7b852d7b7404f31606;hpb=dad2ad82c5f058367df79de022bd12d36afcd065;p=powerpc.git diff --git a/arch/arm/nwfpe/softfloat.h b/arch/arm/nwfpe/softfloat.h index 14151700b6..0a3067452c 100644 --- a/arch/arm/nwfpe/softfloat.h +++ b/arch/arm/nwfpe/softfloat.h @@ -32,7 +32,6 @@ this code that are retained. #ifndef __SOFTFLOAT_H__ #define __SOFTFLOAT_H__ -#include /* ------------------------------------------------------------------------------- @@ -51,12 +50,18 @@ input or output the `floatx80' type will be defined. Software IEC/IEEE floating-point types. ------------------------------------------------------------------------------- */ -typedef unsigned long int float32; -typedef unsigned long long float64; +typedef u32 float32; +typedef u64 float64; typedef struct { - unsigned short high; - unsigned long long low; -} floatx80; +#ifdef __ARMEB__ + u16 __padding; + u16 high; +#else + u16 high; + u16 __padding; +#endif + u64 low; +} __attribute__ ((packed,aligned(4))) floatx80; /* -------------------------------------------------------------------------------