diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-03-01 18:02:26 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-03-01 18:02:26 +0100 |
| commit | a2a78a4edc2e82756d83daf8bbbe2ca26102af47 (patch) | |
| tree | 5010536c8adda635f138ecb55da6c5e1b813b8e0 /src/elfs/elfloader.c | |
| parent | 4079491d5e003c424f1bfa2a3f682185cd0c54a7 (diff) | |
| download | box64-a2a78a4edc2e82756d83daf8bbbe2ca26102af47.tar.gz box64-a2a78a4edc2e82756d83daf8bbbe2ca26102af47.zip | |
Load elf in memory
Diffstat (limited to 'src/elfs/elfloader.c')
| -rwxr-xr-x | src/elfs/elfloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elfs/elfloader.c b/src/elfs/elfloader.c index a8a3c928..ebb68138 100755 --- a/src/elfs/elfloader.c +++ b/src/elfs/elfloader.c @@ -278,7 +278,6 @@ void FreeElfMemory(elfheader_t* head) } } -#if 0 int LoadElfMemory(FILE* f, box64context_t* context, elfheader_t* head) { for (int i=0; i<head->numPHEntries; ++i) { @@ -350,6 +349,7 @@ int ReloadElfMemory(FILE* f, box64context_t* context, elfheader_t* head) // TLS data are just a copy, no need to re-load it return 0; } +#if 0 int FindR386COPYRel(elfheader_t* h, const char* name, uintptr_t *offs, uint32_t** p) { if(!h) |