summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-02-10 10:30:50 -0800
committerAurelien Jarno <aurelien@aurel32.net>2013-03-05 15:04:20 +0100
commit597e2cec8096e0703506abcbbf66938b5ac04368 (patch)
tree6ea470e565a38beb5655f162b43e9a4c83c0ea02 /configure
parent68473f15d4c9948986618f63828825beafcaf1cf (diff)
downloadhqemu-597e2cec8096e0703506abcbbf66938b5ac04368.zip
hqemu-597e2cec8096e0703506abcbbf66938b5ac04368.tar.gz
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 08dcc26..3e1d781 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
OpenPOWER on IntegriCloud