diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-04-16 09:32:54 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-04-16 09:32:54 +0200 |
| commit | 9880a488ac919316f07a8ce5e8da546fb9029cf6 (patch) | |
| tree | 4f08812f2f68d56c62ccdaf954a8c21a60b24876 /src/box64context.c | |
| parent | f59675e9bf438cfca082c5d35bc07ca19762195b (diff) | |
| download | box64-9880a488ac919316f07a8ce5e8da546fb9029cf6.tar.gz box64-9880a488ac919316f07a8ce5e8da546fb9029cf6.zip | |
Another fix for dlopen/dlclose sequence (should be ok now, at last)
Diffstat (limited to 'src/box64context.c')
| -rwxr-xr-x | src/box64context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/box64context.c b/src/box64context.c index f6ca346a..1fd4588a 100755 --- a/src/box64context.c +++ b/src/box64context.c @@ -359,12 +359,12 @@ void RemoveElfHeader(box64context_t* ctx, elfheader_t* head) { if(GetTLSBase(head)) { // should remove the tls info int tlsbase = GetTLSBase(head); - if(tlsbase == -ctx->tlssize) { + /*if(tlsbase == -ctx->tlssize) { // not really correct, but will do for now ctx->tlssize -= GetTLSSize(head); if(!(++ctx->sel_serial)) ++ctx->sel_serial; - } + }*/ } for(int i=0; i<ctx->elfsize; ++i) if(ctx->elfs[i] == head) { |