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