1987-03-10 17:51:10 +00:00
|
|
|
/*
|
|
|
|
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
|
|
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
|
|
|
*/
|
1986-03-10 13:07:55 +00:00
|
|
|
/* $Header$ */
|
|
|
|
/* A L I G N M E N T D E F I N I T I O N S */
|
|
|
|
|
1986-09-24 13:53:16 +00:00
|
|
|
#include "nofloat.h"
|
1987-03-25 23:14:43 +00:00
|
|
|
#include "nocross.h"
|
|
|
|
#include "target_sizes.h"
|
1986-09-24 13:53:16 +00:00
|
|
|
|
1987-03-25 23:14:43 +00:00
|
|
|
#ifndef NOCROSS
|
1986-03-10 13:07:55 +00:00
|
|
|
extern int
|
|
|
|
short_align, word_align, int_align, long_align,
|
1986-09-12 09:16:07 +00:00
|
|
|
#ifndef NOFLOAT
|
|
|
|
float_align, double_align,
|
1991-12-17 14:11:15 +00:00
|
|
|
#endif /* NOFLOAT */
|
1986-09-12 09:16:07 +00:00
|
|
|
pointer_align,
|
1986-03-10 13:07:55 +00:00
|
|
|
struct_align, union_align;
|
1991-12-17 14:11:15 +00:00
|
|
|
#else /* NOCROSS */
|
1987-03-25 23:14:43 +00:00
|
|
|
#define short_align ((int)AL_SHORT)
|
|
|
|
#define word_align ((int)AL_WORD)
|
|
|
|
#define int_align ((int)AL_INT)
|
|
|
|
#define long_align ((int)AL_LONG)
|
|
|
|
#ifndef NOFLOAT
|
|
|
|
#define float_align ((int)AL_FLOAT)
|
|
|
|
#define double_align ((int)AL_DOUBLE)
|
1991-12-17 14:11:15 +00:00
|
|
|
#endif /* NOFLOAT */
|
1987-03-25 23:14:43 +00:00
|
|
|
#define pointer_align ((int)AL_POINTER)
|
|
|
|
#define struct_align ((int)AL_STRUCT)
|
|
|
|
#define union_align ((int)AL_UNION)
|
1991-12-17 14:11:15 +00:00
|
|
|
#endif /* NOCROSS */
|
1986-03-10 13:07:55 +00:00
|
|
|
|
|
|
|
extern arith align();
|