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