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 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 extern int arch_elf_relocate_rel(struct elf_image_info *image, 17 struct elf_image_info *resolve_image, struct Elf32_Rel *rel, int rel_len); 18 extern int arch_elf_relocate_rela(struct elf_image_info *image, 19 struct elf_image_info *resolve_image, struct Elf32_Rela *rel, int rel_len); 20 21 #ifdef __cplusplus 22 } 23 #endif 24 25 #include <arch_elf.h> 26 27 #endif /* _KERNEL_ARCH_ELF_H */ 28