0001
0002
0003
0004
0005
0006 #ifndef __LIB_LIBGCC_H
0007 #define __LIB_LIBGCC_H
0008
0009 #include <asm/byteorder.h>
0010
0011 typedef int word_type __attribute__ ((mode (__word__)));
0012
0013 #ifdef __BIG_ENDIAN
0014 struct DWstruct {
0015 int high, low;
0016 };
0017 #elif defined(__LITTLE_ENDIAN)
0018 struct DWstruct {
0019 int low, high;
0020 };
0021 #else
0022 #error I feel sick.
0023 #endif
0024
0025 typedef union {
0026 struct DWstruct s;
0027 long long ll;
0028 } DWunion;
0029
0030 #endif