2005-05-10 Thomas Koenig <Thomas.Koenig@online.de>
[official-gcc.git] / gcc / gsyms.h
blob03bde9386040cb8a8981176c346e899dff9fc788
1 /* For cross compilation, use the portable definitions from the COFF
2 documentation. */
4 #define __GNU_SYMS__
6 enum sdb_storage_class
8 C_EFCN = -1,
9 C_NULL = 0,
10 C_AUTO = 1,
11 C_EXT = 2,
12 C_STAT = 3,
13 C_REG = 4,
14 C_EXTDEF = 5,
15 C_LABEL = 6,
16 C_ULABEL = 7,
17 C_MOS = 8,
18 C_ARG = 9,
19 C_STRTAG = 10,
20 C_MOU = 11,
21 C_UNTAG = 12,
22 C_TPDEF = 13,
23 C_USTATIC = 14,
24 C_ENTAG = 15,
25 C_MOE = 16,
26 C_REGPARM = 17,
27 C_FIELD = 18,
29 C_BLOCK = 100,
30 C_FCN = 101,
31 C_EOS = 102,
32 C_FILE = 103,
33 C_LINE = 104,
34 C_ALIAS = 105,
35 C_HIDDEN = 106
38 enum sdb_type
40 T_NULL = 0,
41 T_ARG = 1,
42 T_VOID = 1,
43 T_CHAR = 2,
44 T_SHORT = 3,
45 T_INT = 4,
46 T_LONG = 5,
47 T_FLOAT = 6,
48 T_DOUBLE = 7,
49 T_STRUCT = 8,
50 T_UNION = 9,
51 T_ENUM = 10,
52 T_MOE = 11,
53 T_UCHAR = 12,
54 T_USHORT = 13,
55 T_UINT = 14,
56 T_ULONG = 15
57 #ifdef EXTENDED_SDB_BASIC_TYPES
58 , T_LNGDBL = 16
59 #endif
62 enum sdb_type_class
64 DT_NON = 0,
65 DT_PTR = 1,
66 DT_FCN = 2,
67 DT_ARY = 3
70 enum sdb_masks
72 #ifdef EXTENDED_SDB_BASIC_TYPES
73 N_BTMASK = 0x1f,
74 N_TMASK = 0x60,
75 N_TMASK1 = 0x300,
76 N_TMASK2 = 0x360,
77 N_BTSHFT = 5,
78 #else
79 N_BTMASK = 017,
80 N_TMASK = 060,
81 N_TMASK1 = 0300,
82 N_TMASK2 = 0360,
83 N_BTSHFT = 4,
84 #endif
85 N_TSHIFT = 2