Home
last modified time | relevance | path

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

/kernel/
Dmodule.c353 Elf_Shdr *shdr = &info->sechdrs[i]; in find_sec() local
355 if ((shdr->sh_flags & SHF_ALLOC) in find_sec()
356 && strcmp(info->secstrings + shdr->sh_name, name) == 0) in find_sec()
2890 Elf_Shdr *shdr = &info->sechdrs[i]; in rewrite_section_headers() local
2891 if (shdr->sh_type != SHT_NOBITS in rewrite_section_headers()
2892 && info->len < shdr->sh_offset + shdr->sh_size) { in rewrite_section_headers()
2899 shdr->sh_addr = (size_t)info->hdr + shdr->sh_offset; in rewrite_section_headers()
2903 if (strstarts(info->secstrings+shdr->sh_name, ".exit")) in rewrite_section_headers()
2904 shdr->sh_flags &= ~(unsigned long)SHF_ALLOC; in rewrite_section_headers()
3146 Elf_Shdr *shdr = &info->sechdrs[i]; in move_module() local
[all …]