about summary refs log tree commit diff stats
path: root/src/box64context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/box64context.c')
-rwxr-xr-xsrc/box64context.c4
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) {