This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A patch for default version and archive


   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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]