diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-03-03 17:33:26 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-03-03 17:33:26 +0100 |
| commit | 1c9e2c998ffc9f20fc72aa75b01dae6c336659e4 (patch) | |
| tree | 2805f5e34211cf59dca167e6d235af9a98b6e576 /src | |
| parent | be17349a5d8e2ea323a793384b43653e3e9c22a6 (diff) | |
| download | box64-1c9e2c998ffc9f20fc72aa75b01dae6c336659e4.tar.gz box64-1c9e2c998ffc9f20fc72aa75b01dae6c336659e4.zip | |
Do ElfPlt on main elf
Diffstat (limited to 'src')
| -rwxr-xr-x | src/main.c | 4 |
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; } |