Lines Matching defs:sechdrs
74 const Elf32_Shdr *sechdrs,
86 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != NULL)
91 if (strstr(secstrings + sechdrs[i].sh_name, ".debug"))
94 if (sechdrs[i].sh_type == SHT_RELA) {
97 (void *)hdr + sechdrs[i].sh_offset,
98 sechdrs[i].sh_size / sizeof(Elf32_Rela));
105 sort((void *)hdr + sechdrs[i].sh_offset,
106 sechdrs[i].sh_size / sizeof(Elf32_Rela),
110 + sechdrs[i].sh_offset,
111 sechdrs[i].sh_size
121 Elf32_Shdr *sechdrs,
129 if (strcmp(secstrings + sechdrs[i].sh_name, ".init.plt") == 0)
131 else if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0)
140 sechdrs[me->arch.core_plt_section].sh_size
141 = get_plt_size(hdr, sechdrs, secstrings, 0);
142 sechdrs[me->arch.init_plt_section].sh_size
143 = get_plt_size(hdr, sechdrs, secstrings, 1);
159 const Elf32_Shdr *sechdrs,
167 entry = (void *)sechdrs[mod->arch.core_plt_section].sh_addr;
169 entry = (void *)sechdrs[mod->arch.init_plt_section].sh_addr;
196 int apply_relocate_add(Elf32_Shdr *sechdrs,
203 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr;
209 sechdrs[relsec].sh_info);
210 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rela); i++) {
212 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr
216 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr
248 sechdrs, module);
322 int module_finalize_ftrace(struct module *module, const Elf_Shdr *sechdrs)
326 sechdrs, module);
333 sechdrs, module);