struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / sdbinutils / include / lto-symtab.h
blobdd6ff25cffd40d6b4e2d8d3c73f5e49ae10a5767
1 /* Data types used in the IL symbol table.
2 Copyright (C) 2009-2022 Free Software Foundation, Inc.
3 Contributed by Rafael Espindola <espindola@google.com>
5 This file is part of GCC.
7 GCC is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free
9 Software Foundation; either version 3, or (at your option) any later
10 version.
12 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING3. If not see
19 <http://www.gnu.org/licenses/>. */
21 #ifndef GCC_LTO_SYMTAB_H
22 #define GCC_LTO_SYMTAB_H
24 enum gcc_plugin_symbol_kind
26 GCCPK_DEF,
27 GCCPK_WEAKDEF,
28 GCCPK_UNDEF,
29 GCCPK_WEAKUNDEF,
30 GCCPK_COMMON
33 enum gcc_plugin_symbol_visibility
35 GCCPV_DEFAULT,
36 GCCPV_PROTECTED,
37 GCCPV_INTERNAL,
38 GCCPV_HIDDEN
41 enum gcc_plugin_symbol_type
43 GCCST_UNKNOWN,
44 GCCST_FUNCTION,
45 GCCST_VARIABLE
48 enum gcc_plugin_symbol_section_kind
50 GCCSSK_DEFAULT,
51 GCCSSK_BSS
54 #endif /* GCC_LTO_SYMTAB_H */