aboutsummaryrefslogtreecommitdiff
path: root/gold/object.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2011-02-10 01:12:37 +0000
committerIan Lance Taylor <ian@airs.com>2011-02-10 01:12:37 +0000
commitb578bd7d05e0b78a90d391f134f7ac74053cead7 (patch)
treeb47688d82f9c633beef520ea3d64bc9d86e43322 /gold/object.h
parentbf8b9e1e88b8d5bdabf4b1fa5f9b127a6c9210cf (diff)
downloadfsf-binutils-gdb-b578bd7d05e0b78a90d391f134f7ac74053cead7.zip
fsf-binutils-gdb-b578bd7d05e0b78a90d391f134f7ac74053cead7.tar.gz
fsf-binutils-gdb-b578bd7d05e0b78a90d391f134f7ac74053cead7.tar.bz2
PR gold/12316
* object.h (class Sized_relobj): Remove clear_local_symbols. * reloc.cc (Sized_relobj::do_relocate): Don't call clear_local_symbols.
Diffstat (limited to 'gold/object.h')
-rw-r--r--gold/object.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/gold/object.h b/gold/object.h
index 3e3a25b..8ee03a7 100644
--- a/gold/object.h
+++ b/gold/object.h
@@ -1,6 +1,6 @@
// object.h -- support for an object file for linking in gold -*- C++ -*-
-// Copyright 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+// Copyright 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of gold.
@@ -2165,15 +2165,6 @@ class Sized_relobj : public Relobj
Output_symtab_xindex*,
Output_symtab_xindex*);
- // Clear the local symbol information.
- void
- clear_local_symbols()
- {
- this->local_values_.clear();
- this->local_got_offsets_.clear();
- this->local_plt_offsets_.clear();
- }
-
// Record a mapping from discarded section SHNDX to the corresponding
// kept section.
void