Lines Matching refs:sechdrs
33 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() argument
43 if (strcmp(secstr+sechdrs[i].sh_name, ".debug_frame") == 0) { in module_frob_arch_sections()
44 sechdrs[i].sh_flags |= SHF_ALLOC; in module_frob_arch_sections()
61 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() argument
68 Elf32_Rela *rel_entry = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
75 sec_to_patch = sechdrs[sechdrs[relsec].sh_info].sh_addr; in apply_relocate_add()
76 sym_sec = (Elf32_Sym *) sechdrs[symindex].sh_addr; in apply_relocate_add()
77 n = sechdrs[relsec].sh_size / sizeof(*rel_entry); in apply_relocate_add()
131 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize() argument
139 unw = unwind_add_table(mod, (void *)sechdrs[unwsec].sh_addr, in module_finalize()
140 sechdrs[unwsec].sh_size); in module_finalize()