diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-05-22 16:21:18 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-05-22 16:21:18 +0000 |
commit | 4713131528e1c8880af12ef3238d0c4f21294b57 (patch) | |
tree | f7d61650256054125bf0451cc2e84c9bed76fc51 /gcc/lto-section-names.h | |
parent | 6cd4152b7f8b426d716da201ca67e41d084066f7 (diff) | |
download | gcc-4713131528e1c8880af12ef3238d0c4f21294b57.tar.gz |
Create a new header lto-section-names.h
gcc/
* config/darwin.c: Include "lto-section-names.h".
(LTO_SEGMENT_NAME): Don't define.
* config/i386/winnt.c: Include "lto-section-names.h".
* lto-streamer.c: Include "lto-section-names.h".
* lto-streamer.h (LTO_SECTION_NAME_PREFIX): Don't define.
* lto-wrapper.c: Include "lto-section-names.h".
(LTO_SECTION_NAME_PREFIX): Don't define.
* lto-section-names.h: New file.
* cgraphunit.c: Include "lto-section-names.h".
gcc/lto/
* lto-object.c: Include "lto-section-names.h".
(LTO_SEGMENT_NAME): Don't define.
* lto.c: Include "lto-section-names.h".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210819 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-section-names.h')
-rw-r--r-- | gcc/lto-section-names.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gcc/lto-section-names.h b/gcc/lto-section-names.h new file mode 100644 index 00000000000..19a992d0b63 --- /dev/null +++ b/gcc/lto-section-names.h @@ -0,0 +1,28 @@ +/* Definitions for LTO section names. + Copyright (C) 2013 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 3, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +<http://www.gnu.org/licenses/>. */ + +/* The string that is the prefix on the section names we make for lto. + For decls the DECL_ASSEMBLER_NAME is appended to make the section + name for the functions and static_initializers. For other types of + sections a '.' and the section type are appended. */ +#define LTO_SECTION_NAME_PREFIX ".gnu.lto_" + +/* Segment name for LTO sections. This is only used for Mach-O. */ + +#define LTO_SEGMENT_NAME "__GNU_LTO" |