This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Ld : _start address ?
- From: Ramana Radhakrishnan <ramana dot r at gmail dot com>
- To: Sandeep Kumar <sandeepksinha at gmail dot com>
- Cc: binutils <binutils at sources dot redhat dot com>
- Date: Thu, 29 Dec 2005 13:27:52 +0530
- Subject: Re: Ld : _start address ?
- References: <37d33d830512282350x202cc9cbia8a12612af8262cf@mail.gmail.com>
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