aboutsummaryrefslogtreecommitdiff
path: root/gold/common.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2012-07-11 14:18:40 +0000
committerIan Lance Taylor <ian@airs.com>2012-07-11 14:18:40 +0000
commit1f3212db282db657b7511fe0bee6285eafb67351 (patch)
tree412a6beadece81045b4287f400f2b576270aa678 /gold/common.cc
parent3db4782ac8f2bf8243892afd1d1838769d562071 (diff)
downloadgdb-1f3212db282db657b7511fe0bee6285eafb67351.zip
gdb-1f3212db282db657b7511fe0bee6285eafb67351.tar.gz
gdb-1f3212db282db657b7511fe0bee6285eafb67351.tar.bz2
* arm.cc (Arm_relocate_functions::abs16): Remove unused typedef.
(Arm_exidx_cantunwind::do_fixed_endian_write): Likewise. (Target_arm::scan_reloc_for_stub): Likewise. * common.cc (Symbol_table::do_allocate_commons_list): Likewise. * dwarf_reader.cc (Dwarf_die::skip_attributes): Likewise. * ehframe.cc (Eh_frame::do_add_ehframe_input_section): Likewise. * incremental.cc (Sized_incr_dynobj::do_add_symbols): Likewise. * powerpc.cc (Target_powerpc::relocate_tls): Likewise.
Diffstat (limited to 'gold/common.cc')
-rw-r--r--gold/common.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/gold/common.cc b/gold/common.cc
index 1a9aea8..b0c7d6e 100644
--- a/gold/common.cc
+++ b/gold/common.cc
@@ -1,6 +1,7 @@
// common.cc -- handle common symbols for gold
-// Copyright 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+// Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012
+// Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of gold.
@@ -222,9 +223,6 @@ Symbol_table::do_allocate_commons_list(
Mapfile* mapfile,
Sort_commons_order sort_order)
{
- typedef typename Sized_symbol<size>::Value_type Value_type;
- typedef typename Sized_symbol<size>::Size_type Size_type;
-
// We've kept a list of all the common symbols. But the symbol may
// have been resolved to a defined symbol by now. And it may be a
// forwarder. First remove all non-common symbols.