xref: /csrg-svn/usr.bin/pascal/src/pstab.h (revision 62215)
148117Sbostic /*-
2*62215Sbostic  * Copyright (c) 1980, 1993
3*62215Sbostic  *	The Regents of the University of California.  All rights reserved.
422233Sdist  *
548117Sbostic  * %sccs.include.redist.c%
648117Sbostic  *
7*62215Sbostic  *	@(#)pstab.h	8.1 (Berkeley) 06/06/93
822233Sdist  */
9845Speter 
10845Speter     /*
1114128Speter      *	subtypes within the stab type N_PC
1214128Speter      *
1314128Speter      *	subtypes N_PSO and N_PSOL are	.stabs	name,N_PC,0,subtype,checksum
1414128Speter      *	others subtypes are		.stabs	name,N_PC,0,subtype,line
15845Speter      */
16845Speter #define	N_PSO		0x1	/* source file name */
17845Speter #define	N_PSOL		0x2	/* include file name */
18845Speter #define	N_PGLABEL	0x3	/* global label */
19845Speter #define	N_PGCONST	0x4	/* global constant */
20845Speter #define	N_PGTYPE	0x5	/* global type */
21845Speter #define	N_PGVAR		0x6	/* global variable */
22845Speter #define	N_PGFUNC	0x7	/* global function */
23845Speter #define	N_PGPROC	0x8	/* global procedure */
24845Speter #define	N_PEFUNC	0x9	/* external function */
25845Speter #define	N_PEPROC	0xa	/* external procedure */
267602Speter #define	N_PLDATA	0xb	/* library variable */
277602Speter #define	N_PLTEXT	0xc	/* library routine */
2814128Speter 
2914128Speter     /*
3014128Speter      *	checksums are used to check if included files have changed.
3114128Speter      *	we also use them to check that .o files are up to date with
3214128Speter      *	the libraries.
3314128Speter      *	if a checksum is less than the flag checksum,
3414128Speter      *	then the checksum (and therefore the .o file) is out of date.
3514128Speter      *	if a checksum is equal to the flag checksum,
3614128Speter      *	then no furthur checking of the checksum is done.
3714128Speter      *	this is for the 2nd and subsequent times a file is stabed.
3814128Speter      *	to declare a flag day, increment this value. (also be sure
3914128Speter      *  to update this value in ../utilities/externs.awk)
4014128Speter      */
4114128Speter #define	N_FLAGCHECKSUM	1
42