diff options
Diffstat (limited to 'arch/m32r/lib/libgcc.h')
-rw-r--r-- | arch/m32r/lib/libgcc.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/m32r/lib/libgcc.h b/arch/m32r/lib/libgcc.h new file mode 100644 index 000000000000..267aa435bc35 --- /dev/null +++ b/arch/m32r/lib/libgcc.h | |||
@@ -0,0 +1,23 @@ | |||
1 | #ifndef __ASM_LIBGCC_H | ||
2 | #define __ASM_LIBGCC_H | ||
3 | |||
4 | #include <asm/byteorder.h> | ||
5 | |||
6 | #ifdef __BIG_ENDIAN | ||
7 | struct DWstruct { | ||
8 | int high, low; | ||
9 | }; | ||
10 | #elif defined(__LITTLE_ENDIAN) | ||
11 | struct DWstruct { | ||
12 | int low, high; | ||
13 | }; | ||
14 | #else | ||
15 | #error I feel sick. | ||
16 | #endif | ||
17 | |||
18 | typedef union { | ||
19 | struct DWstruct s; | ||
20 | long long ll; | ||
21 | } DWunion; | ||
22 | |||
23 | #endif /* __ASM_LIBGCC_H */ | ||