aboutsummaryrefslogtreecommitdiff
path: root/gold/object.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-03-16 23:51:19 +0000
committerIan Lance Taylor <iant@google.com>2008-03-16 23:51:19 +0000
commitd1f003c610e39314803fa3fd4f311230729d3616 (patch)
tree221e357d029f9eb1bbd14c02ffbdf37cf5d2d8e0 /gold/object.cc
parentda6b876ee6e7599e1fd07514b77f1c4a6ae7dca6 (diff)
downloadgdb-d1f003c610e39314803fa3fd4f311230729d3616.zip
gdb-d1f003c610e39314803fa3fd4f311230729d3616.tar.gz
gdb-d1f003c610e39314803fa3fd4f311230729d3616.tar.bz2
Fix handling of RELA relative relocs against local symbols in merge
sections.
Diffstat (limited to 'gold/object.cc')
-rw-r--r--gold/object.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/gold/object.cc b/gold/object.cc
index 795fa8b..ed7917b 100644
--- a/gold/object.cc
+++ b/gold/object.cc
@@ -1052,17 +1052,6 @@ Sized_relobj<size, big_endian>::do_set_local_dynsym_offset(off_t off)
return this->output_local_dynsym_count_;
}
-// Return the value of the local symbol symndx.
-template<int size, bool big_endian>
-typename elfcpp::Elf_types<size>::Elf_Addr
-Sized_relobj<size, big_endian>::local_symbol_value(unsigned int symndx) const
-{
- gold_assert(symndx < this->local_symbol_count_);
- gold_assert(symndx < this->local_values_.size());
- const Symbol_value<size>& lv(this->local_values_[symndx]);
- return lv.value(this, 0);
-}
-
// Write out the local symbols.
template<int size, bool big_endian>