* Ask help:what does entry-point address mean in a ELF-64 file?
@ 2010-04-22 22:48 Jian Wang
[not found] ` <4BD1250C.9060308@ispras.ru>
0 siblings, 1 reply; 2+ messages in thread
From: Jian Wang @ 2010-04-22 22:48 UTC (permalink / raw)
To: linux-gcc
Hi,
I am trying to understand the ELF file, I use readelf utility to read
an ELF file, in the result, there is entry-point address displayed. I
searched on the Internet, it says its a virtual address. My question
is could two program have the same entry-point address(if I compile
hello1.c,then compile another hello2.c)? How does the loader map this
virtual address to the physical address?
Thanks a lot for any comments!!
^ permalink raw reply [flat|nested] 2+ messages in thread[parent not found: <4BD1250C.9060308@ispras.ru>]
* Re: Ask help:what does entry-point address mean in a ELF-64 file? [not found] ` <4BD1250C.9060308@ispras.ru> @ 2010-04-26 12:02 ` Dominic 0 siblings, 0 replies; 2+ messages in thread From: Dominic @ 2010-04-26 12:02 UTC (permalink / raw) To: Andrey Ponomarenko; +Cc: linux-gcc Hi Andrey, Thanks a lot, it is a nice article, thanks! On Fri, Apr 23, 2010 at 12:41 PM, Andrey Ponomarenko <susanin@ispras.ru> wrote: > Hello, > > I suppose this article gives a shallow explanation for your problem. > > On 04/23/2010 02:48 AM, Jian Wang wrote: > > Hi, > I am trying to understand the ELF file, I use readelf utility to read > an ELF file, in the result, there is entry-point address displayed. I > searched on the Internet, it says its a virtual address. My question > is could two program have the same entry-point address(if I compile > hello1.c,then compile another hello2.c)? How does the loader map this > virtual address to the physical address? > Thanks a lot for any comments!! > -- > To unsubscribe from this list: send the line "unsubscribe linux-gcc" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > -- > Andrey Ponomarenko > Linux Verification Center, ISPRAS > web: http://www.linuxtesting.org ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-26 12:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-22 22:48 Ask help:what does entry-point address mean in a ELF-64 file? Jian Wang
[not found] ` <4BD1250C.9060308@ispras.ru>
2010-04-26 12:02 ` Dominic
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).