summaryrefslogtreecommitdiffhomepage
path: root/src/arch/nt64/crt_glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/nt64/crt_glue.c')
-rw-r--r--src/arch/nt64/crt_glue.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/nt64/crt_glue.c b/src/arch/nt64/crt_glue.c
index f65fa9b..7a33981 100644
--- a/src/arch/nt64/crt_glue.c
+++ b/src/arch/nt64/crt_glue.c
@@ -8,6 +8,7 @@
extern const struct __ldso_vtbl * __ldso_vtbl;
extern const struct __psx_vtbl * __psx_vtbl;
+extern const struct __seh_vtbl * __seh_vtbl;
static int __pthread_surrogate_init(struct pthread * self);
@@ -84,6 +85,8 @@ void __libc_entry_routine(
__syscall_vtbl = (unsigned long **)ctx.sys_vtbl;
__ldso_vtbl = ctx.ldso_vtbl;
__psx_vtbl = ctx.psx_vtbl;
+ __seh_vtbl = ctx.seh_vtbl;
+
__teb_sys_idx = ctx.teb_sys_idx;
__teb_libc_idx = ctx.teb_libc_idx;