commit | 2aa453ec7715ac67e19e13e4f4880586f00fad2f | [log] [tgz] |
---|---|---|
author | dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Tue Oct 01 10:34:54 2013 +0000 |
committer | dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Tue Oct 01 10:34:54 2013 +0000 |
tree | 02bc6e9f2805411a392197d13b7ed7c563e3a85a | |
parent | be853a8b001ec34baf03e402648dc677813718b1 [diff] |
mips32: Fix the align problem with mmap. Valgrind is doing mmap always with MAP_FIXED. On mips32 we need to check arg4. If the arg4 is MAP_SHARED we need to align the address to SHMLBA. If the program tries to do mmap with VKI_FIXED Valgrind doesn't need to align the address to SHMLBA. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13593 a5019735-40e9-0310-863c-91ae7b9d1cf9