diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-01-05 18:19:24 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-01-05 18:19:24 +0100 |
| commit | 4c2ef9947ae5c89f4bfb0b217d6653aa73b95ac2 (patch) | |
| tree | c85eec956a059b2d88720d4bfa9a8f0fd9a4abc7 /src | |
| parent | db7c9e96ea6be30eb6071757d0032e3e589cdbc0 (diff) | |
| download | box64-4c2ef9947ae5c89f4bfb0b217d6653aa73b95ac2.tar.gz box64-4c2ef9947ae5c89f4bfb0b217d6653aa73b95ac2.zip | |
Fixed an issue with TLS Relocation (should fix the regression notified in #360)
Diffstat (limited to 'src')
| -rwxr-xr-x | src/elfs/elfloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elfs/elfloader.c b/src/elfs/elfloader.c index 0a0f0cf2..94c5a93e 100755 --- a/src/elfs/elfloader.c +++ b/src/elfs/elfloader.c @@ -781,7 +781,7 @@ int RelocateElfRELA(lib_t *maplib, lib_t *local_maplib, int bindnow, elfheader_t break; case R_X86_64_DTPMOD64: // ID of module containing symbol - if(!symname || symname[0]=='\0') + if(!symname || symname[0]=='\0' || bind==STB_LOCAL) offs = getElfIndex(my_context, head); else { if(!h_tls) { |