|
|
1.1 root 1: /* @(#)stab.h 1.1 85/12/18 SMI; from UCB X.X XX/XX/XX */
2:
3:
4: /* IF YOU ADD DEFINITIONS, ADD THEM TO nm.c as well */
5: /*
6: * This file gives definitions supplementing <a.out.h>
7: * for permanent symbol table entries.
8: * These must have one of the N_STAB bits on,
9: * and are subject to relocation according to the masks in <a.out.h>.
10: */
11: /*
12: * for symbolic debugger, sdb(1):
13: */
14: #define N_GSYM 0x20 /* global symbol: name,,0,type,0 */
15: #define N_FNAME 0x22 /* procedure name (f77 kludge): name,,0 */
16: #define N_FUN 0x24 /* procedure: name,,0,linenumber,address */
17: #define N_BFUN 0x24 /* For VAX Compatability */
18: #define N_STSYM 0x26 /* static symbol: name,,0,type,address */
19: #define N_LCSYM 0x28 /* .lcomm symbol: name,,0,type,address */
20: #define N_STFUN 0x32 /* static function: name,,0,type,0 */
21: #define N_RSYM 0x40 /* register sym: name,,0,type,register */
22: #define N_SLINE 0x44 /* src line: 0,,0,linenumber,address */
23: #define N_BSTR 0x5c /* begin structure: name,,0,type,length */
24: #define N_ESTR 0x5e /* end structure: name,,0,type,length */
25: #define N_SSYM 0x60 /* structure elt: name,,0,type,struct_offset */
26: #define N_SO 0x64 /* source file name: name,,0,0,address */
27: #define N_SFLD 0x70 /* structure field: name,,0,type,offset */
28: #define N_LSYM 0x80 /* local sym: name,,0,type,offset */
29: #define N_BINCL 0x82 /* header file: name,,0,0,0 */
30: #define N_SOL 0x84 /* #included file name: name,,0,0,address */
31: #define N_ESO 0x94 /* end source file: name,,0,0,address */
32: #define N_PSYM 0xa0 /* parameter: name,,0,type,offset */
33: #define N_EINCL 0xa2 /* end of include file */
34: #define N_ENTRY 0xa4 /* alternate entry: name,linenumber,address */
35: #define N_LBRAC 0xc0 /* left bracket: 0,,0,nesting level,address */
36: #define N_EXCL 0xc2 /* excluded include file */
37: #define N_RBRAC 0xe0 /* right bracket: 0,,0,nesting level,address */
38: #define N_BCOMM 0xe2 /* begin common: name,, */
39: #define N_ECOMM 0xe4 /* end common: name,, */
40: #define N_ECOML 0xe8 /* end common (local name): ,,address */
41: #define N_EFUN 0xf4 /* end of function: name,,0,type,address */
42: #define N_TYID 0xfa /* struct, union, or enum name */
43: #define N_DIM 0xfc /* dimension for arrays */
44: #define N_LENG 0xfe /* second stab entry with length information */
45:
46: /*
47: * for the berkeley pascal compiler, pc(1):
48: */
49: #define N_PC 0x30 /* global pascal symbol: name,,0,subtype,line */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.