In elf_map(), we can search an unmapped area for the whole image of dynamic
loader with total_size, then map the first PT_LOAD segment with its own size.
But not map the while image, then unmap the remainder at the end.
And also update the code comment in elf_map() accordingly.
Signed-off-by:
In elf_map(), we can search an unmapped area for the whole image of dynamic
loader with total_size, then map the first PT_LOAD segment with its own size.
But not map the while image, then unmap the remainder at the end.
And also update the code comment in elf_map() accordingly.
Signed-off-by:
2 matches
Mail list logo