align.h 904 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  3. * See the copyright notice in the ACK home directory, in the file "Copyright".
  4. */
  5. /* $Id$ */
  6. /* A L I G N M E N T D E F I N I T I O N S */
  7. #include "nofloat.h"
  8. #include "nocross.h"
  9. #include "target_sizes.h"
  10. #ifndef NOCROSS
  11. extern int
  12. short_align, word_align, int_align, long_align,
  13. #ifndef NOFLOAT
  14. float_align, double_align,
  15. #endif /* NOFLOAT */
  16. pointer_align,
  17. struct_align, union_align;
  18. #else /* NOCROSS */
  19. #define short_align ((int)AL_SHORT)
  20. #define word_align ((int)AL_WORD)
  21. #define int_align ((int)AL_INT)
  22. #define long_align ((int)AL_LONG)
  23. #ifndef NOFLOAT
  24. #define float_align ((int)AL_FLOAT)
  25. #define double_align ((int)AL_DOUBLE)
  26. #endif /* NOFLOAT */
  27. #define pointer_align ((int)AL_POINTER)
  28. #define struct_align ((int)AL_STRUCT)
  29. #define union_align ((int)AL_UNION)
  30. #endif /* NOCROSS */
  31. extern arith align();