diff options
author | Ian Lance Taylor <ian@airs.com> | 2011-09-13 16:16:51 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2011-09-13 16:16:51 +0000 |
commit | 40b2987463cd3792ba025dc2fbb8a640bb49f45a (patch) | |
tree | 8932ee72eade540f57a2d8d151357c1768296460 /gold | |
parent | 305962315a5d52b2289bac2623e04abbda158597 (diff) | |
download | binutils-40b2987463cd3792ba025dc2fbb8a640bb49f45a.zip binutils-40b2987463cd3792ba025dc2fbb8a640bb49f45a.tar.gz binutils-40b2987463cd3792ba025dc2fbb8a640bb49f45a.tar.bz2 |
* object.cc (Sized_relobj_file::do_layout): Remove unused local
variable external_symbols_offset.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/ChangeLog | 5 | ||||
-rw-r--r-- | gold/object.cc | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index b0e7b7c..82da380 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -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 diff --git a/gold/object.cc b/gold/object.cc index 0c50bd3..99c2ca7 100644 --- a/gold/object.cc +++ b/gold/object.cc @@ -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; |