This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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: [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.


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