BSD 4_3 release
[unix-history] / usr / src / ucb / pascal / src / pstab.h
CommitLineData
252367af
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 *
95f51977 6 * @(#)pstab.h 5.1 (Berkeley) 6/5/85
252367af 7 */
7298f606
PK
8
9 /*
73eeab33
PK
10 * subtypes within the stab type N_PC
11 *
12 * subtypes N_PSO and N_PSOL are .stabs name,N_PC,0,subtype,checksum
13 * others subtypes are .stabs name,N_PC,0,subtype,line
7298f606
PK
14 */
15#define N_PSO 0x1 /* source file name */
16#define N_PSOL 0x2 /* include file name */
17#define N_PGLABEL 0x3 /* global label */
18#define N_PGCONST 0x4 /* global constant */
19#define N_PGTYPE 0x5 /* global type */
20#define N_PGVAR 0x6 /* global variable */
21#define N_PGFUNC 0x7 /* global function */
22#define N_PGPROC 0x8 /* global procedure */
23#define N_PEFUNC 0x9 /* external function */
24#define N_PEPROC 0xa /* external procedure */
a65b6a9e
PK
25#define N_PLDATA 0xb /* library variable */
26#define N_PLTEXT 0xc /* library routine */
73eeab33
PK
27
28 /*
29 * checksums are used to check if included files have changed.
30 * we also use them to check that .o files are up to date with
31 * the libraries.
32 * if a checksum is less than the flag checksum,
33 * then the checksum (and therefore the .o file) is out of date.
34 * if a checksum is equal to the flag checksum,
35 * then no furthur checking of the checksum is done.
36 * this is for the 2nd and subsequent times a file is stabed.
37 * to declare a flag day, increment this value. (also be sure
38 * to update this value in ../utilities/externs.awk)
39 */
40#define N_FLAGCHECKSUM 1