* object.cc (Sized_relobj_file::do_layout): Remove unused local
authorIan Lance Taylor <ian@airs.com>
Tue, 13 Sep 2011 16:16:51 +0000 (16:16 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 13 Sep 2011 16:16:51 +0000 (16:16 +0000)
variable external_symbols_offset.

gold/ChangeLog
gold/object.cc

index b0e7b7cc3873152df6f5557702cc97f3afe9556b..82da380f6e53d22ad450ffaf81df4ed17fff4273 100644 (file)
@@ -1,3 +1,8 @@
+2011-09-13  Ian Lance Taylor  <iant@google.com>
+
+       * object.cc (Sized_relobj_file::do_layout): Remove unused local
+       variable external_symbols_offset.
+
 2011-09-12  Ian Lance Taylor  <iant@google.com>
 
        * object.cc (Sized_relobj_file::do_layout): Remove assertion which
index 0c50bd3d40dc28d785fd222aa83fd5a89d9f0f79..99c2ca7a7bee5bcac7312280ecdcd349a878385a 100644 (file)
@@ -1149,7 +1149,6 @@ Sized_relobj_file<size, big_endian>::do_layout(Symbol_table* symtab,
   section_size_type section_names_size;
   const unsigned char* symbols_data = NULL;
   section_size_type symbols_size;
-  section_offset_type external_symbols_offset;
   const unsigned char* symbol_names_data = NULL;
   section_size_type symbol_names_size;
  
@@ -1159,7 +1158,6 @@ Sized_relobj_file<size, big_endian>::do_layout(Symbol_table* symtab,
       section_names_size = gc_sd->section_names_size;
       symbols_data = gc_sd->symbols_data;
       symbols_size = gc_sd->symbols_size;
-      external_symbols_offset = gc_sd->external_symbols_offset;
       symbol_names_data = gc_sd->symbol_names_data;
       symbol_names_size = gc_sd->symbol_names_size;
     }
@@ -1170,7 +1168,6 @@ Sized_relobj_file<size, big_endian>::do_layout(Symbol_table* symtab,
       if (sd->symbols != NULL)
         symbols_data = sd->symbols->data();
       symbols_size = sd->symbols_size;
-      external_symbols_offset = sd->external_symbols_offset;
       if (sd->symbol_names != NULL)
         symbol_names_data = sd->symbol_names->data();
       symbol_names_size = sd->symbol_names_size;