This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Fix PLT infinite loop for cris-*-*.
- From: Roland McGrath <roland at redhat dot com>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: libc-alpha at sources dot redhat dot com, Uwe_Reimann at gmx dot net
- Date: Wed, 17 Sep 2003 15:34:31 -0700
- Subject: Re: [PATCH] Fix PLT infinite loop for cris-*-*.
> The question is still open whether the runtime linker should
> resolve symbols to be PLT entry addresses for any architecture,
> in any case where the reloc using the symbol is that of a
> user-visible reference (usually relocs called *_GLOB_DAT).
> Should it? If so, that seems to mean that function pointers
> will resolve to different values in different objects, breaking
> pointer equality.
It's already well-specified that when a symbol is being resolved for a
purpose other than PLT resolution itself, the value resolved must be the
PLT entry in the prevailing object.