1 /* 2 * Copyright (c) 1980 Regents of the University of California. 3 * All rights reserved. The Berkeley software License Agreement 4 * specifies the terms and conditions for redistribution. 5 * 6 * @(#)object.h 5.2 (Berkeley) 01/03/88 7 */ 8 9 /* 10 * Object module definitions. 11 * 12 * The object module is the interface to the object file; in particular 13 * it contains the routines that read symbol and line number information. 14 */ 15 16 char *objname; /* name of object file */ 17 int objsize; /* size of object code */ 18 19 struct { 20 unsigned int stringsize; /* size of the dumped string table */ 21 unsigned int nsyms; /* number of symbols */ 22 unsigned int nfiles; /* number of files */ 23 unsigned int nlines; /* number of lines */ 24 } nlhdr; 25 26 char *stringtab; /* string table */ 27 char *dotpfile; /* name of compiled file */ 28 29 int readobj(); /* read in the object file */ 30 int objfree(); /* release storage for object file information */ 31