gold patch committed: Simply override version of special symbol
Ian Lance Taylor
iant@google.com
Wed Jul 6 04:48:00 GMT 2011
For a linker-defined symbol such as "_end", it is possible for a version
script to force the use of a specific version in a shared library. It
is then possible for some other shared library to use a different
version script to force a different version. This would cause gold to
fail an assertion when it saw a symbol with two different default
versions. This patch fixes the problem by simply permitting this sort
of overridding. Committed to mainline.
Ian
2011-07-05 Ian Lance Taylor <iant@google.com>
PR gold/12952
* resolve.cc (Symbol::override_base_with_special): Simply override
version with special symbol version, ignoring previous version.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 940 bytes
Desc: patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20110706/facc58cb/attachment.bin>
More information about the Binutils
mailing list