Commit | Line | Data |
---|---|---|
0fa2cb75 ML |
1 | /* Copyright (c) 1982 Regents of the University of California */ |
2 | ||
785a29f2 | 3 | /* static char sccsid[] = "@(#)object.h 1.3 %G%"; */ |
0fa2cb75 ML |
4 | |
5 | /* | |
6 | * Object module definitions. | |
7 | * | |
8 | * The object module is the interface to the object file; in particular | |
9 | * it contains the routines that read symbol and line number information. | |
10 | */ | |
11 | ||
12 | char *objname; /* name of object file */ | |
13 | int objsize; /* size of object code */ | |
14 | ||
15 | struct { | |
16 | unsigned int stringsize; /* size of the dumped string table */ | |
17 | unsigned int nsyms; /* number of symbols */ | |
18 | unsigned int nfiles; /* number of files */ | |
19 | unsigned int nlines; /* number of lines */ | |
20 | } nlhdr; | |
21 | ||
22 | char *stringtab; /* string table */ | |
23 | char *dotpfile; /* name of compiled file */ | |
24 | ||
0fa2cb75 ML |
25 | readobj(); /* read in the object file */ |
26 | objfree(); /* release storage for object file information */ |