xref: /haiku/src/system/boot/loader/elf.h (revision f1244978152350f9cc010e766d09c2e9ad34dfce)
15af32e75SAxel Dörfler /*
25af32e75SAxel Dörfler ** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
35af32e75SAxel Dörfler ** Distributed under the terms of the OpenBeOS License.
45af32e75SAxel Dörfler */
55af32e75SAxel Dörfler #ifndef LOADER_ELF_H
65af32e75SAxel Dörfler #define LOADER_ELF_H
75af32e75SAxel Dörfler 
85af32e75SAxel Dörfler 
95af32e75SAxel Dörfler #include <boot/elf.h>
105af32e75SAxel Dörfler #include <boot/vfs.h>
115af32e75SAxel Dörfler 
125af32e75SAxel Dörfler 
135e972c0fSFredrik Holmqvist extern void elf_init();
145af32e75SAxel Dörfler extern status_t elf_load_image(Directory *directory, const char *path);
15*f1244978SAlex Smith extern status_t elf_load_image(int fd, preloaded_image **_image);
165af32e75SAxel Dörfler 
17*f1244978SAlex Smith extern status_t elf_relocate_image(preloaded_image *image);
18957a1b17SIngo Weinhold 
195af32e75SAxel Dörfler #endif	/* LOADER_ELF_H */
20