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".
|
|
|
|
*/
|
1994-06-24 14:02:31 +00:00
|
|
|
/* $Id$ */
|
1986-03-10 13:07:55 +00:00
|
|
|
/* VARIOUS TARGET MACHINE SIZE DESCRIPTORS */
|
|
|
|
|
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 arith
|
|
|
|
short_size, word_size, dword_size, int_size, long_size,
|
1986-09-12 09:16:07 +00:00
|
|
|
#ifndef NOFLOAT
|
|
|
|
float_size, double_size,
|
1991-12-17 14:11:15 +00:00
|
|
|
#endif /* NOFLOAT */
|
1986-09-12 09:16:07 +00:00
|
|
|
pointer_size;
|
1991-12-17 14:11:15 +00:00
|
|
|
#else /* NOCROSS */
|
1987-03-25 23:14:43 +00:00
|
|
|
#define short_size (SZ_SHORT)
|
|
|
|
#define word_size (SZ_WORD)
|
|
|
|
#define dword_size (2*SZ_WORD)
|
|
|
|
#define int_size (SZ_INT)
|
|
|
|
#define long_size (SZ_LONG)
|
|
|
|
#ifndef NOFLOAT
|
|
|
|
#define float_size (SZ_FLOAT)
|
|
|
|
#define double_size (SZ_DOUBLE)
|
1991-12-17 14:11:15 +00:00
|
|
|
#endif /* NOFLOAT */
|
1987-03-25 23:14:43 +00:00
|
|
|
#define pointer_size (SZ_POINTER)
|
1991-12-17 14:11:15 +00:00
|
|
|
#endif /* NOCROSS */
|
1986-03-10 13:07:55 +00:00
|
|
|
|
|
|
|
extern arith max_int, max_unsigned; /* cstoper.c */
|