/linux/arch/powerpc/kernel/ |
A D | module.c | 50 (void *)sect->sh_addr, in module_finalize() 51 (void *)sect->sh_addr + sect->sh_size); in module_finalize() 56 (void *)sect->sh_addr, in module_finalize() 57 (void *)sect->sh_addr + sect->sh_size); in module_finalize() 63 (void *)sect->sh_addr, in module_finalize() 64 (void *)sect->sh_addr + sect->sh_size); in module_finalize() 70 me->arch.start_opd = sect->sh_addr; in module_finalize() 79 (void *)sect->sh_addr, in module_finalize() 80 (void *)sect->sh_addr + sect->sh_size); in module_finalize() 86 (void *)sect->sh_addr, in module_finalize() [all …]
|
A D | module_32.c | 167 entry = (void *)sechdrs[mod->arch.core_plt_section].sh_addr; in do_plt_call() 169 entry = (void *)sechdrs[mod->arch.init_plt_section].sh_addr; in do_plt_call() 193 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 202 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 206 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
A D | module_64.c | 199 (void *)sechdrs[i].sh_addr, in get_stubs_size() 207 sort((void *)sechdrs[i].sh_addr, in get_stubs_size() 211 relocs += count_relocs((void *)sechdrs[i].sh_addr, in get_stubs_size() 269 syms = (Elf64_Sym *)sechdrs[symindex].sh_addr; in find_dot_toc() 414 return (sechdrs[me->arch.toc_section].sh_addr & ~0xfful) + 0x8000; in my_r2() 481 stubs = (void *)sechdrs[me->arch.stubs_section].sh_addr; in stub_for_addr() 533 Elf64_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 553 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 556 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux/arch/x86/kernel/ |
A D | module.c | 96 Elf32_Rel *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate() 108 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate() 138 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in __apply_relocate_add() 147 loc = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in __apply_relocate_add() 152 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in __apply_relocate_add() 276 void *rseg = (void *)retpolines->sh_addr; in module_finalize() 281 void *aseg = (void *)alt->sh_addr; in module_finalize() 285 void *lseg = (void *)locks->sh_addr; in module_finalize() 286 void *tseg = (void *)text->sh_addr; in module_finalize() 293 void *pseg = (void *)para->sh_addr; in module_finalize() [all …]
|
/linux/arch/m68k/kernel/ |
A D | module.c | 29 Elf32_Rel *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate() 37 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate() 41 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate() 69 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 77 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 81 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux/arch/sparc/kernel/ |
A D | module.c | 71 sym = (Elf_Sym *)sechdrs[symidx].sh_addr; in module_frob_arch_sections() 72 strtab = (char *)sechdrs[sechdrs[symidx].sh_link].sh_addr; in module_frob_arch_sections() 90 Elf_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 99 location = (u8 *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 109 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add() 198 void *p = (void *) sun4v_1insn->sh_addr; in do_patch_sections() 202 void *p = (void *) sun4v_2insn->sh_addr; in do_patch_sections()
|
/linux/arch/mips/kernel/ |
A D | vpe.c | 445 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocations() 483 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; in simplify_symbols() 491 bssbase = sechdrs[i].sh_addr; in simplify_symbols() 524 secbase = sechdrs[sym[i].st_shndx].sh_addr; in simplify_symbols() 539 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; in dump_elfsymbols() 614 sechdrs[0].sh_addr = 0; in vpe_elfload() 630 sechdrs[i].sh_addr = (size_t) hdr + in vpe_elfload() 660 memcpy(dest, (void *)sechdrs[i].sh_addr, in vpe_elfload() 663 sechdrs[i].sh_addr = (unsigned long)dest; in vpe_elfload() 667 sechdrs[i].sh_addr); in vpe_elfload() [all …]
|
A D | module.c | 331 r.rel = (void *)sechdrs[relsec].sh_addr; in __apply_relocate() 336 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in __apply_relocate() 339 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in __apply_relocate() 438 me->arch.dbe_start = (void *)s->sh_addr; in module_finalize() 439 me->arch.dbe_end = (void *)s->sh_addr + s->sh_size; in module_finalize()
|
/linux/arch/arc/kernel/ |
A D | module.c | 52 Elf32_Rela *rel_entry = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 62 tgt_addr = sechdrs[tgtsec].sh_addr; in apply_relocate_add() 63 sym_sec = (Elf32_Sym *) sechdrs[symindex].sh_addr; in apply_relocate_add() 140 unw = unwind_add_table(mod, (void *)sechdrs[unwsec].sh_addr, in module_finalize()
|
/linux/arch/parisc/kernel/ |
A D | module.c | 525 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 540 loc = (void *)sechdrs[targetsec].sh_addr in apply_relocate_add() 543 loc0 = sechdrs[targetsec].sh_addr; in apply_relocate_add() 545 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add() 684 loc = (void *)sechdrs[targetsec].sh_addr in apply_relocate_add() 687 loc0 = sechdrs[targetsec].sh_addr; in apply_relocate_add() 689 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add() 897 strtab = (char *)sechdrs[strindex].sh_addr; in module_finalize() 918 oldptr = (void *)symhdr->sh_addr; in module_finalize() 935 nsyms = newptr - (Elf_Sym *)symhdr->sh_addr; in module_finalize() [all …]
|
/linux/arch/openrisc/kernel/ |
A D | module.c | 23 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 32 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 37 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux/arch/microblaze/kernel/ |
A D | module.c | 23 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 33 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr + in apply_relocate_add() 35 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr + in apply_relocate_add()
|
/linux/arch/h8300/kernel/ |
A D | module.c | 16 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 23 (uint32_t *)(sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 27 Elf32_Sym *sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux/arch/arm/kernel/ |
A D | module.c | 78 Elf32_Rel *rel = (void *)relsec->sh_addr; in apply_relocate() 98 sym = ((Elf32_Sym *)symsec->sh_addr) + offset; in apply_relocate() 108 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate() 408 unwind_table_add(maps[i].unw_sec->sh_addr, in module_finalize() 410 maps[i].txt_sec->sh_addr, in module_finalize() 416 fixup_pv_table((void *)s->sh_addr, s->sh_size); in module_finalize() 421 fixup_smp((void *)s->sh_addr, s->sh_size); in module_finalize()
|
A D | module-plts.c | 60 pltsec->plt_ent = (struct plt_entries *)pltsec->plt->sh_addr; in get_module_plt() 232 syms = (Elf32_Sym *)s->sh_addr; in module_frob_arch_sections() 260 core_plts += count_plts(syms, dstsec->sh_addr, rels, in module_frob_arch_sections() 263 init_plts += count_plts(syms, dstsec->sh_addr, rels, in module_frob_arch_sections()
|
/linux/arch/sh/kernel/ |
A D | module.c | 31 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 41 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 45 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux/arch/riscv/include/asm/ |
A D | module.h | 38 struct got_entry *got = (struct got_entry *)(sec->shdr->sh_addr); in get_got_entry() 91 struct got_entry *got_plt = (struct got_entry *)sec->shdr->sh_addr; in get_got_plt_idx() 104 struct plt_entry *plt = (struct plt_entry *)sec_plt->shdr->sh_addr; in get_plt_entry()
|
/linux/arch/csky/kernel/ |
A D | module.c | 53 Elf32_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add() 60 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 62 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux/arch/nios2/kernel/ |
A D | module.c | 48 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 57 = ((void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 62 = ((Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux/arch/ia64/kernel/ |
A D | module.c | 517 got = (void *) mod->arch.got->sh_addr; in get_ltoff() 548 plt = (void *) mod->arch.init_plt->sh_addr; in get_plt() 551 plt = (void *) mod->arch.core_plt->sh_addr; in get_plt() 587 struct fdesc *fdesc = (void *) mod->arch.opd->sh_addr; in get_fdesc() 608 if ((uint64_t) ++fdesc >= mod->arch.opd->sh_addr + mod->arch.opd->sh_size) in get_fdesc() 638 case RV_SECREL: val -= sec->sh_addr; break; in do_reloc() 793 Elf64_Rela *rela = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add() 830 ((Elf64_Sym *) sechdrs[symindex].sh_addr in apply_relocate_add() 833 (void *) target_sec->sh_addr + rela[i].r_offset); in apply_relocate_add() 849 struct unw_table_entry *start = (void *) mod->arch.unwind->sh_addr; in register_unwind_table() [all …]
|
/linux/arch/xtensa/kernel/ |
A D | module.c | 54 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 63 location = (char *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 65 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux/arch/hexagon/kernel/ |
A D | module.c | 76 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 78 Elf32_Sym *sym_base = (Elf32_Sym *) sechdrs[symindex].sh_addr; in apply_relocate_add() 79 void *loc_base = (void *) sechdrs[sym_info].sh_addr; in apply_relocate_add()
|
/linux/arch/alpha/kernel/ |
A D | module.c | 137 Elf64_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 146 base = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr; in apply_relocate_add() 147 symtab = (Elf64_Sym *)sechdrs[symindex].sh_addr; in apply_relocate_add() 152 got = sechdrs[me->arch.gotsecindex].sh_addr; in apply_relocate_add()
|
/linux/arch/riscv/kernel/ |
A D | module.c | 316 Elf_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add() 329 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 332 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add() 363 sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 373 (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux/arch/arm64/kernel/ |
A D | module.c | 272 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 276 loc = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 280 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add() 510 plts = (void *)s->sh_addr; in module_init_ftrace_plt() 529 apply_alternatives_module((void *)s->sh_addr, s->sh_size); in module_finalize()
|