| /linux/scripts/ |
| H A D | recordmcount.h | 233 return w(shdr0->sh_link); in get_shstrndx() 314 mcsec.sh_link = 0; in append_func() 329 mcsec.sh_link = w(symsec_sh_link); in append_func() 380 unsigned const symsec_sh_link = w(relhdr->sh_link); in get_sym_str_and_relp() 382 Elf_Shdr const *const strsec = &shdr0[w(symsec->sh_link)]; in get_sym_str_and_relp() 666 symsec_sh_link = w(relhdr->sh_link); in do_func()
|
| H A D | insert-sys-cert.c | 142 link = symtab->sh_link; in find_elf_symbol()
|
| /linux/arch/mips/boot/tools/ |
| H A D | relocs.c | 286 sec->shdr.sh_link = elf_word_to_cpu(shdr.sh_link); in read_shdrs() 290 if (sec->shdr.sh_link < ehdr.e_shnum) in read_shdrs() 291 sec->link = &secs[sec->shdr.sh_link]; in read_shdrs()
|
| /linux/drivers/net/wireless/morsemicro/mm81x/ |
| H A D | fw.h | 49 __le32 sh_link; member
|
| /linux/tools/lib/bpf/ |
| H A D | linker.c | 421 sec->shdr->sh_link = 0; in init_output_elf() 461 sec->shdr->sh_link = linker->strtab_sec_idx; in init_output_elf() 922 if (!sec->shdr->sh_link || sec->shdr->sh_link >= obj->sec_cnt) { in linker_sanity_check_elf_symtab() 924 sec->sec_idx, (size_t)sec->shdr->sh_link, obj->filename); in linker_sanity_check_elf_symtab() 927 link_sec = &obj->secs[sec->shdr->sh_link]; in linker_sanity_check_elf_symtab() 930 sec->sec_idx, (size_t)sec->shdr->sh_link, obj->filename); in linker_sanity_check_elf_symtab() 997 if (sec->shdr->sh_link != obj->symtab_sec_idx) { in linker_sanity_check_elf_relos() 999 sec->sec_idx, (size_t)sec->shdr->sh_link, obj->filename); in linker_sanity_check_elf_relos() 1182 shdr->sh_link = 0; in init_sec() 1410 int str_sec_idx = symtab->shdr->sh_link; in linker_append_elf_syms() [all …]
|
| H A D | elf.c | 121 iter->strtabidx = sh.sh_link; in elf_sym_iter_new() 150 iter->verdef_strtabidx = sh.sh_link; in elf_sym_iter_new()
|
| H A D | libbpf.c | 3968 obj->efile.strtabidx = sh->sh_link; in bpf_object__elf_collect() 4000 (int)sh->sh_link, (unsigned long)sh->sh_flags, in bpf_object__elf_collect()
|
| /linux/arch/mips/vdso/ |
| H A D | genvdso.h | 101 shdr = shdrs + (swap_uint32(shdr->sh_link) * sh_entsize); in FUNC()
|
| /linux/tools/perf/util/ |
| H A D | symbol-elf.c | 478 if (!scn || !rela_dyn_shdr.sh_link || !rela_dyn_shdr.sh_entsize) in get_rela_dyn_info() 484 scn = elf_getscn(elf, rela_dyn_shdr.sh_link); in get_rela_dyn_info() 485 if (!scn || !gelf_getshdr(scn, &shdr) || !shdr.sh_link) in get_rela_dyn_info() 489 di->dynstr_data = elf_getdata(elf_getscn(elf, shdr.sh_link), NULL); in get_rela_dyn_info() 677 if (!shdr_rel_plt.sh_link) in dso__synthesize_plt_symbols() 680 if (shdr_rel_plt.sh_link == ss->dynsym_idx) { in dso__synthesize_plt_symbols() 683 } else if (shdr_rel_plt.sh_link == ss->symtab_idx) { in dso__synthesize_plt_symbols() 709 scn_symstrs = elf_getscn(elf, shdr_dynsym.sh_link); in dso__synthesize_plt_symbols() 1565 sec = elf_getscn(elf, shdr.sh_link); in dso__load_sym_internal()
|
| H A D | genelf.c | 358 shdr->sh_link = unwinding ? 6 : 4; /* index of .strtab section */ in jit_write_elf()
|
| /linux/scripts/mod/ |
| H A D | modpost.c | 496 info->secindex_strings = TO_NATIVE(sechdrs[0].sh_link); in parse_elf() 510 sechdrs[i].sh_link = TO_NATIVE(sechdrs[i].sh_link); in parse_elf() 546 sh_link_idx = sechdrs[i].sh_link; in parse_elf() 573 if (symtab_idx != sechdrs[symtab_shndx_idx].sh_link) in parse_elf() 575 filename, sechdrs[symtab_shndx_idx].sh_link, in parse_elf()
|
| /linux/arch/mips/boot/ |
| H A D | elf2ecoff.c | 214 s->sh_link = swab32(s->sh_link); in convert_elf_shdrs()
|
| /linux/arch/mips/kernel/ |
| H A D | vpe.c | 636 strindex = sechdrs[i].sh_link; in vpe_elfload() 716 strindex = sechdrs[i].sh_link; in vpe_elfload()
|
| /linux/scripts/gendwarfksyms/ |
| H A D | symbols.c | 269 name = elf_strptr(elf, shdr->sh_link, in elf_for_each_global()
|
| /linux/tools/objtool/ |
| H A D | elf.c | 623 sym->name = elf_strptr(elf->elf, symtab->sh.sh_link, in read_symbols() 742 sec->sh.sh_link == symtab->idx) { in mark_group_syms() 1363 symtab->sh.sh_link = strtab->idx; in elf_add_string() 1684 rsec->sh.sh_link = find_section_by_name(elf, ".symtab")->idx; in elf_create_reloc()
|
| /linux/tools/bpf/resolve_btfids/ |
| H A D | main.c | 514 (int) sh.sh_link, (unsigned long) sh.sh_flags, in elf_collect() 520 obj->efile.strtabidx = sh.sh_link; in elf_collect()
|
| /linux/arch/parisc/kernel/ |
| H A D | module.c | 862 int strindex = sechdrs[i].sh_link; in module_finalize()
|
| /linux/arch/powerpc/kernel/ |
| H A D | module_64.c | 465 + sechdrs[sechdrs[i].sh_link].sh_offset); in module_frob_arch_sections()
|
| /linux/fs/ |
| H A D | binfmt_elf_fdpic.c | 1451 shdr4extnum->sh_link = elf->e_shstrndx; in fill_extnum_info()
|
| /linux/kernel/module/ |
| H A D | main.c | 2218 unsigned int str_idx = info->sechdrs[info->index.sym].sh_link; in elf_validity_cache_index_str() 2221 pr_err("Invalid ELF sh_link!=SHN_UNDEF(%d) or (sh_link(%d) >= hdr->e_shnum(%d)\n", in elf_validity_cache_index_str()
|