* dynobj.cc (Versions::add_def): If we give an error about a
missing version, go ahead and create the version anyhow.
This commit is contained in:
parent
957ab57169
commit
c6e3f6ed8e
@ -1,3 +1,8 @@
|
||||
2008-07-17 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
* 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 <iant@google.com>
|
||||
|
||||
Handle output sections with more than 0x7fffffff bytes.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user