From 01a2a2f512b20d95ac7cc229662787fa0babfdf0 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Mon, 20 Aug 2007 13:52:16 +0000 Subject: dwarf2out.c (text_section_used): Move declaration outside ifdef DWARF2_DEBUGGING_INFO. * dwarf2out.c (text_section_used): Move declaration outside ifdef DWARF2_DEBUGGING_INFO. (cold_text_section_used): Same. (cold_text_section): Same. From-SVN: r127648 --- gcc/dwarf2out.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'gcc/dwarf2out.c') diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 0170737..ec6e121 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -4052,6 +4052,15 @@ static GTY(()) int label_num; /* Cached result of previous call to lookup_filename. */ static GTY(()) struct dwarf_file_data * file_table_last_lookup; +/* Whether the default text and cold text sections have been used at + all. */ + +static GTY(()) bool text_section_used = false; +static GTY(()) bool cold_text_section_used = false; + +/* The default cold text section. */ +static GTY(()) section *cold_text_section; + #ifdef DWARF2_DEBUGGING_INFO /* Offset from the "steady-state frame pointer" to the frame base, @@ -4413,14 +4422,6 @@ static char ranges_section_label[2 * MAX_ARTIFICIAL_LABEL_BYTES]; #define SEPARATE_LINE_CODE_LABEL "LSM" #endif -/* Whether the default text and cold text sections have been used at - all. */ - -static GTY(()) bool text_section_used = false; -static GTY(()) bool cold_text_section_used = false; - -/* The default cold text section. */ -static GTY(()) section *cold_text_section; /* We allow a language front-end to designate a function that is to be called to "demangle" any name before it is put into a DIE. */ -- cgit v1.1