xref: /titanic_50/usr/src/head/storclass.h (revision 1e1ddd6cc98ab5af8293f7ebd132be62900730fd)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*	Copyright (c) 1988 AT&T	*/
23 /*	  All Rights Reserved  	*/
24 
25 
26 #ifndef	_STORCLASS_H
27 #define	_STORCLASS_H
28 
29 #pragma ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.6 */
30 
31 #ifdef	__cplusplus
32 extern "C" {
33 #endif
34 
35 /*
36  *   STORAGE CLASSES
37  */
38 
39 #define	C_EFCN		-1	/* physical end of function */
40 #define	C_NULL		0
41 #define	C_AUTO		1	/* automatic variable */
42 #define	C_EXT		2	/* external symbol */
43 #define	C_STAT		3	/* static */
44 #define	C_REG		4	/* register variable */
45 #define	C_EXTDEF	5	/* external definition */
46 #define	C_LABEL		6	/* label */
47 #define	C_ULABEL	7	/* undefined label */
48 #define	C_MOS		8	/* member of structure */
49 #define	C_ARG		9	/* function argument */
50 #define	C_STRTAG	10	/* structure tag */
51 #define	C_MOU		11	/* member of union */
52 #define	C_UNTAG		12	/* union tag */
53 #define	C_TPDEF		13	/* type definition */
54 #define	C_USTATIC	14	/* undefined static */
55 #define	C_ENTAG		15	/* enumeration tag */
56 #define	C_MOE		16	/* member of enumeration */
57 #define	C_REGPARM	17	/* register parameter */
58 #define	C_FIELD		18	/* bit field */
59 #define	C_BLOCK		100	/* ".bb" or ".eb" */
60 #define	C_FCN		101	/* ".bf" or ".ef" */
61 #define	C_EOS		102	/* end of structure */
62 #define	C_FILE		103	/* file name */
63 
64 /*
65  * The following storage class is a "dummy" used only by STS
66  * for line number entries reformatted as symbol table entries
67  */
68 
69 #define	C_LINE		104
70 #define	C_ALIAS	105	/* duplicate tag */
71 #define	C_HIDDEN	106	/* special storage class for external */
72 				/* symbols in dmert public libraries */
73 #define	 C_SHADOW	107	/* shadow symbol */
74 
75 #ifdef	__cplusplus
76 }
77 #endif
78 
79 #endif	/* _STORCLASS_H */
80