ack/mach/proto/as/comm3.c

53 lines
1.1 KiB
C
Raw Normal View History

1994-06-24 14:02:31 +00:00
/* $Id$ */
1987-03-09 19:15:41 +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".
*/
1985-04-12 16:56:43 +00:00
/* @(#)comm3.c 1.1 */
/*
* storage allocation for variables
*/
#include "comm0.h"
#define extern /* empty, to force storage allocation */
#include "comm1.h"
1986-12-01 15:41:29 +00:00
#undef extern
1985-04-12 16:56:43 +00:00
struct outhead outhead = {
O_MAGIC, O_STAMP, 0
};
#include "y.tab.h"
item_t keytab[] = {
{0, EXTERN, 0, ".define"},
{0, EXTERN, 0, ".extern"},
{0, DOT, 0, "."},
{0, DATA, RELO1, ".data1"},
{0, DATA, RELO2, ".data2"},
{0, DATA, RELO4, ".data4"},
{0, DATAF, 4, ".dataf4"},
{0, DATAF, 8, ".dataf8"},
{0, ASCII, 0, ".ascii"},
{0, ASCII, 1, ".asciz"},
{0, ALIGN, 0, ".align"},
{0, ASSERT, 0, ".assert"},
{0, SPACE, 0, ".space"},
{0, COMMON, 0, ".comm"},
{0, SECTION, 0, ".sect"},
{0, BASE, 0, ".base"},
{0, SYMB, 0, ".symb"},
{0, SYMD, 0, ".symd"},
{0, LINE, 0, ".line"},
{0, FILe, 0, ".file"},
1985-04-12 16:56:43 +00:00
#ifdef LISTING
{0, LIST, 0, ".nolist"},
{0, LIST, 1, ".list"},
1985-04-12 16:56:43 +00:00
#endif
#include "mach3.c"
{0, 0, 0, 0}
1985-04-12 16:56:43 +00:00
};