A patch for default version and archive
Ian Lance Taylor
ian@zembu.com
Tue Nov 14 12:08:00 GMT 2000
From: Ulrich Drepper <drepper@redhat.com>
Date: 14 Nov 2000 12:04:47 -0800
Ian Lance Taylor <ian@zembu.com> writes:
> If this is an external reference, just rename the symbol to
> include the version string. This will make the relocs be
> against the correct versioned symbol.
>
> was checked by me as part of a patch I received from Eric Youngdale.
> I checked it in on March 9, 1997.
This is something different. This happens when you link against a
versioned DSO. Then a reference without version information gets
transformed into a reference with version and a known DSO. This is
the core of the versioning idea.
The code in question is in the assembler. It does not have anything
to do with linking, nor with the transformation of versioned
information. It is how the assembler handles .symver for a symbol
which is not defined elsewhere in the source.
I don't necessarily think that because Eric did it it is right. But I
believe that HJ is right in saying that it has been there from the
beginning.
Ian
More information about the Binutils
mailing list