about summary refs log tree commit diff stats
path: root/src/elfs/elfloader.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-07 14:40:21 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-07 14:40:21 +0100
commit230d2c960b054ccbb0e67bf8a7e7f6ff3c18f5aa (patch)
treeea144d03a5a7d9e627e30dfea5edf596bcab269d /src/elfs/elfloader.c
parent57e29ac3b86fa70d1a8209ae5be48b1cbcce215e (diff)
downloadbox64-230d2c960b054ccbb0e67bf8a7e7f6ff3c18f5aa.tar.gz
box64-230d2c960b054ccbb0e67bf8a7e7f6ff3c18f5aa.zip
Small adjustment for __pthread_unwind_next (but still crashing on aarch64)
Diffstat (limited to 'src/elfs/elfloader.c')
-rwxr-xr-xsrc/elfs/elfloader.c1
1 files changed, 1 insertions, 0 deletions
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 && tmp<head->plt_end) || (tmp>=head->gotplt && tmp<head->gotplt_end))
                   ) {