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:18:28AM -0700, H. J. Lu wrote:
> > 
> > And I wanted to accomplish that without having an explicit .symver for the 
> > VERNEW symbol version.
> > 
> > I think I just don't understand how the symbol matching in a version script 
> > works. With this script:
> > 
> > VEROLD {
> >          global:
> >            divdi3;
> > };
> > 
> > VERNEW {
> >          global:
> >            divdi3;
> >          local:
> >            *;
> > } VEROLD;
> > 
> 
> Here is a patch to do that. However, I am sure if it is %100 correct.
> Any comments with testcases?
> 
> 

Ooops. I forgot to free the memory. Here is the new one. I will add
a new ld testcase if it is the right thing to do.


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]