Home
last modified time | relevance | path

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

/lib/
Dbug.c87 void module_bug_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_bug_finalize() argument
99 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_bug_finalize()
101 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table")) in module_bug_finalize()
103 mod->bug_table = (void *) sechdrs[i].sh_addr; in module_bug_finalize()
104 mod->num_bugs = sechdrs[i].sh_size / sizeof(struct bug_entry); in module_bug_finalize()