From 11620137f8123afaa9a9a882839f8c7ac7509770 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 8 Apr 2019 08:03:25 -0400 Subject: static linking: __seh_vtbl is a framework-reserved symbol. --- src/arch/nt32/crt_glue.c | 4 ++-- src/arch/nt32/vtbl.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/arch/nt32') diff --git a/src/arch/nt32/crt_glue.c b/src/arch/nt32/crt_glue.c index 7a33981..db5d3a6 100644 --- a/src/arch/nt32/crt_glue.c +++ b/src/arch/nt32/crt_glue.c @@ -8,7 +8,7 @@ extern const struct __ldso_vtbl * __ldso_vtbl; extern const struct __psx_vtbl * __psx_vtbl; -extern const struct __seh_vtbl * __seh_vtbl; +extern const struct __seh_vtbl * __eh_vtbl; static int __pthread_surrogate_init(struct pthread * self); @@ -85,7 +85,7 @@ 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; + __eh_vtbl = ctx.seh_vtbl; __teb_sys_idx = ctx.teb_sys_idx; __teb_libc_idx = ctx.teb_libc_idx; diff --git a/src/arch/nt32/vtbl.c b/src/arch/nt32/vtbl.c index 7691977..751990b 100644 --- a/src/arch/nt32/vtbl.c +++ b/src/arch/nt32/vtbl.c @@ -5,7 +5,7 @@ const struct __ldso_vtbl * __ldso_vtbl = 0; const struct __psx_vtbl * __psx_vtbl = 0; -const struct __seh_vtbl * __seh_vtbl = 0; +const struct __seh_vtbl * __eh_vtbl = 0; unsigned long ** __syscall_vtbl = 0; unsigned long __teb_sys_idx = 0; -- cgit v1.2.3