xref: /haiku/headers/private/kernel/arch/elf.h (revision 31f5d420edd1625a5c211fceee69e943677593d2)
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 struct Elf32_Rel;
9 struct Elf32_Rela;
10 struct elf_image_info;
11 
12 extern int arch_elf_relocate_rel(struct elf_image_info *image, const char *sym_prepend,
13 	struct elf_image_info *resolve_image, struct Elf32_Rel *rel, int rel_len);
14 extern int arch_elf_relocate_rela(struct elf_image_info *image, const char *sym_prepend,
15 	struct elf_image_info *resolve_image, struct Elf32_Rela *rel, int rel_len);
16 
17 //#include <arch_elf.h>
18 
19 #endif	/* _KERNEL_ARCH_ELF_H */
20