Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/linker.h
Show First 20 Lines • Show All 299 Lines • ▼ Show 20 Lines | typedef struct linker_ctf { | ||||
uint32_t **typoffp; /* Ptr to array of type offsets. */ | uint32_t **typoffp; /* Ptr to array of type offsets. */ | ||||
long *typlenp; /* Ptr to number of type data entries. */ | long *typlenp; /* Ptr to number of type data entries. */ | ||||
} linker_ctf_t; | } linker_ctf_t; | ||||
int linker_ctf_get(linker_file_t, linker_ctf_t *); | int linker_ctf_get(linker_file_t, linker_ctf_t *); | ||||
int elf_cpu_load_file(linker_file_t); | int elf_cpu_load_file(linker_file_t); | ||||
int elf_cpu_unload_file(linker_file_t); | int elf_cpu_unload_file(linker_file_t); | ||||
int elf_cpu_parse_dynamic(linker_file_t, Elf_Dyn *); | int elf_cpu_parse_dynamic(caddr_t, Elf_Dyn *); | ||||
/* values for type */ | /* values for type */ | ||||
#define ELF_RELOC_REL 1 | #define ELF_RELOC_REL 1 | ||||
#define ELF_RELOC_RELA 2 | #define ELF_RELOC_RELA 2 | ||||
/* | /* | ||||
* This is version 1 of the KLD file status structure. It is identified | * This is version 1 of the KLD file status structure. It is identified | ||||
* by its _size_ in the version field. | * by its _size_ in the version field. | ||||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |