diff options
author | Richard Henderson <rth@twiddle.net> | 2012-06-01 16:07:52 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2012-08-04 09:37:49 -0700 |
commit | a5e7ee467c6b8cdfc0fc0f1958d5b0f479d76aaf (patch) | |
tree | f82b83c947077eb47c401ddb62f5658e3a5faaa7 /sparc64.ld | |
parent | afc8763f9db442abdbeb73a6458e27a0031c73b3 (diff) |
linux-user: Allocate the right amount of space for non-fixed file maps
If we let the kernel handle the implementation of mmap_find_vma,
via an anon mmap, we must use the size as indicated by the user
and not the size truncated to the filesize.
This happens often in ld.so, where we initially mmap the file to
the size of the text+data+bss to reserve an area, then mmap+fixed
over the top to properly handle data and bss.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'sparc64.ld')
0 files changed, 0 insertions, 0 deletions