Home
last modified time | relevance | path

Searched refs:Elf64_Sym (Results 1 – 25 of 25) sorted by relevance

/openbmc/linux/arch/arm64/kernel/
H A Dmodule-plts.c71 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()
250 static bool branch_rela_needs_plt(Elf64_Sym *syms, Elf64_Rela *rela, in branch_rela_needs_plt()
254 Elf64_Sym *s = syms + ELF64_R_SYM(rela->r_info); in branch_rela_needs_plt()
264 static int partition_branch_plt_relas(Elf64_Sym *syms, Elf64_Rela *rela, in partition_branch_plt_relas()
286 Elf64_Sym *syms = NULL; in module_frob_arch_sections()
303 syms = (Elf64_Sym *)sechdrs[i].sh_addr; in module_frob_arch_sections()
H A Dmodule.c353 Elf64_Sym *sym; in apply_relocate_add()
364 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/openbmc/linux/arch/powerpc/kernel/
H A Dmodule_64.c61 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()
269 Elf64_Sym *sym; in count_pcpu_relocs()
272 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in count_pcpu_relocs()
362 static void dedotify(Elf64_Sym *syms, unsigned int numsyms, char *strtab) in dedotify()
378 static Elf64_Sym *find_dot_toc(Elf64_Shdr *sechdrs, in find_dot_toc()
383 Elf64_Sym *syms; in find_dot_toc()
385 syms = (Elf64_Sym *)sechdrs[symindex].sh_addr; in find_dot_toc()
386 numsyms = sechdrs[symindex].sh_size / sizeof(Elf64_Sym); in find_dot_toc()
434 sechdrs[i].sh_size / sizeof(Elf64_Sym), in module_frob_arch_sections()
[all …]
/openbmc/linux/arch/sparc/vdso/
H A Dvma.c55 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()
/openbmc/linux/tools/lib/bpf/
H A Dlinker.c172 Elf64_Sym *sym, const char *sym_name, int src_sym_idx);
271 static Elf64_Sym *add_new_sym(struct bpf_linker *linker, size_t *sym_idx) in add_new_sym()
274 Elf64_Sym *syms, *sym; in add_new_sym()
298 Elf64_Sym *init_sym; in init_output_elf()
419 sec->shdr->sh_entsize = sizeof(Elf64_Sym); in init_output_elf()
762 Elf64_Sym *sym; in linker_sanity_check_elf_symtab()
765 if (sec->shdr->sh_entsize != sizeof(Elf64_Sym)) in linker_sanity_check_elf_symtab()
893 if (!sym_idx || sym_idx * sizeof(Elf64_Sym) >= sym_sec->shdr->sh_size) { in linker_sanity_check_elf_relos()
1220 Elf64_Sym *sym = symtab->data->d_buf; in linker_append_elf_syms()
1250 static Elf64_Sym *get_sym_by_idx(struct bpf_linker *linker, size_t sym_idx) in get_sym_by_idx()
[all …]
H A Dlibbpf.c697 static Elf64_Sym *elf_sym_by_idx(const struct bpf_object *obj, size_t idx);
817 Elf64_Sym *sym; in bpf_object__add_programs()
821 nr_syms = symbols->d_size / sizeof(Elf64_Sym); in bpf_object__add_programs()
1466 static Elf64_Sym *find_elf_var_sym(const struct bpf_object *obj, const char *name) in find_elf_var_sym()
1472 for (si = 0; si < symbols->d_size / sizeof(Elf64_Sym); si++) { in find_elf_var_sym()
1473 Elf64_Sym *sym = elf_sym_by_idx(obj, si); in find_elf_var_sym()
2958 Elf64_Sym *sym; in btf_fixup_datasec()
3318 static Elf64_Sym *elf_sym_by_idx(const struct bpf_object *obj, size_t idx) in elf_sym_by_idx()
3320 if (idx >= obj->efile.symbols->d_size / sizeof(Elf64_Sym)) in elf_sym_by_idx()
3323 return (Elf64_Sym *)obj->efile.symbols->d_buf + idx; in elf_sym_by_idx()
[all …]
/openbmc/linux/arch/alpha/kernel/
H A Dmodule.c95 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()
/openbmc/linux/arch/x86/um/asm/
H A Dmodule.h19 #define Elf_Sym Elf64_Sym
/openbmc/linux/tools/testing/selftests/sgx/
H A Dload.c139 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 Dmain.c41 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()
/openbmc/linux/include/asm-generic/
H A Dmodule.h18 #define Elf_Sym Elf64_Sym
/openbmc/linux/arch/arm64/include/asm/
H A Dmodule.h26 Elf64_Sym *sym);
/openbmc/linux/arch/mips/include/asm/
H A Dmodule.h58 #define Elf_Sym Elf64_Sym
/openbmc/linux/arch/s390/boot/
H A Dstartup.c105 Elf64_Sym *dynsym; in handle_relocs()
109 dynsym = (Elf64_Sym *) vmlinux.dynsym_start; in handle_relocs()
/openbmc/linux/tools/perf/util/
H A Dgenelf.h66 #define Elf_Sym Elf64_Sym
/openbmc/linux/arch/x86/kernel/
H A Dmodule.c142 Elf64_Sym *sym; in __write_relocate_add()
159 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in __write_relocate_add()
H A Dmachine_kexec_64.c431 Elf64_Sym *sym; in arch_kexec_apply_relocations_add()
/openbmc/linux/scripts/mod/
H A Dmodpost.h42 #define Elf_Sym Elf64_Sym
/openbmc/linux/include/uapi/linux/
H A Delf.h204 } Elf64_Sym; typedef
/openbmc/linux/arch/parisc/kernel/
H A Dmodule.c654 Elf64_Sym *sym; in apply_relocate_add()
672 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/openbmc/linux/scripts/
H A Dinsert-sys-cert.c46 #define Elf_Sym Elf64_Sym
H A Dsorttable.h56 # define Elf_Sym Elf64_Sym
H A Drecordmcount.h83 # define Elf_Sym Elf64_Sym
/openbmc/linux/arch/ia64/kernel/
H A Dmodule.c619 do_reloc (struct module *mod, uint8_t r_type, Elf64_Sym *sym, uint64_t addend, in do_reloc()
834 ((Elf64_Sym *) sechdrs[symindex].sh_addr in apply_relocate_add()
/openbmc/qemu/include/
H A Delf.h1489 } Elf64_Sym; typedef