Merge ExecSpace into ELFLoader.

This commit is contained in:
Andreas Kling 2018-11-04 13:52:53 +01:00
commit 422b5403e5
Notes: sideshowbarker 2024-07-19 18:33:49 +09:00
7 changed files with 55 additions and 120 deletions

View file

@ -219,7 +219,7 @@ static void init_stage2()
ExecSpace space;
space.loadELF(move(testExecutableData));
auto* elf_entry = space.symbolPtr("_start");
auto* elf_entry = space.symbol_ptr("_start");
ASSERT(elf_entry);
typedef int (*MainFunctionPtr)(void);