Permit ordinary object files in groups.
authorIan Lance Taylor <iant@google.com>
Sat, 26 Jan 2008 01:35:10 +0000 (01:35 +0000)
committerIan Lance Taylor <iant@google.com>
Sat, 26 Jan 2008 01:35:10 +0000 (01:35 +0000)
gold/readsyms.cc

index 7966c98ca9ea8e44d9fc6e95846efeee1b0419a7..2ba8dbbe9b96aa4e6cbbe314cf03cad1d7681cf0 100644 (file)
@@ -176,17 +176,6 @@ Read_symbols::do_read_symbols(Workqueue* workqueue)
          if (obj == NULL)
            return false;
 
-         // We don't have a way to record a non-archive in an input
-         // group.  If this is an ordinary object file, we can't
-         // include it more than once anyhow.  If this is a dynamic
-         // object, then including it a second time changes nothing.
-         if (this->input_group_ != NULL && !obj->is_dynamic())
-           {
-             gold_error(_("%s: ordinary object found in input group"),
-                        input_file->name());
-             return false;
-           }
-
          Read_symbols_data* sd = new Read_symbols_data;
          obj->read_symbols(sd);
 
This page took 0.025877 seconds and 4 git commands to generate.