xref: /csrg-svn/usr.bin/pascal/pdx/object.h (revision 22573)
1*22573Sdist /*
2*22573Sdist  * Copyright (c) 1980 Regents of the University of California.
3*22573Sdist  * All rights reserved.  The Berkeley software License Agreement
4*22573Sdist  * specifies the terms and conditions for redistribution.
5*22573Sdist  *
6*22573Sdist  *	@(#)object.h	5.1 (Berkeley) 06/06/85
7*22573Sdist  */
85454Slinton 
95454Slinton /*
105454Slinton  * Object module definitions.
115454Slinton  *
125454Slinton  * The object module is the interface to the object file; in particular
135454Slinton  * it contains the routines that read symbol and line number information.
145454Slinton  */
155454Slinton 
165454Slinton char *objname;			/* name of object file */
175454Slinton int objsize;			/* size of object code */
185454Slinton 
195454Slinton struct {
205454Slinton 	unsigned int stringsize;	/* size of the dumped string table */
215454Slinton 	unsigned int nsyms;		/* number of symbols */
225454Slinton 	unsigned int nfiles;		/* number of files */
235454Slinton 	unsigned int nlines;		/* number of lines */
245454Slinton } nlhdr;
255454Slinton 
265454Slinton char *stringtab;	/* string table */
275454Slinton char *dotpfile;		/* name of compiled file */
285454Slinton 
295454Slinton readobj();		/* read in the object file */
305454Slinton objfree();		/* release storage for object file information */
31