Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/link_elf.c
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | |||||
#include <vm/vm_kern.h> | #include <vm/vm_kern.h> | ||||
#include <vm/vm_extern.h> | #include <vm/vm_extern.h> | ||||
#endif | #endif | ||||
#include <vm/pmap.h> | #include <vm/pmap.h> | ||||
#include <vm/vm_map.h> | #include <vm/vm_map.h> | ||||
#include <sys/link_elf.h> | #include <sys/link_elf.h> | ||||
#ifdef DDB_CTF | |||||
#include <sys/zlib.h> | |||||
#endif | |||||
#include "linker_if.h" | #include "linker_if.h" | ||||
#define MAXSEGS 4 | #define MAXSEGS 4 | ||||
typedef struct elf_file { | typedef struct elf_file { | ||||
struct linker_file lf; /* Common fields */ | struct linker_file lf; /* Common fields */ | ||||
int preloaded; /* Was file pre-loaded */ | int preloaded; /* Was file pre-loaded */ | ||||
caddr_t address; /* Relocation address */ | caddr_t address; /* Relocation address */ | ||||
▲ Show 20 Lines • Show All 1,628 Lines • Show Last 20 Lines |