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: Binary compatibility loss regarding errno


> On Sun, Dec 29, 2002 at 12:19:49AM +0100, Jakub Jelinek wrote:
> > On the other side, with
> > .symver y,x@VERS_1
> > .symver z,x@VERS_2
> > reloc against SHN_UNDEF x
> > it is unclear which of the symbols actually should be used.
> 
> It is kind of random. I think ld will pick the "first" one. But you can
> always use y or z directly. That is how it is used in some places in
> glibc.

That is always wrong for data objects that might have copy relocs.


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