2002-12-30 16:34:25 +03:00
|
|
|
/*
|
|
|
|
** Copyright 2002, Travis Geiselbrecht. All rights reserved.
|
|
|
|
** Distributed under the terms of the NewOS License.
|
|
|
|
*/
|
|
|
|
#ifndef _KERNEL_ARCH_ELF_H
|
|
|
|
#define _KERNEL_ARCH_ELF_H
|
|
|
|
|
|
|
|
struct Elf32_Rel;
|
|
|
|
struct Elf32_Rela;
|
|
|
|
struct elf_image_info;
|
|
|
|
|
2006-01-11 17:36:43 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2009-05-13 19:25:27 +04:00
|
|
|
extern int arch_elf_relocate_rel(struct elf_image_info *image,
|
2002-12-30 16:34:25 +03:00
|
|
|
struct elf_image_info *resolve_image, struct Elf32_Rel *rel, int rel_len);
|
2009-05-13 19:25:27 +04:00
|
|
|
extern int arch_elf_relocate_rela(struct elf_image_info *image,
|
2002-12-30 16:34:25 +03:00
|
|
|
struct elf_image_info *resolve_image, struct Elf32_Rela *rel, int rel_len);
|
|
|
|
|
2006-01-11 17:36:43 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2003-05-03 18:12:16 +04:00
|
|
|
#include <arch_elf.h>
|
2002-12-30 16:34:25 +03:00
|
|
|
|
|
|
|
#endif /* _KERNEL_ARCH_ELF_H */
|