haiku/headers/private/kernel/boot/elf.h
Axel Dörfler d9194b620b We also need the size of the dynamic section.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 01:27:02 +00:00

23 lines
496 B
C

/*
** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
** Distributed under the terms of the OpenBeOS License.
*/
#ifndef KERNEL_BOOT_ELF_H
#define KERNEL_BOOT_ELF_H
#include <elf_priv.h>
#include <boot/kernel_args.h>
struct preloaded_image {
struct preloaded_image *next;
char *name;
elf_region text_region;
elf_region data_region;
addr_range dynamic_section; // pointer to the dynamic section
Elf32_Ehdr elf_header;
};
#endif /* KERNEL_BOOT_ELF_H */