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