aboutsummaryrefslogtreecommitdiff
path: root/gold/readsyms.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-01-26 01:35:10 +0000
committerIan Lance Taylor <iant@google.com>2008-01-26 01:35:10 +0000
commit8bc7a1c115ef0296123bb6d0f0ec8d171eb548f9 (patch)
tree7c6559f17581616189b3e6d0e77de6d9cbe2768b /gold/readsyms.cc
parent9b07f471e3360c9790f7ec83400e500e5f3098ca (diff)
downloadgdb-8bc7a1c115ef0296123bb6d0f0ec8d171eb548f9.zip
gdb-8bc7a1c115ef0296123bb6d0f0ec8d171eb548f9.tar.gz
gdb-8bc7a1c115ef0296123bb6d0f0ec8d171eb548f9.tar.bz2
Permit ordinary object files in groups.
Diffstat (limited to 'gold/readsyms.cc')
-rw-r--r--gold/readsyms.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/gold/readsyms.cc b/gold/readsyms.cc
index 7966c98..2ba8dbb 100644
--- a/gold/readsyms.cc
+++ b/gold/readsyms.cc
@@ -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);