xref: /illumos-gate/usr/src/head/storclass.h (revision bde334a8dbd66dfa70ce4d7fc9dcad6e1ae45fe4)
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 #ifdef	__cplusplus
30 extern "C" {
31 #endif
32 
33 /*
34  *   STORAGE CLASSES
35  */
36 
37 #define	C_EFCN		-1	/* physical end of function */
38 #define	C_NULL		0
39 #define	C_AUTO		1	/* automatic variable */
40 #define	C_EXT		2	/* external symbol */
41 #define	C_STAT		3	/* static */
42 #define	C_REG		4	/* register variable */
43 #define	C_EXTDEF	5	/* external definition */
44 #define	C_LABEL		6	/* label */
45 #define	C_ULABEL	7	/* undefined label */
46 #define	C_MOS		8	/* member of structure */
47 #define	C_ARG		9	/* function argument */
48 #define	C_STRTAG	10	/* structure tag */
49 #define	C_MOU		11	/* member of union */
50 #define	C_UNTAG		12	/* union tag */
51 #define	C_TPDEF		13	/* type definition */
52 #define	C_USTATIC	14	/* undefined static */
53 #define	C_ENTAG		15	/* enumeration tag */
54 #define	C_MOE		16	/* member of enumeration */
55 #define	C_REGPARM	17	/* register parameter */
56 #define	C_FIELD		18	/* bit field */
57 #define	C_BLOCK		100	/* ".bb" or ".eb" */
58 #define	C_FCN		101	/* ".bf" or ".ef" */
59 #define	C_EOS		102	/* end of structure */
60 #define	C_FILE		103	/* file name */
61 
62 /*
63  * The following storage class is a "dummy" used only by STS
64  * for line number entries reformatted as symbol table entries
65  */
66 
67 #define	C_LINE		104
68 #define	C_ALIAS	105	/* duplicate tag */
69 #define	C_HIDDEN	106	/* special storage class for external */
70 				/* symbols in dmert public libraries */
71 #define	 C_SHADOW	107	/* shadow symbol */
72 
73 #ifdef	__cplusplus
74 }
75 #endif
76 
77 #endif	/* _STORCLASS_H */
78