122573Sdist /* 222573Sdist * Copyright (c) 1980 Regents of the University of California. 322573Sdist * All rights reserved. The Berkeley software License Agreement 422573Sdist * specifies the terms and conditions for redistribution. 522573Sdist * 6*33243Sbostic * @(#)object.h 5.2 (Berkeley) 01/03/88 722573Sdist */ 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 29*33243Sbostic int readobj(); /* read in the object file */ 30*33243Sbostic int objfree(); /* release storage for object file information */ 31