Re: Re: call_init in libc6 2.3.6.ds1-11
"Carlos O'Donell" <[email protected]>
| Newsgroups | gmane.linux.ports.hppa |
|---|---|
| Message-ID | <[email protected]> |
On 2/18/07, Carlos O'Donell <[email protected]> wrote: > In dl-machine.h (elf_machine_runtime_setup), we look for the PLT stub > marker e.g. sig = {{0x00,0xc0,0xff,0xee, 0xde,0xad,0xbe,0xef}}. When > we find that marker we assume teh GOT is *right* against the end of > the PLT. The PLTGOT entry is the *second* entry in the GOT e.g. > 0x40df252f, which seems plausible. To be truthful I don't understand why we rummage around the relocs in elf_machine_runtime_setup, we have the linkmap for the object we are loading, there should be no need to do this. c.