From c6e3f6ed8e0a050b7b49c1a82102eae736f595fd Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 18 Jul 2008 06:58:04 +0000 Subject: [PATCH] * dynobj.cc (Versions::add_def): If we give an error about a missing version, go ahead and create the version anyhow. --- gold/ChangeLog | 5 +++++ gold/dynobj.cc | 7 ++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index 788a9410c8c..16020c861b3 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2008-07-17 Ian Lance Taylor + + * dynobj.cc (Versions::add_def): If we give an error about a + missing version, go ahead and create the version anyhow. + 2008-07-10 Ian Lance Taylor Handle output sections with more than 0x7fffffff bytes. diff --git a/gold/dynobj.cc b/gold/dynobj.cc index 89186adecbc..a95787d9f5b 100644 --- a/gold/dynobj.cc +++ b/gold/dynobj.cc @@ -1388,11 +1388,8 @@ Versions::add_def(const Symbol* sym, const char* version, // find a definition of a symbol with a version which is not // in the version script. if (parameters->options().shared()) - { - gold_error(_("symbol %s has undefined version %s"), - sym->demangled_name().c_str(), version); - return; - } + gold_error(_("symbol %s has undefined version %s"), + sym->demangled_name().c_str(), version); // When creating a regular executable, automatically define // a new version. -- 2.30.2