* gcc.dg/torture/tls/tls-reload-1.c: Add tls options.
[official-gcc.git] / gcc / gsyms.h
blobd8330528043f08d33a4c2cd038416198baa360e2
1 /* Copyright (C) 1992, 1996, 1997, 1998 Free Software Foundation, Inc.
3 This file is part of GCC.
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.
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.
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/>. */
19 /* For cross compilation, use the portable definitions from the COFF
20 documentation. */
22 #define __GNU_SYMS__
24 enum sdb_storage_class
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,
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
56 enum sdb_type
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
80 enum sdb_type_class
82 DT_NON = 0,
83 DT_PTR = 1,
84 DT_FCN = 2,
85 DT_ARY = 3
88 enum sdb_masks
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