Pending fixes for all-ABIs builds

Florian Weimer fweimer@redhat.com
Wed Nov 9 13:39:00 GMT 2016


On 11/09/2016 02:26 PM, Andreas Schwab wrote:
> On Nov 09 2016, Florian Weimer <fweimer@redhat.com> wrote:
>
>> On 11/09/2016 10:01 AM, Andreas Schwab wrote:
>>> On Nov 09 2016, Florian Weimer <fweimer@redhat.com> wrote:
>>>
>>>> Does this mean the dynamic linker starts with it's GOT pointer as NULL,
>>>> initializes that to point it to the malloc in elf/dl-minimal.c, and then,
>>>> once libc.so.6 is relocated updates its GOT pointer to point to the malloc
>>>> in libc.so.6?
>>>
>>> ld.so re-relocates itself after all static dependencies have been loaded
>>> and relocated.
>>
>> And even at this point, the code is used for future dynamic linking
>> operations?
>
> "The code" refers to what?

The code in ld.so.

Thanks,
Florian



More information about the Libc-alpha mailing list