]> git.proxmox.com Git - mirror_qemu.git/blobdiff - configure
tcg-mips: Layout executable and code_gen_buffer
[mirror_qemu.git] / configure
index 605a0ece0c395f391f9f340025dbd8e12f5af53b..4d1e79de3da59886f7f1baede08e7af0dffdb7a1 100755 (executable)
--- a/configure
+++ b/configure
@@ -4029,11 +4029,14 @@ fi
 if test "$pie" = "no" ; then
   textseg_addr=
   case "$cpu" in
-    arm | hppa | i386 | m68k | ppc | ppc64 | s390* | sparc | sparc64 | x86_64 | x32)
+    arm | i386 | ppc* | s390* | sparc* | x86_64 | x32)
+      # ??? Rationale for choosing this address
       textseg_addr=0x60000000
       ;;
     mips)
-      textseg_addr=0x400000
+      # A 256M aligned address, high in the address space, with enough
+      # room for the code_gen_buffer above it before the stack.
+      textseg_addr=0x60000000
       ;;
   esac
   if [ -n "$textseg_addr" ]; then