| 
									
										
										
										
											2011-08-18 20:04:09 +01:00
										 |  |  | #include <asm/unistd.h>
 | 
					
						
							|  |  |  | #include <sys/mman.h>
 | 
					
						
							|  |  |  | #include <signal.h>
 | 
					
						
							| 
									
										
										
										
											2012-10-08 03:27:32 +01:00
										 |  |  | #include <as-layout.h>
 | 
					
						
							|  |  |  | #include <stub-data.h>
 | 
					
						
							| 
									
										
										
										
											2011-08-18 20:04:09 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-08-18 20:03:09 +01:00
										 |  |  | #ifdef __i386__
 | 
					
						
							|  |  |  | #include "stub_32.h"
 | 
					
						
							|  |  |  | #else
 | 
					
						
							|  |  |  | #include "stub_64.h"
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											2011-08-18 20:04:09 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | extern void stub_segv_handler(int, siginfo_t *, void *); | 
					
						
							|  |  |  | extern void stub_clone_handler(void); |