Re: Re: call_init in libc6 2.3.6.ds1-11
"John David Anglin" <[email protected]>
| Newsgroups | gmane.linux.ports.hppa |
|---|---|
| Message-ID | <[email protected]> |
> On 2/18/07, Carlos O'Donell <[email protected]> wrote: > > 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. > > I realized later, that DT_PLTGOT is the LTP, and we have no way to ask > the linkmap the following questions: > > 1. Where is the end of that objects PLT? > 2. Where is the start of that objects GOT? > > The only way to answer those questions is to look for the last reloc > in the PLT and match the stub signature. Is elf_machine_runtime_setup adjusting DT_PLTGOT? This search seems horrific. Shouldn't we add DT values for the above? There must be OS specific values that could be used. Dave -- J. David Anglin [email protected] National Research Council of Canada (613) 990-0752 (FAX: 952-6602)