Sungyoul Kim
2011-07-23 06:08:54 UTC
Somehow,
when I get the elf information,
it is not page-aligned nor seems right.
The following is some examples:
for sort:
load_elf: vaddr (400000) memsz(1ac4) poffset(0) pfilesz(1ac4)
load_elf: vaddr (441ad0) memsz(1200b0) poffset(1ad0) pfilesz(a0)
for forktest:
load_elf: vaddr (400000) memsz(1674) poffset(0) pfilesz(1674)
load_elf: vaddr (441674) memsz(c) poffset(1674) pfilesz(0)
Is it natural to have the second segment like that?
Why is this happening?
Thank you
when I get the elf information,
it is not page-aligned nor seems right.
The following is some examples:
for sort:
load_elf: vaddr (400000) memsz(1ac4) poffset(0) pfilesz(1ac4)
load_elf: vaddr (441ad0) memsz(1200b0) poffset(1ad0) pfilesz(a0)
for forktest:
load_elf: vaddr (400000) memsz(1674) poffset(0) pfilesz(1674)
load_elf: vaddr (441674) memsz(c) poffset(1674) pfilesz(0)
Is it natural to have the second segment like that?
Why is this happening?
Thank you