X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gold%2Fcommon.cc;h=b0c7d6e2daf1642886a06b070258eee009d143ab;hb=8f250eb133241435bf70b2dbc4f620173f8067ea;hp=bffa8290d933d1d34923ac53aaa13c000134aa59;hpb=5146f4485680b0029143c2e17bf5393dd4b89792;p=deliverable%2Fbinutils-gdb.git diff --git a/gold/common.cc b/gold/common.cc index bffa8290d9..b0c7d6e2da 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 . // 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::Value_type Value_type; - typedef typename Sized_symbol::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. @@ -351,9 +349,9 @@ Symbol_table::do_allocate_commons_list( // For an incremental update, allocate from the free list. off = os->allocate(ssym->symsize(), ssym->value()); if (off == -1) - gold_fatal(_("out of patch space in section %s; " - "relink with --incremental-full"), - os->name()); + gold_fallback(_("out of patch space in section %s; " + "relink with --incremental-full"), + os->name()); ssym->allocate_common(os, off); } }