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
12struct elf_image_info;
13
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19extern int arch_elf_relocate_rel(struct elf_image_info *image,
20	struct elf_image_info *resolve_image, elf_rel *rel, int rel_len);
21extern 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