From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- ANDROID_3.4.5/arch/mips/lib/libgcc.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ANDROID_3.4.5/arch/mips/lib/libgcc.h (limited to 'ANDROID_3.4.5/arch/mips/lib/libgcc.h') diff --git a/ANDROID_3.4.5/arch/mips/lib/libgcc.h b/ANDROID_3.4.5/arch/mips/lib/libgcc.h new file mode 100644 index 00000000..05909d58 --- /dev/null +++ b/ANDROID_3.4.5/arch/mips/lib/libgcc.h @@ -0,0 +1,25 @@ +#ifndef __ASM_LIBGCC_H +#define __ASM_LIBGCC_H + +#include + +typedef int word_type __attribute__ ((mode (__word__))); + +#ifdef __BIG_ENDIAN +struct DWstruct { + int high, low; +}; +#elif defined(__LITTLE_ENDIAN) +struct DWstruct { + int low, high; +}; +#else +#error I feel sick. +#endif + +typedef union { + struct DWstruct s; + long long ll; +} DWunion; + +#endif /* __ASM_LIBGCC_H */ -- cgit