[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patches] check-localplt?



Daniel Jacobowitz <dan at codesourcery.com> writes:
> On Tue, Jan 08, 2008 at 05:30:12PM -0800, Jim Blandy wrote:
>> 
>> Does anyone understand what check-localplt is meant to test?  It dumps
>> the relocations referred to by the DT_JMPREL entry in libc.so's
>> dynamic section, and compares them against an expected list.
>> 
>> Is there any reason to restrict the set of jump table relocations in
>> libc, other than performance?
>
> Performance and reliability; if I understand correctly, the glibc
> maintainers deliberately wanted calls within glibc to not be
> overridable by LD_PRELOAD.

Thanks for the explanation.  I'll add a comment, and try to fix the
-Os lossage.