aboutsummaryrefslogtreecommitdiff
path: root/target-mips/op_helper.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-03-18 23:16:03 +0100
committerBlue Swirl <blauwirbel@gmail.com>2012-03-24 13:02:43 +0000
commit59821ae8025dbf61323343fc074513d30013c9c0 (patch)
treecce7809e58e47c4e329f76a567c6c3968061cbc3 /target-mips/op_helper.c
parent1367ff497aa5200970e555bf4cce07467c3e3652 (diff)
target-mips: Add compiler attribute to some functions which don't return
helper_raise_exception_err does not return, nor do helper_raise_exception and do_unaligned_access. Cc: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-mips/op_helper.c')
-rw-r--r--target-mips/op_helper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c
index 3a207312a4..ce01225e6c 100644
--- a/target-mips/op_helper.c
+++ b/target-mips/op_helper.c
@@ -2292,7 +2292,8 @@ void helper_wait (void)
#if !defined(CONFIG_USER_ONLY)
-static void do_unaligned_access (target_ulong addr, int is_write, int is_user, void *retaddr);
+static void QEMU_NORETURN do_unaligned_access(target_ulong addr, int is_write,
+ int is_user, void *retaddr);
#define MMUSUFFIX _mmu
#define ALIGNED_ONLY