]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg-sparc: Don't MAP_FIXED on top of the program
authorRichard Henderson <rth@twiddle.net>
Fri, 21 Sep 2012 17:40:48 +0000 (10:40 -0700)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 9 Oct 2012 06:42:10 +0000 (01:42 -0500)
commite1784a4cbd441e24064b347fa85b0fc4eae6056b
tree1163c0dde4b90f4216a0aabad4cffd36f8266ff1
parente183eb99fa4dd0c2aa92b36dc8a00ab524ac366d
tcg-sparc: Don't MAP_FIXED on top of the program

The address we pick in sparc64.ld is also 0x60000000, so doing a fixed map
on top of that is guaranteed to blow up.  Choosing 0x40000000 is exactly
right for the max of code_gen_buffer_size set below.

No need to ever use MAP_FIXED.  While getting our desired address helps
optimize the generated code, we won't fail if we don't get it.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
exec.c