From d0a91bd8c74b3535a697b88342edcfd79629a73e Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 12 Jan 2010 06:52:58 +0000 Subject: [PATCH] * script.cc (Version_script_info::build_expression_list_lookup): Change complaing about duplicate wildcard match from error to warning. --- gold/ChangeLog | 4 ++++ gold/script.cc | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index ea7dc35cde2..faec2f9bd21 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,9 @@ 2010-01-11 Ian Lance Taylor + * script.cc (Version_script_info::build_expression_list_lookup): + Change complaing about duplicate wildcard match from error to + warning. + * script.cc (class Lazy_demangler): Recreate--revert part of patch of 2009-12-30. (Version_script_info::Version_script_info): Initialize globs_, diff --git a/gold/script.cc b/gold/script.cc index 839af3c5310..a11672c4a10 100644 --- a/gold/script.cc +++ b/gold/script.cc @@ -2145,9 +2145,9 @@ Version_script_info::build_expression_list_lookup( { if (this->default_version_ != NULL && this->default_version_->tag != v->tag) - gold_error(_("wildcard match appears in both version '%s' " - "and '%s' in script"), - this->default_version_->tag.c_str(), v->tag.c_str()); + gold_warning(_("wildcard match appears in both version '%s' " + "and '%s' in script"), + this->default_version_->tag.c_str(), v->tag.c_str()); else if (this->default_version_ != NULL && this->default_is_global_ != is_global) gold_error(_("wildcard match appears as both global and local " -- 2.30.2