summaryrefslogtreecommitdiff
path: root/src/user/lib/elfload.c
diff options
context:
space:
mode:
authordzwdz2022-07-23 18:20:06 +0200
committerdzwdz2022-07-23 18:20:06 +0200
commit3badc5ac30fcc0836a2604146788158b16b64f2d (patch)
treea05a6c7501119b779191414a2a6265382574732d /src/user/lib/elfload.c
parentcd12cbc75564fafd9c2519cdf1085e651c9d7cfd (diff)
init: compile as an elf
Diffstat (limited to 'src/user/lib/elfload.c')
-rw-r--r--src/user/lib/elfload.c1
1 files changed, 1 insertions, 0 deletions
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: