On systems with MMU
and support for virtual memory
there can bemultiple ELFs
with the same entry point loaded at the same time astheir entry points are just virtual addresses and are translated tophysical memory address at runtime. For example, on my amd64
machine .text
section is always mapped at address 0x00400000
and_start
is always close to that address. But how does it work on systemswithout MMU? Many of them probably don't support multitasking atall. Is it developers' responsibility to pick ELF entry points byhand so that they don't overlap?
↧
How is ELF entry point address handled on systems without virtual memory?
↧