xref: /haiku/headers/private/kernel/arch/elf.h (revision 8a6724a0ee3803f1e9f487d8111bb3f6cb8d16db)
1 /*
2 ** Copyright 2002, Travis Geiselbrecht. All rights reserved.
3 ** Distributed under the terms of the NewOS License.
4 */
5 #ifndef _KERNEL_ARCH_ELF_H
6 #define _KERNEL_ARCH_ELF_H
7 
8 
9 #include <elf_private.h>
10 
11 
12 struct elf_image_info;
13 
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 extern int arch_elf_relocate_rel(struct elf_image_info *image,
20 	struct elf_image_info *resolve_image, elf_rel *rel, int rel_len);
21 extern int arch_elf_relocate_rela(struct elf_image_info *image,
22 	struct elf_image_info *resolve_image, elf_rela *rel, int rel_len);
23 
24 #ifdef __cplusplus
25 }
26 #endif
27 
28 
29 #include <arch_elf.h>
30 
31 
32 #endif	/* _KERNEL_ARCH_ELF_H */
33