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]

Re: [PATCH] Skip PT_DYNAMIC segment if its p_filesz == 0 [BZ #22101]


On Mon, Sep 25, 2017 at 9:46 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On 9/25/17, Zack Weinberg <zackw@panix.com> wrote:
>> What
>> _exactly_ does our ld.so do with this now, in the absence of your
>> change?
>
> ld.so simply crashes without my change:

OK, in that case I am fine with the patch, _except_:

>> (And I'd like you to specifically check that your change doesn't break
>> GDB's ability to load debug-only objects, even though I'm pretty sure
>> it doesn't use dlopen to do it.)
>
> GDB doesn't call dlopen to load debug-only objects.

I want you to test it anyway.

zw


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