Home
last modified time | relevance | path

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

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

Completed in 2 milliseconds