xref: /original-bsd/usr.bin/pascal/pdx/object.h (revision c3e32dec)
1 /*-
2  * Copyright (c) 1980, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)object.h	8.1 (Berkeley) 06/06/93
8  */
9 
10 /*
11  * Object module definitions.
12  *
13  * The object module is the interface to the object file; in particular
14  * it contains the routines that read symbol and line number information.
15  */
16 
17 char *objname;			/* name of object file */
18 int objsize;			/* size of object code */
19 
20 struct {
21 	unsigned int stringsize;	/* size of the dumped string table */
22 	unsigned int nsyms;		/* number of symbols */
23 	unsigned int nfiles;		/* number of files */
24 	unsigned int nlines;		/* number of lines */
25 } nlhdr;
26 
27 char *stringtab;	/* string table */
28 char *dotpfile;		/* name of compiled file */
29 
30 int readobj();		/* read in the object file */
31 int objfree();		/* release storage for object file information */
32