1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #include <asm/unistd.h> 3 #include <sys/mman.h> 4 #include <signal.h> 5 #include <as-layout.h> 6 #include <stub-data.h> 7 8 #ifdef __i386__ 9 #include "stub_32.h" 10 #else 11 #include "stub_64.h" 12 #endif 13 14 extern void stub_segv_handler(int, siginfo_t *, void *); 15 extern void stub_syscall_handler(void); 16