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]
Other format: [Raw text]

Re: Version script help needed


On Mon, Aug 05, 2002 at 10:54:29AM -0700, H. J. Lu wrote:
> On Mon, Aug 05, 2002 at 10:45:58AM -0700, Ulrich Drepper wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > H. J. Lu 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
> > 
> > You cannot simply allow this.  Conider all the different situations. 
> > What if a symbol is undefined for more than one version name?  Or what 
> > if .symver isn't used and adding the version script to the linker 
> > command line is forgotten?
> 
> Please submit testcases so that we can make sure ld is doing the
> right thing.

Here is an updated patch to catch those errors. BTW, the ld testcase
needs to be updated for this patch.


H.J.

Attachment: bfd-version-def.patch
Description: Text document


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