This is the mail archive of the libc-alpha@sourceware.org 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] |
On 08/11/2015 02:40 PM, Andreas Schwab wrote: > Zack Weinberg <zackw@panix.com> writes: > >> Not true. Maybe this isn't how it works right now, maybe this violates >> observable ELF semantics, and maybe this would wind up eliminating all >> the benefit of lazy loading, but it is *possible* for the dynamic loader >> to point the GOT entry for each imported function at a canonical PLT >> entry from the library that defines that function. That is a thing it >> could do. > > To find the canonical PLT it needs to resolve the symbol, which defeats > the purpose of lazy linking. If you want that use LD_BIND_NOW. Yah, that's what I suspected. But that doesn't mean it's *impossible* for there to be one canonical PLT, only that it is incompatible with lazy linking.
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |