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