xref: /csrg-svn/usr.bin/pascal/pdx/object.h (revision 48104)
1*48104Sbostic /*-
2*48104Sbostic  * Copyright (c) 1980 The Regents of the University of California.
3*48104Sbostic  * All rights reserved.
422573Sdist  *
5*48104Sbostic  * %sccs.include.redist.c%
6*48104Sbostic  *
7*48104Sbostic  *	@(#)object.h	5.3 (Berkeley) 04/16/91
822573Sdist  */
95454Slinton 
105454Slinton /*
115454Slinton  * Object module definitions.
125454Slinton  *
135454Slinton  * The object module is the interface to the object file; in particular
145454Slinton  * it contains the routines that read symbol and line number information.
155454Slinton  */
165454Slinton 
175454Slinton char *objname;			/* name of object file */
185454Slinton int objsize;			/* size of object code */
195454Slinton 
205454Slinton struct {
215454Slinton 	unsigned int stringsize;	/* size of the dumped string table */
225454Slinton 	unsigned int nsyms;		/* number of symbols */
235454Slinton 	unsigned int nfiles;		/* number of files */
245454Slinton 	unsigned int nlines;		/* number of lines */
255454Slinton } nlhdr;
265454Slinton 
275454Slinton char *stringtab;	/* string table */
285454Slinton char *dotpfile;		/* name of compiled file */
295454Slinton 
3033243Sbostic int readobj();		/* read in the object file */
3133243Sbostic int objfree();		/* release storage for object file information */
32