Update gcc-50 to SVN version 222321 (gcc-5-branch)
[dragonfly.git] / contrib / gcc-5.0 / gcc / gsyms.h
1 /* Copyright (C) 1992-2015 Free Software Foundation, Inc.
2
3 This file is part of GCC.
4
5 GCC is free software; you can redistribute it and/or modify it under
6 the terms of the GNU General Public License as published by the Free
7 Software Foundation; either version 3, or (at your option) any later
8 version.
9
10 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
11 WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
13 for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with GCC; see the file COPYING3.  If not see
17 <http://www.gnu.org/licenses/>.  */
18
19 /* For cross compilation, use the portable definitions from the COFF
20    documentation.  */
21 #ifndef GCC_GSYMS_H
22 #define GCC_GSYMS_H
23
24 #define __GNU_SYMS__
25
26 enum sdb_storage_class
27 {
28   C_EFCN = -1,
29   C_NULL = 0,
30   C_AUTO = 1,
31   C_EXT = 2,
32   C_STAT = 3,
33   C_REG = 4,
34   C_EXTDEF = 5,
35   C_LABEL = 6,
36   C_ULABEL = 7,
37   C_MOS = 8,
38   C_ARG = 9,
39   C_STRTAG = 10,
40   C_MOU = 11,
41   C_UNTAG = 12,
42   C_TPDEF = 13,
43   C_USTATIC = 14,
44   C_ENTAG = 15,
45   C_MOE = 16,
46   C_REGPARM = 17,
47   C_FIELD = 18,
48
49   C_BLOCK = 100,
50   C_FCN = 101,
51   C_EOS = 102,
52   C_FILE = 103,
53   C_LINE = 104,
54   C_ALIAS = 105,
55   C_HIDDEN = 106
56 };
57
58 enum sdb_type
59 {
60   T_NULL = 0,
61   T_ARG = 1,
62   T_VOID = 1,
63   T_CHAR = 2,
64   T_SHORT = 3,
65   T_INT = 4,
66   T_LONG = 5,
67   T_FLOAT = 6,
68   T_DOUBLE = 7,
69   T_STRUCT = 8,
70   T_UNION = 9,
71   T_ENUM = 10,
72   T_MOE = 11,
73   T_UCHAR = 12,
74   T_USHORT = 13,
75   T_UINT = 14,
76   T_ULONG = 15
77 #ifdef EXTENDED_SDB_BASIC_TYPES
78   , T_LNGDBL = 16
79 #endif
80 };
81
82 enum sdb_type_class
83 {
84   DT_NON = 0,
85   DT_PTR = 1,
86   DT_FCN = 2,
87   DT_ARY = 3
88 };
89
90 enum sdb_masks
91 {
92 #ifdef EXTENDED_SDB_BASIC_TYPES
93   N_BTMASK = 0x1f,
94   N_TMASK = 0x60,
95   N_TMASK1 = 0x300,
96   N_TMASK2 = 0x360,
97   N_BTSHFT = 5,
98 #else
99   N_BTMASK = 017,
100   N_TMASK = 060,
101   N_TMASK1 = 0300,
102   N_TMASK2 = 0360,
103   N_BTSHFT = 4,
104 #endif
105   N_TSHIFT = 2
106 };
107
108 #endif /* GCC_GSYMS_H */