Versioning mess proved!!!

Ulrich Drepper drepper@redhat.com
Mon Oct 2 13:20:00 GMT 2000


Geoff Keating <geoffk@cygnus.com> writes:

> That is the problem.  The GLOB_DAT relocation is being pointed at the
> PLT entry in the executable, even if the symbol is not defined
> anywhere.

OK.  So weak data references should not be resolved to weak and
undefined PLT entries.  This sounds good to solve this problem but
cannot work in general since there is no guarantee that the PLT
relocation happened before data relocation (in the case of lazy
relocation the PLT relocation happens much later).

I don't have your patch handy but the test case you sent for the x86
linker should fail with the above logic applied as well.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-alpha mailing list