aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/darwin.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2014-05-22 16:21:18 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2014-05-22 16:21:18 +0000
commit4000360e40bee85872f411d1f1f39a7c52e840cb (patch)
treef7d61650256054125bf0451cc2e84c9bed76fc51 /gcc/config/darwin.c
parentc9aee4508bc514dcea6383921d6b75644aecd35a (diff)
downloadgcc-4000360e40bee85872f411d1f1f39a7c52e840cb.zip
gcc-4000360e40bee85872f411d1f1f39a7c52e840cb.tar.gz
gcc-4000360e40bee85872f411d1f1f39a7c52e840cb.tar.bz2
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". From-SVN: r210819
Diffstat (limited to 'gcc/config/darwin.c')
-rw-r--r--gcc/config/darwin.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index cec341d..a2c8749 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -61,6 +61,7 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "gimplify.h"
#include "lto-streamer.h"
+#include "lto-section-names.h"
/* Darwin supports a feature called fix-and-continue, which is used
for rapid turn around debugging. When code is compiled with the
@@ -1898,9 +1899,6 @@ typedef struct GTY (()) darwin_lto_section_e {
static GTY (()) vec<darwin_lto_section_e, va_gc> *lto_section_names;
-/* Segment for LTO data. */
-#define LTO_SEGMENT_NAME "__GNU_LTO"
-
/* Section wrapper scheme (used here to wrap the unlimited number of LTO
sections into three Mach-O ones).
NOTE: These names MUST be kept in sync with those in