1989-02-07 11:04:05 +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".
|
|
|
|
*/
|
|
|
|
/* $Header$ */
|
|
|
|
/* A L I G N M E N T D E F I N I T I O N S */
|
|
|
|
|
|
|
|
#include "nocross.h"
|
1990-03-12 13:35:26 +00:00
|
|
|
#include "trgt_sizes.h"
|
1989-02-07 11:04:05 +00:00
|
|
|
|
|
|
|
#ifndef NOCROSS
|
|
|
|
extern int
|
|
|
|
short_align, word_align, int_align, long_align,
|
|
|
|
float_align, double_align, lngdbl_align,
|
|
|
|
pointer_align,
|
|
|
|
struct_align, union_align;
|
1991-12-17 13:12:22 +00:00
|
|
|
#else /* NOCROSS */
|
1989-02-07 11:04:05 +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)
|
|
|
|
#define float_align ((int)AL_FLOAT)
|
|
|
|
#define double_align ((int)AL_DOUBLE)
|
|
|
|
#define lngdbl_align ((int)AL_LNGDBL)
|
|
|
|
#define pointer_align ((int)AL_POINTER)
|
|
|
|
#define struct_align ((int)AL_STRUCT)
|
|
|
|
#define union_align ((int)AL_UNION)
|
1991-12-17 13:12:22 +00:00
|
|
|
#endif /* NOCROSS */
|
1989-02-07 11:04:05 +00:00
|
|
|
|
|
|
|
extern arith align();
|