From 3badc5ac30fcc0836a2604146788158b16b64f2d Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 23 Jul 2022 18:20:06 +0200 Subject: init: compile as an elf --- src/user/lib/elfload.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/user/lib/elfload.c') diff --git a/src/user/lib/elfload.c b/src/user/lib/elfload.c index c32232e..6c75268 100644 --- a/src/user/lib/elfload.c +++ b/src/user/lib/elfload.c @@ -76,6 +76,7 @@ void elf_exec(void *base) { struct Elf64_Ehdr *ehdr = base; void *exebase; if (!valid_ehdr(ehdr)) return; + _syscall_debug_klog("here", 4); size_t spread = elf_spread(base); switch (ehdr->e_type) { case ET_EXEC: -- cgit v1.2.3