[gcc/]
[official-gcc.git] / gcc / lto-section-names.h
blob19a992d0b63cf789a34bc2484ddd6b473cf2c577
1 /* Definitions for LTO section names.
2 Copyright (C) 2013 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 3, or (at your option) any later
9 version.
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
20 /* The string that is the prefix on the section names we make for lto.
21 For decls the DECL_ASSEMBLER_NAME is appended to make the section
22 name for the functions and static_initializers. For other types of
23 sections a '.' and the section type are appended. */
24 #define LTO_SECTION_NAME_PREFIX ".gnu.lto_"
26 /* Segment name for LTO sections. This is only used for Mach-O. */
28 #define LTO_SEGMENT_NAME "__GNU_LTO"