Re: ELF file and GOT entries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi man...


On Sun, May 18, 2008 at 5:42 PM, Shyamal Shukla <shyamalshukla@xxxxxxxxx> wrote:
> Hi,
>
>      Came across an article from you on ELF files.
>
> <http://www.linuxforums.org/misc/understanding_elf_using_readelf_and_objdump_3.html>
>
> Can you please help me clarify a doubt on GOT entries.
>
> The third entry in GOT <<GOT+8>> is expected to transfer control to the
> dynamic linker. The first entry of the PLT makes a
> jmp *<<GOT+8>>.
>
> In my process, i have kept a long sleep before i exit, so that i can cat
> /proc/xx/maps.
>
> The third entry of GOT seems to be 00 00 00 00. In that case, how does the
> control move to the dynamic linker?

Hm....I am now a bit rusty (again) on ELF stuff...but that's possible
due to  your program doesn't actually call any libc function or
function defined on external libraries, thus nothing is really need to
be dynamically linked.

Maybe you can share your source code and the way you compile it, so we
can analyze it?

regards,

Mulyadi

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux