Add multi-target tests
[deliverable/binutils-gdb.git] / gold / common.cc
index bffa8290d933d1d34923ac53aaa13c000134aa59..b1348ecfbc7f3396a77451a28af1d8192fdc0779 100644 (file)
@@ -1,6 +1,6 @@
 // common.cc -- handle common symbols for gold
 
-// Copyright 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+// Copyright (C) 2006-2020 Free Software Foundation, Inc.
 // Written by Ian Lance Taylor <iant@google.com>.
 
 // This file is part of gold.
@@ -222,9 +222,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.
@@ -351,9 +348,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);
        }
     }
This page took 0.024481 seconds and 4 git commands to generate.