Lines Matching refs:sechdrs
29 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() argument
48 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() argument
55 Elf32_Rela *rel_entry = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
64 tgtsec = sechdrs[relsec].sh_info; in apply_relocate_add()
65 tgt_addr = sechdrs[tgtsec].sh_addr; in apply_relocate_add()
66 sym_sec = (Elf32_Sym *) sechdrs[symindex].sh_addr; in apply_relocate_add()
67 n = sechdrs[relsec].sh_size / sizeof(*rel_entry); in apply_relocate_add()
70 module->arch.secstr + sechdrs[tgtsec].sh_name, tgt_addr); in apply_relocate_add()
89 s = module->arch.secstr + sechdrs[sym_entry->st_shndx].sh_name; in apply_relocate_add()
117 if (strcmp(module->arch.secstr+sechdrs[tgtsec].sh_name, ".eh_frame") == 0) in apply_relocate_add()
135 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize() argument
143 unw = unwind_add_table(mod, (void *)sechdrs[unwsec].sh_addr, in module_finalize()
144 sechdrs[unwsec].sh_size); in module_finalize()