diff options
author | Ian Lance Taylor <ian@airs.com> | 2010-01-12 06:52:58 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2010-01-12 06:52:58 +0000 |
commit | d0a91bd8c74b3535a697b88342edcfd79629a73e (patch) | |
tree | 769fb2c3030ea84029b9c745f09779231600dcd0 /gold/script.cc | |
parent | 98e090bd1ff5b948db254f3b9be8794d5ca93d88 (diff) | |
download | gdb-d0a91bd8c74b3535a697b88342edcfd79629a73e.zip gdb-d0a91bd8c74b3535a697b88342edcfd79629a73e.tar.gz gdb-d0a91bd8c74b3535a697b88342edcfd79629a73e.tar.bz2 |
* script.cc (Version_script_info::build_expression_list_lookup):
Change complaing about duplicate wildcard match from error to
warning.
Diffstat (limited to 'gold/script.cc')
-rw-r--r-- | gold/script.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/script.cc b/gold/script.cc index 839af3c..a11672c 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 " |