OSDN Git Service

* dwarf2out.c (text_section_used): Move declaration outside ifdef
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Aug 2007 13:52:16 +0000 (13:52 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Aug 2007 13:52:16 +0000 (13:52 +0000)
        DWARF2_DEBUGGING_INFO.
        (cold_text_section_used): Same.
        (cold_text_section): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127648 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/dwarf2out.c

index 35822ba..50ba76f 100644 (file)
@@ -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
index 0170737..ec6e121 100644 (file)
@@ -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;
 \f
 /* 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.  */