summaryrefslogtreecommitdiff
path: root/src/user/lib/elfload.h
blob: 8310b3f3b711308a7ec9209b0190a04083bf2316 (plain)
1
2
3
4
5
6
7
8
#pragma once
#include <bits/file.h>

void elf_execf(libc_file *f);
void elf_exec(void *elf);
void *elf_partialexec(void *elf); /* returns pointer to entry point */

void elf_selfreloc(void); // elfreloc.c