Mercurial > hg > CbC > CbC_gcc
annotate gcc/gsyms.h @ 141:ce508c72660f
copy cbc flang in cfgexpand
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 22 Nov 2018 19:44:39 +0900 |
parents | 84e7813d76e9 |
children | 1830386684a0 |
rev | line source |
---|---|
131 | 1 /* Copyright (C) 1992-2018 Free Software Foundation, Inc. |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
2 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
3 This file is part of GCC. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
4 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
5 GCC is free software; you can redistribute it and/or modify it under |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
6 the terms of the GNU General Public License as published by the Free |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
7 Software Foundation; either version 3, or (at your option) any later |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
8 version. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
9 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
10 GCC is distributed in the hope that it will be useful, but WITHOUT ANY |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
11 WARRANTY; without even the implied warranty of MERCHANTABILITY or |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
13 for more details. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
14 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
15 You should have received a copy of the GNU General Public License |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
16 along with GCC; see the file COPYING3. If not see |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
17 <http://www.gnu.org/licenses/>. */ |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
18 |
0 | 19 /* For cross compilation, use the portable definitions from the COFF |
20 documentation. */ | |
111 | 21 #ifndef GCC_GSYMS_H |
22 #define GCC_GSYMS_H | |
0 | 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 }; | |
78 | |
79 enum sdb_type_class | |
80 { | |
81 DT_NON = 0, | |
82 DT_PTR = 1, | |
83 DT_FCN = 2, | |
84 DT_ARY = 3 | |
85 }; | |
86 | |
87 enum sdb_masks | |
88 { | |
89 N_BTMASK = 017, | |
90 N_TMASK = 060, | |
91 N_TMASK1 = 0300, | |
92 N_TMASK2 = 0360, | |
93 N_BTSHFT = 4, | |
94 N_TSHIFT = 2 | |
95 }; | |
111 | 96 |
97 #endif /* GCC_GSYMS_H */ |