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

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

void elf_selfreloc(void); // elfreloc.c