From 230d2c960b054ccbb0e67bf8a7e7f6ff3c18f5aa Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 7 Mar 2021 14:40:21 +0100 Subject: Small adjustment for __pthread_unwind_next (but still crashing on aarch64) --- src/elfs/elfloader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/elfs/elfloader.c b/src/elfs/elfloader.c index 252960c6..bd860f9e 100755 --- a/src/elfs/elfloader.c +++ b/src/elfs/elfloader.c @@ -602,6 +602,7 @@ int RelocateElfRELA(lib_t *maplib, lib_t *local_maplib, elfheader_t* head, int c tmp = (uintptr_t)(*p); if (bind==STB_LOCAL || ((symname && strstr(symname, "g_cclosure_marshal_")==symname)) + || ((symname && strstr(symname, "__pthread_unwind_next")==symname)) || !tmp || !((tmp>=head->plt && tmpplt_end) || (tmp>=head->gotplt && tmpgotplt_end)) ) { -- cgit 1.4.1