| /Linux-v4.19/scripts/ |
| D | recordmcount.h | 225 mcsec.sh_link = 0; in append_func() 239 mcsec.sh_link = w(symsec_sh_link); in append_func() 284 unsigned const symsec_sh_link = w(relhdr->sh_link); in get_sym_str_and_relp() 286 Elf_Shdr const *const strsec = &shdr0[w(symsec->sh_link)]; in get_sym_str_and_relp() 534 &shdr0[symsec_sh_link = w(relhdr->sh_link)], in do_func()
|
| D | sortextable.h | 125 secindex_strings = r(&shdr[0].sh_link); in do_func()
|
| D | insert-sys-cert.c | 142 link = symtab->sh_link; in find_elf_symbol()
|
| /Linux-v4.19/include/uapi/linux/ |
| D | elf.h | 310 Elf32_Word sh_link; member 323 Elf64_Word sh_link; /* Index of another section */ member
|
| /Linux-v4.19/arch/mips/boot/tools/ |
| D | relocs.c | 285 sec->shdr.sh_link = elf_word_to_cpu(shdr.sh_link); in read_shdrs() 289 if (sec->shdr.sh_link < ehdr.e_shnum) in read_shdrs() 290 sec->link = &secs[sec->shdr.sh_link]; in read_shdrs()
|
| /Linux-v4.19/kernel/ |
| D | kexec_file.c | 869 relsec->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations() 873 symtab = sechdrs + relsec->sh_link; in kexec_apply_relocations() 882 if (symtab->sh_link >= pi->ehdr->e_shnum) in kexec_apply_relocations() 972 if (sechdrs[i].sh_link >= ehdr->e_shnum) in kexec_purgatory_find_symbol() 975 strtab = (void *)ehdr + sechdrs[sechdrs[i].sh_link].sh_offset; in kexec_purgatory_find_symbol()
|
| /Linux-v4.19/arch/mips/vdso/ |
| D | genvdso.h | 105 shdr = shdrs + (swap_uint32(shdr->sh_link) * sh_entsize); in FUNC()
|
| /Linux-v4.19/arch/x86/tools/ |
| D | relocs.c | 416 sec->shdr.sh_link = elf_word_to_cpu(shdr.sh_link); in read_shdrs() 420 if (sec->shdr.sh_link < ehdr.e_shnum) in read_shdrs() 421 sec->link = &secs[sec->shdr.sh_link]; in read_shdrs()
|
| /Linux-v4.19/arch/sparc/vdso/ |
| D | vdso2c.h | 77 GET_BE(&hdr->e_shentsize) * GET_BE(&symtab_hdr->sh_link); in BITSFUNC()
|
| /Linux-v4.19/arch/sparc/kernel/ |
| D | module.c | 72 strtab = (char *)sechdrs[sechdrs[symidx].sh_link].sh_addr; in module_frob_arch_sections()
|
| /Linux-v4.19/arch/x86/entry/vdso/ |
| D | vdso2c.h | 87 GET_LE(&hdr->e_shentsize) * GET_LE(&symtab_hdr->sh_link); in BITSFUNC()
|
| /Linux-v4.19/arch/powerpc/oprofile/cell/ |
| D | vma_map.c | 184 shdr_start + shdr.sh_link, in create_vma_map()
|
| /Linux-v4.19/samples/bpf/ |
| D | bpf_load.c | 534 shdr.sh_link, (int) shdr.sh_flags); in do_load_bpf_file() 555 strtabidx = shdr.sh_link; in do_load_bpf_file()
|
| /Linux-v4.19/arch/powerpc/kernel/ |
| D | kexec_elf_64.c | 358 shdr->sh_link = elf32_to_cpu(ehdr, buf_shdr->sh_link); in elf_read_shdr()
|
| D | module_64.c | 377 + sechdrs[sechdrs[i].sh_link].sh_offset); in module_frob_arch_sections()
|
| /Linux-v4.19/tools/objtool/ |
| D | elf.c | 248 sym->name = elf_strptr(elf->elf, symtab->sh.sh_link, in read_symbols() 578 sec->sh.sh_link = find_section_by_name(elf, ".symtab")->idx; in elf_create_rela_section()
|
| /Linux-v4.19/scripts/mod/ |
| D | modpost.c | 488 info->secindex_strings = TO_NATIVE(sechdrs[0].sh_link); in parse_elf() 502 sechdrs[i].sh_link = TO_NATIVE(sechdrs[i].sh_link); in parse_elf() 544 sh_link_idx = sechdrs[i].sh_link; in parse_elf() 571 if (symtab_idx != sechdrs[symtab_shndx_idx].sh_link) in parse_elf() 573 filename, sechdrs[symtab_shndx_idx].sh_link, in parse_elf()
|
| /Linux-v4.19/arch/mips/boot/ |
| D | elf2ecoff.c | 214 s->sh_link = swab32(s->sh_link); in convert_elf_shdrs()
|
| /Linux-v4.19/arch/mips/kernel/ |
| D | vpe.c | 636 strindex = sechdrs[i].sh_link; in vpe_elfload() 716 strindex = sechdrs[i].sh_link; in vpe_elfload()
|
| /Linux-v4.19/tools/perf/util/ |
| D | genelf.c | 403 shdr->sh_link = unwinding ? 6 : 4; /* index of .strtab section */ in jit_write_elf()
|
| D | symbol-elf.c | 285 if (shdr_rel_plt.sh_link != dynsym_idx) in dso__synthesize_plt_symbols() 303 scn_symstrs = elf_getscn(elf, shdr_dynsym.sh_link); in dso__synthesize_plt_symbols() 968 sec = elf_getscn(elf, shdr.sh_link); in dso__load_sym()
|
| /Linux-v4.19/arch/x86/kernel/ |
| D | machine_kexec_64.c | 410 strtab = (char *)pi->ehdr + sechdrs[symtabsec->sh_link].sh_offset; in arch_kexec_apply_relocations_add()
|
| /Linux-v4.19/arch/s390/kernel/ |
| D | module.c | 131 strings = (void *) hdr + sechdrs[symtab->sh_link].sh_offset; in module_frob_arch_sections()
|
| /Linux-v4.19/arch/parisc/kernel/ |
| D | module.c | 905 int strindex = sechdrs[i].sh_link; in module_finalize()
|
| /Linux-v4.19/tools/lib/bpf/ |
| D | libbpf.c | 775 (int)sh.sh_link, (unsigned long)sh.sh_flags, in bpf_object__elf_collect() 803 obj->efile.strtabidx = sh.sh_link; in bpf_object__elf_collect()
|