1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:58:11 +00:00

Merge ExecSpace into ELFLoader.

This commit is contained in:
Andreas Kling 2018-11-04 13:52:53 +01:00
parent d90b891406
commit 422b5403e5
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);