On Sunday, 23 March 2014 at 16:10:48 UTC, Daniel Murphy wrote:
"Asman01" wrote in message
news:[email protected]...
Very noob question about binary files. What else also put the
code to load at right address (say, 0x08048000 on linux) of
operating system is needed to a program run?
Not really sure what you're asking, but the executable file
usually contains an address for each section (code, data, bss,
etc) and the runtime loader will choose to load it there or
somewhere else (eg aslr/shared libraries) and map the data into
virtual memory.
I think I was confusing this to static executables which load at
0x08048000 address and start running from value your set in entry
point.