1 /*- 2 * Copyright (c) 1980 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)object.h 5.3 (Berkeley) 04/16/91 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