* script.cc (Version_script_info::build_expression_list_lookup):
authorIan Lance Taylor <ian@airs.com>
Tue, 12 Jan 2010 06:52:58 +0000 (06:52 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 12 Jan 2010 06:52:58 +0000 (06:52 +0000)
Change complaing about duplicate wildcard match from error to
warning.

gold/ChangeLog
gold/script.cc

index ea7dc35cde24a2be93518135397e917db0c54c36..faec2f9bd212e5e89377bfc919ab5a5fe22dda7e 100644 (file)
@@ -1,5 +1,9 @@
 2010-01-11  Ian Lance Taylor  <iant@google.com>
 
+       * 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_,
index 839af3c53105f88b58cc755cea6fd94b04c3ee65..a11672c4a10d7d99bfb3960e720e30c6327ff2a1 100644 (file)
@@ -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 "