Binary compatibility loss regarding errno

Roland McGrath roland@redhat.com
Mon Dec 30 15:16:00 GMT 2002


> 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.



More information about the Binutils mailing list