diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-03-18 23:16:03 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-03-24 13:02:43 +0000 |
commit | 59821ae8025dbf61323343fc074513d30013c9c0 (patch) | |
tree | cce7809e58e47c4e329f76a567c6c3968061cbc3 /target-mips/helper.h | |
parent | 1367ff497aa5200970e555bf4cce07467c3e3652 (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/helper.h')
-rw-r--r-- | target-mips/helper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-mips/helper.h b/target-mips/helper.h index 442f684697..76fb451e77 100644 --- a/target-mips/helper.h +++ b/target-mips/helper.h @@ -1,7 +1,7 @@ #include "def-helper.h" -DEF_HELPER_2(raise_exception_err, void, i32, int) -DEF_HELPER_1(raise_exception, void, i32) +DEF_HELPER_2(raise_exception_err, noreturn, i32, int) +DEF_HELPER_1(raise_exception, noreturn, i32) #ifdef TARGET_MIPS64 DEF_HELPER_3(ldl, tl, tl, tl, int) |