xref: /csrg-svn/usr.bin/pascal/pdx/object.h (revision 62131)
148104Sbostic /*-
2*62131Sbostic  * Copyright (c) 1980, 1993
3*62131Sbostic  *	The Regents of the University of California.  All rights reserved.
422573Sdist  *
548104Sbostic  * %sccs.include.redist.c%
648104Sbostic  *
7*62131Sbostic  *	@(#)object.h	8.1 (Berkeley) 06/06/93
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