From 597e2cec8096e0703506abcbbf66938b5ac04368 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sun, 10 Feb 2013 10:30:50 -0800 Subject: 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 Signed-off-by: Aurelien Jarno --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure') 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 -- cgit v1.1