xref: /csrg-svn/usr.bin/pascal/src/pstab.h (revision 15996)
1     /*	static	char sccsid[] = "@(#)pstab.h 2.1 02/08/84"; */
2 
3     /*
4      *	subtypes within the stab type N_PC
5      *
6      *	subtypes N_PSO and N_PSOL are	.stabs	name,N_PC,0,subtype,checksum
7      *	others subtypes are		.stabs	name,N_PC,0,subtype,line
8      */
9 #define	N_PSO		0x1	/* source file name */
10 #define	N_PSOL		0x2	/* include file name */
11 #define	N_PGLABEL	0x3	/* global label */
12 #define	N_PGCONST	0x4	/* global constant */
13 #define	N_PGTYPE	0x5	/* global type */
14 #define	N_PGVAR		0x6	/* global variable */
15 #define	N_PGFUNC	0x7	/* global function */
16 #define	N_PGPROC	0x8	/* global procedure */
17 #define	N_PEFUNC	0x9	/* external function */
18 #define	N_PEPROC	0xa	/* external procedure */
19 #define	N_PLDATA	0xb	/* library variable */
20 #define	N_PLTEXT	0xc	/* library routine */
21 
22     /*
23      *	checksums are used to check if included files have changed.
24      *	we also use them to check that .o files are up to date with
25      *	the libraries.
26      *	if a checksum is less than the flag checksum,
27      *	then the checksum (and therefore the .o file) is out of date.
28      *	if a checksum is equal to the flag checksum,
29      *	then no furthur checking of the checksum is done.
30      *	this is for the 2nd and subsequent times a file is stabed.
31      *	to declare a flag day, increment this value. (also be sure
32      *  to update this value in ../utilities/externs.awk)
33      */
34 #define	N_FLAGCHECKSUM	1
35