aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2009-12-24 00:17:12 +0100
committerAurelien Jarno <aurelien@aurel32.net>2009-12-24 00:17:12 +0100
commitf7001a3b9e60da80e4d9772a103ea6a06650b649 (patch)
tree9c7111ed552af44fa75901b47350738f899ff6d3 /linux-user
parent58e3e400278fb8000bf53b673008564921205220 (diff)
linux-user: fix build with gcc-4.1
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index d8bb8307ef..a0d8ce734b 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -548,6 +548,8 @@ static int do_strex(CPUARMState *env)
case 3:
segv = get_user_u32(val, addr);
break;
+ default:
+ abort();
}
if (segv) {
env->cp15.c6_data = addr;