summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRichard Henderson2013-02-10 19:30:50 +0100
committerAurelien Jarno2013-03-05 15:04:20 +0100
commit597e2cec8096e0703506abcbbf66938b5ac04368 (patch)
tree6ea470e565a38beb5655f162b43e9a4c83c0ea02 /configure
parentmips64-linux-user: Enable 64-bit address mode and fpu (diff)
downloadqemu-597e2cec8096e0703506abcbbf66938b5ac04368.tar.gz
qemu-597e2cec8096e0703506abcbbf66938b5ac04368.tar.xz
qemu-597e2cec8096e0703506abcbbf66938b5ac04368.zip
mipsn32-linux-user: Configure the architecture properly
N32 is a 64-bit cpu with a 32-bit address space. We have existing cpp defines for this situation, but weren't using them. This does mean that the linux-user/mipsn32 directory must be merged with the linux-user/mips64 directory, and differences must be resolved via ifdefs. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 08dcc26434..3e1d7811b1 100755
--- a/configure
+++ b/configure
@@ -4012,9 +4012,10 @@ case "$target_arch2" in
target_nptl="yes"
;;
mipsn32|mipsn32el)
- TARGET_ARCH=mipsn32
+ TARGET_ARCH=mips64
TARGET_BASE_ARCH=mips
echo "TARGET_ABI_MIPSN32=y" >> $config_target_mak
+ echo "TARGET_ABI32=y" >> $config_target_mak
;;
mips64|mips64el)
TARGET_ARCH=mips64