Home
last modified time | relevance | path

Searched refs:SHDR_SYMTAB (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/dev/ksyms/
H A Dksyms.c59 #define SHDR_SYMTAB 1 macro
324 hdr->kh_shdr[SHDR_SYMTAB].sh_name = 1; /* String offset (skip null) */ in ksyms_snapshot()
325 hdr->kh_shdr[SHDR_SYMTAB].sh_type = SHT_SYMTAB; in ksyms_snapshot()
326 hdr->kh_shdr[SHDR_SYMTAB].sh_flags = 0; in ksyms_snapshot()
327 hdr->kh_shdr[SHDR_SYMTAB].sh_addr = 0; in ksyms_snapshot()
328 hdr->kh_shdr[SHDR_SYMTAB].sh_offset = sizeof(*hdr); in ksyms_snapshot()
329 hdr->kh_shdr[SHDR_SYMTAB].sh_size = ts->ts_symsz; in ksyms_snapshot()
330 hdr->kh_shdr[SHDR_SYMTAB].sh_link = SHDR_STRTAB; in ksyms_snapshot()
331 hdr->kh_shdr[SHDR_SYMTAB].sh_info = ts->ts_symsz / sizeof(Elf_Sym); in ksyms_snapshot()
332 hdr->kh_shdr[SHDR_SYMTAB].sh_addralign = sizeof(long); in ksyms_snapshot()
[all …]