From a2a78a4edc2e82756d83daf8bbbe2ca26102af47 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Mon, 1 Mar 2021 18:02:26 +0100 Subject: Load elf in memory --- src/elfs/elfloader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/elfs') 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; inumPHEntries; ++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) -- cgit 1.4.1