Commit | Line | Data |
---|---|---|
3cd5310a DF |
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 | * | |
7d4de299 | 6 | * @(#)object.h 5.2 (Berkeley) %G% |
3cd5310a | 7 | */ |
0fa2cb75 ML |
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 | ||
7d4de299 KB |
29 | int readobj(); /* read in the object file */ |
30 | int objfree(); /* release storage for object file information */ |