libgcc.h 383 B

12345678910111213141516171819202122232425
  1. #ifndef __ASM_LIBGCC_H
  2. #define __ASM_LIBGCC_H
  3. #include <asm/byteorder.h>
  4. typedef int word_type __attribute__ ((mode (__word__)));
  5. #ifdef __BIG_ENDIAN
  6. struct DWstruct {
  7. int high, low;
  8. };
  9. #elif defined(__LITTLE_ENDIAN)
  10. struct DWstruct {
  11. int low, high;
  12. };
  13. #else
  14. #error I feel sick.
  15. #endif
  16. typedef union {
  17. struct DWstruct s;
  18. long long ll;
  19. } DWunion;
  20. #endif /* __ASM_LIBGCC_H */