about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-03 17:33:26 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-03 17:33:26 +0100
commit1c9e2c998ffc9f20fc72aa75b01dae6c336659e4 (patch)
tree2805f5e34211cf59dca167e6d235af9a98b6e576 /src
parentbe17349a5d8e2ea323a793384b43653e3e9c22a6 (diff)
downloadbox64-1c9e2c998ffc9f20fc72aa75b01dae6c336659e4.tar.gz
box64-1c9e2c998ffc9f20fc72aa75b01dae6c336659e4.zip
Do ElfPlt on main elf
Diffstat (limited to 'src')
-rwxr-xr-xsrc/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 8495aca5..b5ba59ec 100755
--- a/src/main.c
+++ b/src/main.c
@@ -871,6 +871,10 @@ int main(int argc, const char **argv, const char **env) {
         FreeBox64Context(&my_context);
         return -1;
     }
+    // and handle PLT
+    RelocateElfPlt(my_context->maplib, NULL, elf_header);
+    // defered init
+//    RunDeferedElfInit(emu);
 
     return 0;
 }