From 08c2632c14bf27e85ce46907649b8422377674d0 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 29 Dec 2024 09:05:38 +0300 Subject: [PATCH] engine: platform: nswitch: export _Unwind_GetIPInfo as required by cs16-client --- engine/platform/nswitch/sys_nswitch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/platform/nswitch/sys_nswitch.c b/engine/platform/nswitch/sys_nswitch.c index 805a814771..c6a3c9c71b 100644 --- a/engine/platform/nswitch/sys_nswitch.c +++ b/engine/platform/nswitch/sys_nswitch.c @@ -34,6 +34,7 @@ long pathconf( const char *path, int name ) { return -1; } // part of libunwind; required by any dynamic lib that uses C++ exceptions extern void *_Unwind_Resume; +extern void *_Unwind_GetIPInfo; // these are macros in our libc, so we need to wrap them static int tolower_fn( int c ) { return tolower( c ); } @@ -55,6 +56,7 @@ static const solder_export_t aux_exports[] = SOLDER_EXPORT_SYMBOL( strchrnul ), SOLDER_EXPORT_SYMBOL( stpcpy ), SOLDER_EXPORT_SYMBOL( _Unwind_Resume ), + SOLDER_EXPORT_SYMBOL( _Unwind_GetIPInfo ), }; const solder_export_t *__solder_aux_exports = aux_exports;