about summary refs log tree commit diff stats
path: root/src/elfs/elfloader_private.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-07-04 22:58:06 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-07-04 22:58:06 +0200
commit27b3a3f33c90fc0daaf0ca8708c806b2a71b1625 (patch)
tree8e6198379d7b86fb7b40175e8fe7e086d7b2e6ae /src/elfs/elfloader_private.h
parentd60a0ef58d8fc23c29cb783232a2915f48c9bf4a (diff)
downloadbox64-27b3a3f33c90fc0daaf0ca8708c806b2a71b1625.tar.gz
box64-27b3a3f33c90fc0daaf0ca8708c806b2a71b1625.zip
Improved TLS handling (for #17, but probably help many other programs)
Diffstat (limited to 'src/elfs/elfloader_private.h')
-rwxr-xr-xsrc/elfs/elfloader_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/elfs/elfloader_private.h b/src/elfs/elfloader_private.h
index d3d09daa..18671d75 100755
--- a/src/elfs/elfloader_private.h
+++ b/src/elfs/elfloader_private.h
@@ -73,7 +73,9 @@ struct elfheader_s {
     uint64_t    memsz;
     uint64_t    stacksz;
     size_t      stackalign;
+    uintptr_t   tlsaddr;
     uint64_t    tlssize;
+    uint64_t    tlsfilesize;
     size_t      tlsalign;
 
     int64_t     tlsbase;    // the base of the tlsdata in the global tlsdata (always negative)