| /linux-6.15/arch/arm64/kernel/ |
| H A D | module-plts.c | 71 Elf64_Sym *sym) in module_emit_plt_entry() 157 static unsigned int count_plts(Elf64_Sym *syms, Elf64_Rela *rela, int num, in count_plts() 161 Elf64_Sym *s; in count_plts() 249 static bool branch_rela_needs_plt(Elf64_Sym *syms, Elf64_Rela *rela, in branch_rela_needs_plt() 253 Elf64_Sym *s = syms + ELF64_R_SYM(rela->r_info); in branch_rela_needs_plt() 263 static int partition_branch_plt_relas(Elf64_Sym *syms, Elf64_Rela *rela, in partition_branch_plt_relas() 285 Elf64_Sym *syms = NULL; in module_frob_arch_sections() 302 syms = (Elf64_Sym *)sechdrs[i].sh_addr; in module_frob_arch_sections()
|
| H A D | module.c | 227 Elf64_Sym *sym; in apply_relocate_add() 238 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
| /linux-6.15/arch/sparc/vdso/ |
| H A D | vma.c | 55 Elf64_Sym *dynsym; 102 static Elf64_Sym *find_sym64(const struct vdso_elfinfo64 *e, const char *name) in find_sym64() 106 for (i = 0; i < (e->dynsymsize / sizeof(Elf64_Sym)); i++) { in find_sym64() 107 Elf64_Sym *s = &e->dynsym[i]; in find_sym64() 120 Elf64_Sym *osym = find_sym64(e, orig); in patchsym64() 121 Elf64_Sym *nsym = find_sym64(e, new); in patchsym64()
|
| /linux-6.15/arch/powerpc/kernel/ |
| H A D | module_64.c | 61 static unsigned int local_entry_offset(const Elf64_Sym *sym) in local_entry_offset() 74 static unsigned int local_entry_offset(const Elf64_Sym *sym) in local_entry_offset() 279 Elf64_Sym *sym; in count_pcpu_relocs() 282 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in count_pcpu_relocs() 406 static Elf64_Sym *find_dot_toc(Elf64_Shdr *sechdrs, in find_dot_toc() 411 Elf64_Sym *syms; in find_dot_toc() 413 syms = (Elf64_Sym *)sechdrs[symindex].sh_addr; in find_dot_toc() 414 numsyms = sechdrs[symindex].sh_size / sizeof(Elf64_Sym); in find_dot_toc() 464 sechdrs[i].sh_size / sizeof(Elf64_Sym), in module_frob_arch_sections() 801 Elf64_Sym *sym; in apply_relocate_add() [all …]
|
| /linux-6.15/arch/alpha/kernel/ |
| H A D | module.c | 95 nsyms = symtab->sh_size / sizeof(Elf64_Sym); in module_frob_arch_sections() 139 Elf64_Sym *symtab, *sym; in apply_relocate_add() 147 symtab = (Elf64_Sym *)sechdrs[symindex].sh_addr; in apply_relocate_add()
|
| /linux-6.15/tools/lib/bpf/ |
| H A D | linker.c | 339 Elf64_Sym *syms, *sym; in add_new_sym() 363 Elf64_Sym *init_sym; in init_output_elf() 468 sec->shdr->sh_entsize = sizeof(Elf64_Sym); in init_output_elf() 915 Elf64_Sym *sym; in linker_sanity_check_elf_symtab() 918 if (sec->shdr->sh_entsize != sizeof(Elf64_Sym)) in linker_sanity_check_elf_symtab() 1409 Elf64_Sym *sym = symtab->data->d_buf; in linker_append_elf_syms() 1442 Elf64_Sym *syms = symtab->raw_data; in get_sym_by_idx() 2005 Elf64_Sym *dst_sym; in linker_append_elf_sym() 2246 Elf64_Sym *src_sym; in linker_append_elf_relos() 2291 Elf64_Sym *sym = symtab->data->d_buf; in find_sym_by_name() [all …]
|
| H A D | libbpf.c | 875 Elf64_Sym *sym; in bpf_object__add_programs() 879 nr_syms = symbols->d_size / sizeof(Elf64_Sym); in bpf_object__add_programs() 1707 Elf64_Sym *sym = elf_sym_by_idx(obj, si); in find_elf_var_sym() 3377 Elf64_Sym *sym; in btf_fixup_datasec() 4010 static bool sym_is_extern(const Elf64_Sym *sym) in sym_is_extern() 4232 if (!sh || sh->sh_entsize != sizeof(Elf64_Sym)) in bpf_object__collect_externs() 4243 Elf64_Sym *sym = elf_sym_by_idx(obj, i); in bpf_object__collect_externs() 4495 const Elf64_Sym *sym, const Elf64_Rel *rel) in bpf_program__record_reloc() 4700 Elf64_Sym *sym; in bpf_object__collect_prog_relos() 7190 Elf64_Sym *sym; in bpf_object__collect_map_relos() [all …]
|
| /linux-6.15/tools/testing/selftests/sgx/ |
| H A D | load.c | 139 Elf64_Sym *symtab = NULL; in encl_get_entry() 151 symtab = (Elf64_Sym *)((char *)encl->bin + sections[i].sh_offset); in encl_get_entry() 168 Elf64_Sym *sym = &symtab[i]; in encl_get_entry()
|
| H A D | main.c | 41 Elf64_Sym *elf_symtab; 115 static Elf64_Sym *vdso_symtab_get(struct vdso_symtab *symtab, const char *name) in vdso_symtab_get() 120 Elf64_Sym *sym; in vdso_symtab_get() 178 Elf64_Sym *sgx_enter_enclave_sym = NULL; in setup_test_encl()
|
| /linux-6.15/include/asm-generic/ |
| H A D | module.h | 18 #define Elf_Sym Elf64_Sym
|
| /linux-6.15/arch/arm64/include/asm/ |
| H A D | module.h | 26 Elf64_Sym *sym);
|
| /linux-6.15/arch/mips/include/asm/ |
| H A D | module.h | 58 #define Elf_Sym Elf64_Sym
|
| /linux-6.15/tools/perf/util/ |
| H A D | genelf.h | 69 #define Elf_Sym Elf64_Sym
|
| /linux-6.15/arch/x86/kernel/ |
| H A D | module.c | 92 Elf64_Sym *sym; in __write_relocate_add() 109 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in __write_relocate_add()
|
| H A D | machine_kexec_64.c | 444 Elf64_Sym *sym; in arch_kexec_apply_relocations_add()
|
| /linux-6.15/scripts/mod/ |
| H A D | modpost.h | 43 #define Elf_Sym Elf64_Sym
|
| /linux-6.15/tools/include/uapi/linux/ |
| H A D | elf.h | 212 } Elf64_Sym; typedef
|
| /linux-6.15/scripts/ |
| H A D | insert-sys-cert.c | 46 #define Elf_Sym Elf64_Sym
|
| H A D | recordmcount.h | 83 # define Elf_Sym Elf64_Sym
|
| H A D | sorttable.c | 80 Elf64_Sym e64;
|
| /linux-6.15/include/uapi/linux/ |
| H A D | elf.h | 212 } Elf64_Sym; typedef
|
| /linux-6.15/arch/parisc/kernel/ |
| H A D | module.c | 642 Elf64_Sym *sym; in apply_relocate_add() 660 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|