[parisc-linux] Re: call_init in libc6 2.3.6.ds1-11
John David Anglin
dave at hiauly1.hia.nrc.ca
Sun Feb 18 12:07:31 MST 2007
> On 2/18/07, Carlos O'Donell <carlos at systemhalted.org> 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 dave.anglin at nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
More information about the parisc-linux
mailing list