This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: Ld : _start address ?


The loader does take the entry point address from e_entry in the
elf_header. This is the actual entry point for the program . When are
you doing this overwriting ?

cheers
Ramana

On 12/29/05, Sandeep Kumar <sandeepksinha@gmail.com> wrote:
> Hello everyone,
> Can somebody please tell me where does the loader takes the program
> entry point address from. Its not e_entry of the elf header coz even
> after overwriting it with some other valid address , the flow of
> control doesn't changes.
> Does the loader takes the address of _start from the symbol table ?
> Then what in the case of stripped binaries.
>
> Please help.
> --
> Regards,
> Sandeep
>
>
>
>
>
> A candle loses nothing if it is used to light another one!
>


--
Ramana Radhakrishnan


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