Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/linker.h
Show First 20 Lines • Show All 315 Lines • ▼ Show 20 Lines | typedef struct linker_ctf { | ||||
const char *strtab; /* Ptr to the string table. */ | const char *strtab; /* Ptr to the string table. */ | ||||
int strcnt; /* Number of string bytes. */ | int strcnt; /* Number of string bytes. */ | ||||
uint32_t **ctfoffp; /* Ptr to array of obj/fnc offsets. */ | uint32_t **ctfoffp; /* Ptr to array of obj/fnc offsets. */ | ||||
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 linker_ctf_get_ddb(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(caddr_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 | ||||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |