• Home
  • Raw
  • Download

Lines Matching refs:sechdrs

88 				  const Elf32_Shdr *sechdrs,  in get_plt_size()  argument
100 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != NULL) in get_plt_size()
105 if (strstr(secstrings + sechdrs[i].sh_name, ".debug")) in get_plt_size()
108 if (sechdrs[i].sh_type == SHT_RELA) { in get_plt_size()
111 (void *)hdr + sechdrs[i].sh_offset, in get_plt_size()
112 sechdrs[i].sh_size / sizeof(Elf32_Rela)); in get_plt_size()
119 sort((void *)hdr + sechdrs[i].sh_offset, in get_plt_size()
120 sechdrs[i].sh_size / sizeof(Elf32_Rela), in get_plt_size()
124 + sechdrs[i].sh_offset, in get_plt_size()
125 sechdrs[i].sh_size in get_plt_size()
135 Elf32_Shdr *sechdrs, in module_frob_arch_sections() argument
143 if (strcmp(secstrings + sechdrs[i].sh_name, ".init.plt") == 0) in module_frob_arch_sections()
145 else if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0) in module_frob_arch_sections()
154 sechdrs[me->arch.core_plt_section].sh_size in module_frob_arch_sections()
155 = get_plt_size(hdr, sechdrs, secstrings, 0); in module_frob_arch_sections()
156 sechdrs[me->arch.init_plt_section].sh_size in module_frob_arch_sections()
157 = get_plt_size(hdr, sechdrs, secstrings, 1); in module_frob_arch_sections()
174 const Elf32_Shdr *sechdrs, in do_plt_call() argument
183 entry = (void *)sechdrs[mod->arch.core_plt_section].sh_addr; in do_plt_call()
185 entry = (void *)sechdrs[mod->arch.init_plt_section].sh_addr; in do_plt_call()
208 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() argument
215 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
221 sechdrs[relsec].sh_info); in apply_relocate_add()
222 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rela); i++) { in apply_relocate_add()
224 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
228 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
261 sechdrs, module); in apply_relocate_add()
298 int module_finalize_ftrace(struct module *module, const Elf_Shdr *sechdrs) in module_finalize_ftrace() argument
302 sechdrs, module); in module_finalize_ftrace()