about summary refs log tree commit diff stats
path: root/src/include/box64context.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-07-15 16:57:57 +0200
committerptitSeb <sebastien.chev@gmail.com>2023-07-15 16:57:57 +0200
commit0b3097cd0b15eedd3e33ae2331f32fc261ee1231 (patch)
tree3f2034d75b595670e68971d0c9dc125000960da4 /src/include/box64context.h
parentc7e0ba82b4a586fed8f4d45acd0c774ddf0f777b (diff)
downloadbox64-0b3097cd0b15eedd3e33ae2331f32fc261ee1231.tar.gz
box64-0b3097cd0b15eedd3e33ae2331f32fc261ee1231.zip
[ELFLOADER] Reworked R_X86_64_COPY and R_X86_64_GLOB_DAT handling, improving c++ program compatibility
Diffstat (limited to 'src/include/box64context.h')
-rwxr-xr-xsrc/include/box64context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/box64context.h b/src/include/box64context.h
index 5b2c5a63..e87aa0e3 100755
--- a/src/include/box64context.h
+++ b/src/include/box64context.h
@@ -117,6 +117,7 @@ typedef struct box64context_s {
     lib_t               *maplib;        // lib and symbols handling
     lib_t               *local_maplib;  // libs and symbols openned has local (only collection of libs, no symbols)
     dic_t               *versym;        // dictionnary of versioned symbols
+    kh_symbolmap_t      *globdata;      // GLOBAL_DAT relocation for COPY mapping in main elf
 
     kh_threadstack_t    *stacksizes;    // stack sizes attributes for thread (temporary)
     bridge_t            *system;        // other bridges