mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:37:46 +00:00
AK+Userland: Stub out code that isn't currently implemented on AARCH64
Even though this almost certainly wouldn't run properly even if we had a working kernel for AARCH64 this at least lets us build all the userland binaries.
This commit is contained in:
parent
c18c84dbfd
commit
31bd5b1a02
17 changed files with 206 additions and 6 deletions
|
@ -660,7 +660,11 @@ void ELF::DynamicLinker::linker_main(String&& main_program_name, int main_progra
|
|||
|
||||
dbgln_if(DYNAMIC_LOAD_DEBUG, "Jumping to entry point: {:p}", entry_point_function);
|
||||
if (s_do_breakpoint_trap_before_entry) {
|
||||
#ifdef AK_ARCH_AARCH64
|
||||
asm("brk #0");
|
||||
#else
|
||||
asm("int3");
|
||||
#endif
|
||||
}
|
||||
|
||||
_invoke_entry(argc, argv, envp, entry_point_function);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue