/linux-master/arch/loongarch/kernel/ |
H A D | module.c | 434 Elf_Rela *rel = (void *) sechdrs[relsec].sh_addr; 442 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr + rel[i].r_offset; 444 sym = (Elf_Sym *)sechdrs[symindex].sh_addr + ELF_R_SYM(rel[i].r_info); 505 ftrace_plts = (void *)sechdrs->sh_addr; 534 apply_alternatives((void *)alt->sh_addr, (void *)alt->sh_addr + alt->sh_size); 537 unwind_module_init(mod, (void *)orc_ip->sh_addr, orc_ip->sh_size, (void *)orc->sh_addr, orc->sh_size);
|
H A D | module-sections.c | 22 got = (struct got_entry *)sechdrs[got_sec->shndx].sh_addr; 52 plt = (struct plt_entry *)sechdrs[plt_sec->shndx].sh_addr; 54 plt_idx = (struct plt_idx_entry *)sechdrs[plt_idx_sec->shndx].sh_addr;
|
/linux-master/arch/arm/kernel/ |
H A D | module-plts.c | 55 pltsec->plt_ent = (struct plt_entries *)pltsec->plt->sh_addr; 227 syms = (Elf32_Sym *)s->sh_addr; 255 core_plts += count_plts(syms, dstsec->sh_addr, rels, 258 init_plts += count_plts(syms, dstsec->sh_addr, rels,
|
/linux-master/arch/riscv/kernel/ |
H A D | module-sections.c | 23 got = (struct got_entry *)got_sec->shdr->sh_addr; 44 got_plt = (struct got_entry *)got_plt_sec->shdr->sh_addr; 46 plt = (struct plt_entry *)plt_sec->shdr->sh_addr;
|
H A D | module.c | 781 Elf_Rela *rel = (void *) sechdrs[relsec].sh_addr; 807 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr 810 sym = (Elf_Sym *)sechdrs[symindex].sh_addr 842 sechdrs[sechdrs[relsec].sh_info].sh_addr 852 (Elf_Sym *)sechdrs[symindex].sh_addr 927 apply_module_alternatives((void *)s->sh_addr, s->sh_size);
|
/linux-master/arch/mips/kernel/ |
H A D | module.c | 331 r.rel = (void *)sechdrs[relsec].sh_addr; 336 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr 339 sym = (Elf_Sym *)sechdrs[symindex].sh_addr 438 me->arch.dbe_start = (void *)s->sh_addr; 439 me->arch.dbe_end = (void *)s->sh_addr + s->sh_size;
|
/linux-master/drivers/remoteproc/ |
H A D | remoteproc_elf_loader.c | 376 u64 sh_addr, sh_size; local 384 sh_addr = elf_shdr_get_sh_addr(class, shdr); 393 return rproc_da_to_va(rproc, sh_addr, sh_size, NULL);
|
H A D | remoteproc_elf_helpers.h | 85 ELF_GEN_FIELD_GET_SET(shdr, sh_addr, u64)
|
/linux-master/arch/arm64/kernel/ |
H A D | module-plts.c | 75 struct plt_entry *plt = (struct plt_entry *)sechdrs[pltsec->plt_shndx].sh_addr; 106 struct plt_entry *plt = (struct plt_entry *)sechdrs[pltsec->plt_shndx].sh_addr; 302 syms = (Elf64_Sym *)sechdrs[i].sh_addr;
|
/linux-master/tools/perf/util/ |
H A D | genelf.c | 198 shdr->sh_addr = base_offset; 232 shdr->sh_addr = base_offset + unwinding_table_size; 334 shdr->sh_addr = GEN_ELF_TEXT_OFFSET; 502 shdr->sh_addr = 0x0;
|
H A D | genelf_debug.c | 540 shdr->sh_addr = 0; /* must be zero or == sh_offset -> dynamic object */ 574 shdr->sh_addr = 0; /* must be zero or == sh_offset -> dynamic object */ 608 shdr->sh_addr = 0; /* must be zero or == sh_offset -> dynamic object */
|
H A D | debuginfo.c | 171 *offs = shdr->sh_addr;
|
/linux-master/tools/objtool/ |
H A D | orc_dump.c | 95 orc_ip_addr = sh.sh_addr;
|
/linux-master/kernel/module/ |
H A D | kallsyms.c | 187 rcu_dereference(mod->kallsyms)->symtab = (void *)symsec->sh_addr; 191 (void *)info->sechdrs[info->index.str].sh_addr; 236 !build_id_parse_buf((void *)sechdr->sh_addr, mod->build_id,
|
H A D | main.c | 199 /* Section 0 has sh_addr 0. */ 200 return (void *)info->sechdrs[find_sec(info, name)].sh_addr; 211 /* Section 0 has sh_addr 0 and sh_size 0. */ 213 return (void *)info->sechdrs[sec].sh_addr; 240 /* Section 0 has sh_addr 0 and sh_size 0. */ 242 return (void *)info->sechdrs[sec].sh_addr; 1041 * must use sh_offset, as sh_addr isn't set! 1370 Elf_Sym *sym = (void *)symsec->sh_addr; 1429 secbase = info->sechdrs[sym[i].st_shndx].sh_addr; 1760 || info->sechdrs[0].sh_addr ! [all...] |
H A D | sysfs.c | 103 sattr->address = sec->sh_addr; 207 nattr->private = (void *)info->sechdrs[i].sh_addr;
|
/linux-master/lib/ |
H A D | bug.c | 102 mod->bug_table = (void *) sechdrs[i].sh_addr;
|
/linux-master/arch/s390/kernel/ |
H A D | module.c | 476 base = sechdrs[sechdrs[relsec].sh_info].sh_addr; 477 symtab = (Elf_Sym *) sechdrs[symindex].sh_addr; 478 rela = (Elf_Rela *) sechdrs[relsec].sh_addr; 551 aseg = (void *) s->sh_addr;
|
H A D | machine_kexec_file.c | 364 val += pi->sechdrs[sym->st_shndx].sh_addr; 367 addr = section->sh_addr + relas[i].r_offset;
|
/linux-master/include/uapi/linux/ |
H A D | elf.h | 312 Elf32_Addr sh_addr; member in struct:elf32_shdr 325 Elf64_Addr sh_addr; /* Section virtual addr at execution */ member in struct:elf64_shdr
|
/linux-master/kernel/ |
H A D | kexec_file.c | 924 sechdrs[i].sh_addr = bss_addr; 942 pi->ehdr->e_entry >= sechdrs[i].sh_addr && 943 pi->ehdr->e_entry < (sechdrs[i].sh_addr 946 kbuf->image->start -= sechdrs[i].sh_addr; 954 sechdrs[i].sh_addr = kbuf->mem + offset; 1136 return (void *)(sechdr->sh_addr + sym->st_value);
|
/linux-master/arch/mips/boot/tools/ |
H A D | relocs.c | 282 sec->shdr.sh_addr = elf_addr_to_cpu(shdr.sh_addr); 363 base = sec->shdr.sh_addr;
|
/linux-master/scripts/ |
H A D | insert-sys-cert.c | 80 unsigned long start = x[i].sh_addr; 178 s->offset = s->address - sec->sh_addr
|
H A D | sorttable.h | 215 uint_t offset = emloc->start_mcount_loc - _r(&(emloc->init_data_sec)->sh_addr) 454 _r(&sort_needed_sec->sh_addr);
|
/linux-master/arch/s390/tools/ |
H A D | relocs.c | 205 sec->shdr.sh_addr = elf_addr_to_cpu(shdr.sh_addr);
|