diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-03-07 14:40:21 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-03-07 14:40:21 +0100 |
| commit | 230d2c960b054ccbb0e67bf8a7e7f6ff3c18f5aa (patch) | |
| tree | ea144d03a5a7d9e627e30dfea5edf596bcab269d /src/elfs/elfloader.c | |
| parent | 57e29ac3b86fa70d1a8209ae5be48b1cbcce215e (diff) | |
| download | box64-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-x | src/elfs/elfloader.c | 1 |
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)) ) { |