]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/gsyms.h
RISC-V: Preserve arch version info during normalizing arch string
[thirdparty/gcc.git] / gcc / gsyms.h
CommitLineData
8d9254fc 1/* Copyright (C) 1992-2020 Free Software Foundation, Inc.
ad41bd84
JM
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
bf55c04f
CH
19/* For cross compilation, use the portable definitions from the COFF
20 documentation. */
f1717f8d
KC
21#ifndef GCC_GSYMS_H
22#define GCC_GSYMS_H
bf55c04f
CH
23
24#define __GNU_SYMS__
25
26enum 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
58enum 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
79enum sdb_type_class
80{
81 DT_NON = 0,
82 DT_PTR = 1,
83 DT_FCN = 2,
84 DT_ARY = 3
85};
86
87enum 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};
f1717f8d
KC
96
97#endif /* GCC_GSYMS_H */