mips64-linux-user: Fix definition of struct sigaltstack
Without this fix, qemu segfaults when emulating the sigaltstack syscall, because it incorrectly treats the ss_flags field as 64 bits rather than 32 bits. Signed-off-by: Ed Swierk <eswierk@skyportsystems.com> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
This commit is contained in:
		
							parent
							
								
									9c6bf9c7d7
								
							
						
					
					
						commit
						ec355f1547
					
				@ -8,7 +8,7 @@
 | 
				
			|||||||
typedef struct target_sigaltstack {
 | 
					typedef struct target_sigaltstack {
 | 
				
			||||||
	abi_long ss_sp;
 | 
						abi_long ss_sp;
 | 
				
			||||||
	abi_ulong ss_size;
 | 
						abi_ulong ss_size;
 | 
				
			||||||
	abi_long ss_flags;
 | 
						abi_int ss_flags;
 | 
				
			||||||
} target_stack_t;
 | 
					} target_stack_t;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user