1*21312Sdist /* 2*21312Sdist * Copyright (c) 1980 Regents of the University of California. 3*21312Sdist * All rights reserved. The Berkeley software License Agreement 4*21312Sdist * specifies the terms and conditions for redistribution. 5*21312Sdist * 6*21312Sdist * @(#)stab.h 5.1 (Berkeley) 05/30/85 7*21312Sdist */ 812194Ssam 912194Ssam /* IF YOU ADD DEFINITIONS, ADD THEM TO nm.c as well */ 1012194Ssam /* 1112194Ssam * This file gives definitions supplementing <a.out.h> 1212194Ssam * for permanent symbol table entries. 1312194Ssam * These must have one of the N_STAB bits on, 1412194Ssam * and are subject to relocation according to the masks in <a.out.h>. 1512194Ssam */ 1612194Ssam /* 1712194Ssam * for symbolic debugger, sdb(1): 1812194Ssam */ 1912194Ssam #define N_GSYM 0x20 /* global symbol: name,,0,type,0 */ 2012194Ssam #define N_FNAME 0x22 /* procedure name (f77 kludge): name,,0 */ 2112194Ssam #define N_FUN 0x24 /* procedure: name,,0,linenumber,address */ 2212194Ssam #define N_STSYM 0x26 /* static symbol: name,,0,type,address */ 2312194Ssam #define N_LCSYM 0x28 /* .lcomm symbol: name,,0,type,address */ 2412194Ssam #define N_RSYM 0x40 /* register sym: name,,0,type,register */ 2512194Ssam #define N_SLINE 0x44 /* src line: 0,,0,linenumber,address */ 2612194Ssam #define N_SSYM 0x60 /* structure elt: name,,0,type,struct_offset */ 2712194Ssam #define N_SO 0x64 /* source file name: name,,0,0,address */ 2812194Ssam #define N_LSYM 0x80 /* local sym: name,,0,type,offset */ 2912194Ssam #define N_SOL 0x84 /* #included file name: name,,0,0,address */ 3012194Ssam #define N_PSYM 0xa0 /* parameter: name,,0,type,offset */ 3112194Ssam #define N_ENTRY 0xa4 /* alternate entry: name,linenumber,address */ 3212194Ssam #define N_LBRAC 0xc0 /* left bracket: 0,,0,nesting level,address */ 3312194Ssam #define N_RBRAC 0xe0 /* right bracket: 0,,0,nesting level,address */ 3412194Ssam #define N_BCOMM 0xe2 /* begin common: name,, */ 3512194Ssam #define N_ECOMM 0xe4 /* end common: name,, */ 3612194Ssam #define N_ECOML 0xe8 /* end common (local name): ,,address */ 3712194Ssam #define N_LENG 0xfe /* second stab entry with length information */ 3812194Ssam 3912194Ssam /* 4012194Ssam * for the berkeley pascal compiler, pc(1): 4112194Ssam */ 4212194Ssam #define N_PC 0x30 /* global pascal symbol: name,,0,subtype,line */ 43