aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2007-08-20 13:52:16 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2007-08-20 09:52:16 -0400
commit01a2a2f512b20d95ac7cc229662787fa0babfdf0 (patch)
tree2a50a4da712402cac2b3d22ad5f6edd75076c119 /gcc
parenta489b1f0ea72e182de2706af2b2846376279fa39 (diff)
downloadgcc-01a2a2f512b20d95ac7cc229662787fa0babfdf0.zip
gcc-01a2a2f512b20d95ac7cc229662787fa0babfdf0.tar.gz
gcc-01a2a2f512b20d95ac7cc229662787fa0babfdf0.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/dwarf2out.c17
2 files changed, 16 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 35822ba..50ba76f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2007-08-20 David Edelsohn <edelsohn@gnu.org>
+
+ * dwarf2out.c (text_section_used): Move declaration outside ifdef
+ DWARF2_DEBUGGING_INFO.
+ (cold_text_section_used): Same.
+ (cold_text_section): Same.
+
2007-08-20 Richard Guenther <rguenther@suse.de>
* c-typeck.c (convert_for_assignment): Use the type of
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. */