xemu/linux-user
Felix Janda 52956a9b46 linux-user: use libc wrapper instead of direct mremap syscall
This commit essentially reverts commit
3af72a4d98dca033492102603734cbc63cd2694a, which has replaced
five-argument calls to mremap() by direct mremap syscalls for
compatibility with glibc older than version 2.4.

The direct syscall was buggy for 64bit targets on 32bit hosts
because of the default integer type promotions. Since glibc-2.4
is now a decade old, we can remove this workaround.

Signed-off-by: Felix Janda <felix.janda@posteo.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
2016-10-21 15:19:41 +03:00
..
2016-09-22 07:24:21 +03:00
2016-09-22 07:24:21 +03:00
2016-09-22 07:24:21 +03:00
2016-09-22 07:24:21 +03:00
2016-09-22 07:24:21 +03:00
2016-09-22 07:24:21 +03:00
2016-01-29 15:07:22 +00:00
2016-01-29 15:07:22 +00:00
2016-01-29 15:07:22 +00:00
2016-01-29 15:07:22 +00:00