aboutsummaryrefslogtreecommitdiff
path: root/gold/object.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2011-09-13 16:16:51 +0000
committerIan Lance Taylor <ian@airs.com>2011-09-13 16:16:51 +0000
commit40b2987463cd3792ba025dc2fbb8a640bb49f45a (patch)
tree8932ee72eade540f57a2d8d151357c1768296460 /gold/object.cc
parent305962315a5d52b2289bac2623e04abbda158597 (diff)
downloadgdb-40b2987463cd3792ba025dc2fbb8a640bb49f45a.zip
gdb-40b2987463cd3792ba025dc2fbb8a640bb49f45a.tar.gz
gdb-40b2987463cd3792ba025dc2fbb8a640bb49f45a.tar.bz2
* object.cc (Sized_relobj_file::do_layout): Remove unused local
variable external_symbols_offset.
Diffstat (limited to 'gold/object.cc')
-rw-r--r--gold/object.cc3
1 files changed, 0 insertions, 3 deletions
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;