aboutsummaryrefslogtreecommitdiff
path: root/gold/reloc.cc
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/reloc.cc
parentbf8b9e1e88b8d5bdabf4b1fa5f9b127a6c9210cf (diff)
downloadgdb-b578bd7d05e0b78a90d391f134f7ac74053cead7.zip
gdb-b578bd7d05e0b78a90d391f134f7ac74053cead7.tar.gz
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/reloc.cc')
-rw-r--r--gold/reloc.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/gold/reloc.cc b/gold/reloc.cc
index ac7eb46..bacf52c 100644
--- a/gold/reloc.cc
+++ b/gold/reloc.cc
@@ -1,6 +1,6 @@
// reloc.cc -- relocate input files for gold.
-// 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.
@@ -685,9 +685,6 @@ Sized_relobj<size, big_endian>::do_relocate(const Symbol_table* symtab,
// Write out the local symbols.
this->write_local_symbols(of, layout->sympool(), layout->dynpool(),
layout->symtab_xindex(), layout->dynsym_xindex());
-
- // We should no longer need the local symbol values.
- this->clear_local_symbols();
}
// Sort a Read_multiple vector by file offset.