xref: /haiku/src/system/boot/loader/elf.h (revision 5e972c0f3d2d525d5967f21960f7cf9ebfc6ff15)
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 
13*5e972c0fSFredrik Holmqvist extern void elf_init();
145af32e75SAxel Dörfler extern status_t elf_load_image(Directory *directory, const char *path);
155af32e75SAxel Dörfler extern status_t elf_load_image(int fd, preloaded_image *image);
165af32e75SAxel Dörfler 
17957a1b17SIngo Weinhold extern status_t elf_relocate_image(struct preloaded_image *image);
18957a1b17SIngo Weinhold 
195af32e75SAxel Dörfler #endif	/* LOADER_ELF_H */
20