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


On Tue, Nov 14, 2000 at 11:17:14AM -0800, Ulrich Drepper wrote:
> Ian Lance Taylor <ian@zembu.com> writes:
> 
> > By the way, this documentation does appear to address HJ's issue: it
> > says that in the .symver pseudo-op, the first argument must be the
> > name of a defined symbol.  The assembler does not enforce that rule,
> > and I believe it never has, although it does enforce the rule that the
> > symbol may not have two @ characters.
> 
> This is what I said the whole time, he's using a loophole to introduce
> a hack.
> 

You can call it a loophole if you want. The comment from the assembler:

      /* This symbol was given a new name with the .symver directive.

         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. 

tells me it was intentional.

-- 
H.J. Lu (hjl@valinux.com)

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