|
@@ -21,6 +21,11 @@
|
|
|
#include <stdio.h>
|
|
|
#include <unwind.h>
|
|
|
|
|
|
+#define __libc_dlopen(x) dlopen(x, (RTLD_LOCAL | RTLD_LAZY))
|
|
|
+#define __libc_dlsym dlsym
|
|
|
+#define __libc_dlclose dlclose
|
|
|
+#define __libc_fatal(x) { abort();}
|
|
|
+
|
|
|
static void (*libgcc_s_resume) (struct _Unwind_Exception *exc);
|
|
|
static _Unwind_Reason_Code (*libgcc_s_personality)
|
|
|
(_Unwind_State, struct _Unwind_Exception *, struct _Unwind_Context *);
|