xref: /csrg-svn/usr.bin/pascal/src/pstab.h (revision 14128)
1*14128Speter     /*	static	char sccsid[] = "@(#)pstab.h 1.4 07/26/83"; */
2845Speter 
3845Speter     /*
4*14128Speter      *	subtypes within the stab type N_PC
5*14128Speter      *
6*14128Speter      *	subtypes N_PSO and N_PSOL are	.stabs	name,N_PC,0,subtype,checksum
7*14128Speter      *	others subtypes are		.stabs	name,N_PC,0,subtype,line
8845Speter      */
9845Speter #define	N_PSO		0x1	/* source file name */
10845Speter #define	N_PSOL		0x2	/* include file name */
11845Speter #define	N_PGLABEL	0x3	/* global label */
12845Speter #define	N_PGCONST	0x4	/* global constant */
13845Speter #define	N_PGTYPE	0x5	/* global type */
14845Speter #define	N_PGVAR		0x6	/* global variable */
15845Speter #define	N_PGFUNC	0x7	/* global function */
16845Speter #define	N_PGPROC	0x8	/* global procedure */
17845Speter #define	N_PEFUNC	0x9	/* external function */
18845Speter #define	N_PEPROC	0xa	/* external procedure */
197602Speter #define	N_PLDATA	0xb	/* library variable */
207602Speter #define	N_PLTEXT	0xc	/* library routine */
21*14128Speter 
22*14128Speter     /*
23*14128Speter      *	checksums are used to check if included files have changed.
24*14128Speter      *	we also use them to check that .o files are up to date with
25*14128Speter      *	the libraries.
26*14128Speter      *	if a checksum is less than the flag checksum,
27*14128Speter      *	then the checksum (and therefore the .o file) is out of date.
28*14128Speter      *	if a checksum is equal to the flag checksum,
29*14128Speter      *	then no furthur checking of the checksum is done.
30*14128Speter      *	this is for the 2nd and subsequent times a file is stabed.
31*14128Speter      *	to declare a flag day, increment this value. (also be sure
32*14128Speter      *  to update this value in ../utilities/externs.awk)
33*14128Speter      */
34*14128Speter #define	N_FLAGCHECKSUM	1
35