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/nt64/unwind.c | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'src/arch/nt64/unwind.c') diff --git a/src/arch/nt64/unwind.c b/src/arch/nt64/unwind.c index 28026c6..2676683 100644 --- a/src/arch/nt64/unwind.c +++ b/src/arch/nt64/unwind.c @@ -3,7 +3,7 @@ #include #include "psxseh.h" -extern const struct __seh_vtbl * __seh_vtbl; +extern const struct __seh_vtbl * __eh_vtbl; int __unwind_exception_filter( @@ -13,7 +13,7 @@ int __unwind_exception_filter( struct _nt_dispatcher_context * dctx, __unwind_personality_routine uw_routine) { - return __seh_vtbl->seh_exception_filter( + return __eh_vtbl->seh_exception_filter( erec,fctx,tctx,dctx,uw_routine); } @@ -24,32 +24,32 @@ int __unwind_exception_handler( mcontext_t * tctx, struct _nt_dispatcher_context * dctx) { - return __seh_vtbl->seh_exception_handler( + return __eh_vtbl->seh_exception_handler( erec,fbase,tctx,dctx); } int __unwind_raise_exception(struct __unwind_exception * e) { - return __seh_vtbl->seh_unwind_raise_exception(e); + return __eh_vtbl->seh_unwind_raise_exception(e); } void __unwind_delete_exception(struct __unwind_exception * e) { - return __seh_vtbl->seh_unwind_delete_exception(e); + return __eh_vtbl->seh_unwind_delete_exception(e); } void __unwind_resume(struct __unwind_exception * e) { - return __seh_vtbl->seh_unwind_resume(e); + return __eh_vtbl->seh_unwind_resume(e); } int __unwind_resume_or_rethrow(struct __unwind_exception * e) { - return __seh_vtbl->seh_unwind_resume_or_rethrow(e); + return __eh_vtbl->seh_unwind_resume_or_rethrow(e); } @@ -62,13 +62,13 @@ int __unwind_force( void *), void * ctx) { - return __seh_vtbl->seh_unwind_force(e,stop_fn,ctx); + return __eh_vtbl->seh_unwind_force(e,stop_fn,ctx); } void * __unwind_get_language_specific_data(struct __unwind_context * uwctx) { - return __seh_vtbl->seh_unwind_get_language_specific_data(uwctx); + return __eh_vtbl->seh_unwind_get_language_specific_data(uwctx); } @@ -78,71 +78,71 @@ int __unwind_backtrace( void *), void * ctx) { - return __seh_vtbl->seh_unwind_backtrace(trace_fn,ctx); + return __eh_vtbl->seh_unwind_backtrace(trace_fn,ctx); } int __unwind_calltrace() { - return __seh_vtbl->seh_unwind_calltrace(); + return __eh_vtbl->seh_unwind_calltrace(); } uintptr_t __unwind_get_ip(const struct __unwind_context * uwctx) { - return __seh_vtbl->seh_unwind_get_ip(uwctx); + return __eh_vtbl->seh_unwind_get_ip(uwctx); } void __unwind_set_ip(struct __unwind_context * uwctx, uintptr_t ip) { - return __seh_vtbl->seh_unwind_set_ip(uwctx,ip); + return __eh_vtbl->seh_unwind_set_ip(uwctx,ip); } uintptr_t __unwind_get_gr(const struct __unwind_context * uwctx, int idx) { - return __seh_vtbl->seh_unwind_get_gr(uwctx,idx); + return __eh_vtbl->seh_unwind_get_gr(uwctx,idx); } void __unwind_set_gr(struct __unwind_context * uwctx, int idx, uintptr_t rval) { - return __seh_vtbl->seh_unwind_set_gr(uwctx,idx,rval); + return __eh_vtbl->seh_unwind_set_gr(uwctx,idx,rval); } uintptr_t __unwind_get_data_rel_base(const struct __unwind_context * uwctx) { - return __seh_vtbl->seh_unwind_get_data_rel_base(uwctx); + return __eh_vtbl->seh_unwind_get_data_rel_base(uwctx); } uintptr_t __unwind_get_text_rel_base(const struct __unwind_context * uwctx) { - return __seh_vtbl->seh_unwind_get_text_rel_base(uwctx); + return __eh_vtbl->seh_unwind_get_text_rel_base(uwctx); } uintptr_t __unwind_get_cfa(const struct __unwind_context * uwctx) { - return __seh_vtbl->seh_unwind_get_cfa(uwctx); + return __eh_vtbl->seh_unwind_get_cfa(uwctx); } uintptr_t __unwind_get_ip_info(const struct __unwind_context * uwctx, int * pinfo) { - return __seh_vtbl->seh_unwind_get_ip_info(uwctx,pinfo); + return __eh_vtbl->seh_unwind_get_ip_info(uwctx,pinfo); } uintptr_t __unwind_get_region_start(const struct __unwind_context * uwctx) { - return __seh_vtbl->seh_unwind_get_region_start(uwctx); + return __eh_vtbl->seh_unwind_get_region_start(uwctx); } void * __unwind_find_enclosing_function(const void * addr) { - return __seh_vtbl->seh_unwind_find_enclosing_function(addr); + return __eh_vtbl->seh_unwind_find_enclosing_function(addr); } -- cgit v1.2.3