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>
This commit is contained in:
		
							parent
							
								
									1367ff497a
								
							
						
					
					
						commit
						59821ae802
					
				| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue