* ldlang.c (end_of_data_section_statement_list): Don't define.
authorIan Lance Taylor <ian@airs.com>
Wed, 22 Jun 1994 23:07:14 +0000 (23:07 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 22 Jun 1994 23:07:14 +0000 (23:07 +0000)
(lang_leave_output_section_statement): Don't set obsolete variable
end_of_data_section_statement_list.

ld/ChangeLog
ld/ldlang.c

index 0e287e3f0c76468136c98ea9145a08b0b1894b51..58ab62e7aee9bf410fcee170c6f09bee66dedd1b 100644 (file)
@@ -1,5 +1,9 @@
 Wed Jun 22 13:42:14 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
 
+       * ldlang.c (end_of_data_section_statement_list): Don't define.
+       (lang_leave_output_section_statement): Don't set obsolete variable
+       end_of_data_section_statement_list.
+
        * scripttempl/go32coff.sc: Don't put ${DATA_ALIGNMENT} inside an
        ALIGN.
 
index 8b6f6ab50afa03bd1db9601d8c98f1623395dfbf..6a4ab5fffb976309b32a744013c4d8b9af1c769a 100644 (file)
@@ -49,11 +49,6 @@ static struct obstack stat_obstack;
 #define obstack_chunk_free free
 static CONST char *startup_file;
 static lang_statement_list_type input_file_chain;
-
-/* Points to the last statement in the .data section, so we can add
-   stuff to the data section without pain */
-static lang_statement_list_type end_of_data_section_statement_list;
-
 static boolean placed_commons = false;
 static lang_output_section_statement_type *default_common_section;
 static boolean map_option_f;
@@ -2767,14 +2762,6 @@ lang_leave_output_section_statement (fill, memspec)
   current_section->fill = fill;
   current_section->region = lang_memory_region_lookup (memspec);
   stat_ptr = &statement_list;
-
-  /* We remember if we are closing a .data section, since we use it to
-     store constructors in */
-  if (strcmp (current_section->name, ".data") == 0)
-    {
-      end_of_data_section_statement_list = statement_list;
-
-    }
 }
 
 /*
This page took 0.051482 seconds and 4 git commands to generate.