From: Ian Lance Taylor Date: Tue, 13 Sep 2011 16:16:51 +0000 (+0000) Subject: * object.cc (Sized_relobj_file::do_layout): Remove unused local X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=40b2987463cd3792ba025dc2fbb8a640bb49f45a;p=binutils-gdb.git * object.cc (Sized_relobj_file::do_layout): Remove unused local variable external_symbols_offset. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index b0e7b7cc387..82da380f6e5 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2011-09-13 Ian Lance Taylor + + * object.cc (Sized_relobj_file::do_layout): Remove unused local + variable external_symbols_offset. + 2011-09-12 Ian Lance Taylor * object.cc (Sized_relobj_file::do_layout): Remove assertion which diff --git a/gold/object.cc b/gold/object.cc index 0c50bd3d40d..99c2ca7a7be 100644 --- a/gold/object.cc +++ b/gold/object.cc @@ -1149,7 +1149,6 @@ Sized_relobj_file::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::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::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;