Version script help needed

H. J. Lu hjl@lucon.org
Mon Aug 5 10:29:00 GMT 2002


On Mon, Aug 05, 2002 at 10:08:23AM -0700, Ulrich Drepper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Franz Sirl wrote:
> 
> > And I wanted to accomplish that without having an explicit .symver for 
> > the VERNEW symbol version.
> 
> This is not how the versioning scheme was designed.  Live with it.
> 

Personally, I believe it is a bfd bug. Basically, elf_link_assign_sym_version
matches divdi3 with VEROLD for

VEROLD {
     global:
       divdi3;
     local:
     *;
};

VERNEW {
     global:
       divdi3;
} VEROLD;

when there is a versioned dinition of divdi3@VEROLD already. I think it
is wrong. It should look for the next one.



H.J.



More information about the Binutils mailing list