/linux/arch/arm64/kernel/ |
A D | module-plts.c | 74 Elf64_Sym *sym) in module_emit_plt_entry() 160 static unsigned int count_plts(Elf64_Sym *syms, Elf64_Rela *rela, int num, in count_plts() 164 Elf64_Sym *s; in count_plts() 256 static bool branch_rela_needs_plt(Elf64_Sym *syms, Elf64_Rela *rela, in branch_rela_needs_plt() 260 Elf64_Sym *s = syms + ELF64_R_SYM(rela->r_info); in branch_rela_needs_plt() 270 static int partition_branch_plt_relas(Elf64_Sym *syms, Elf64_Rela *rela, in partition_branch_plt_relas() 295 Elf64_Sym *syms = NULL; in module_frob_arch_sections() 312 syms = (Elf64_Sym *)sechdrs[i].sh_addr; in module_frob_arch_sections()
|
A D | module.c | 269 Elf64_Sym *sym; in apply_relocate_add() 280 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux/arch/powerpc/kernel/ |
A D | module_64.c | 57 static unsigned int local_entry_offset(const Elf64_Sym *sym) in local_entry_offset() 81 static unsigned int local_entry_offset(const Elf64_Sym *sym) in local_entry_offset() 246 static void dedotify(Elf64_Sym *syms, unsigned int numsyms, char *strtab) in dedotify() 262 static Elf64_Sym *find_dot_toc(Elf64_Shdr *sechdrs, in find_dot_toc() 267 Elf64_Sym *syms; in find_dot_toc() 269 syms = (Elf64_Sym *)sechdrs[symindex].sh_addr; in find_dot_toc() 270 numsyms = sechdrs[symindex].sh_size / sizeof(Elf64_Sym); in find_dot_toc() 307 sechdrs[i].sh_size / sizeof(Elf64_Sym), in module_frob_arch_sections() 534 Elf64_Sym *sym; in apply_relocate_add() 556 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux/arch/sparc/vdso/ |
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/tools/testing/selftests/sgx/ |
A D | main.c | 27 Elf64_Sym *elf_symtab; 92 static Elf64_Sym *vdso_symtab_get(struct vdso_symtab *symtab, const char *name) in vdso_symtab_get() 97 Elf64_Sym *sym; in vdso_symtab_get() 117 Elf64_Sym *sgx_enter_enclave_sym = NULL; in FIXTURE_SETUP()
|
/linux/tools/lib/bpf/ |
A D | linker.c | 273 Elf64_Sym *syms, *sym; in add_new_sym() 297 Elf64_Sym *init_sym; in init_output_elf() 416 sec->shdr->sh_entsize = sizeof(Elf64_Sym); in init_output_elf() 770 Elf64_Sym *sym; in linker_sanity_check_elf_symtab() 773 if (sec->shdr->sh_entsize != sizeof(Elf64_Sym)) in linker_sanity_check_elf_symtab() 1216 Elf64_Sym *sym = symtab->data->d_buf; in linker_append_elf_syms() 1249 Elf64_Sym *syms = symtab->raw_data; in get_sym_by_idx() 1810 Elf64_Sym *dst_sym; in linker_append_elf_sym() 2053 Elf64_Sym *src_sym, *dst_sym; in linker_append_elf_relos() 2100 Elf64_Sym *sym = symtab->data->d_buf; in find_sym_by_name() [all …]
|
A D | libbpf.c | 718 Elf64_Sym *sym; in bpf_object__add_programs() 722 nr_syms = symbols->d_size / sizeof(Elf64_Sym); in bpf_object__add_programs() 1379 Elf64_Sym *sym = elf_sym_by_idx(obj, si); in find_elf_var_offset() 1928 nr_syms = symbols->d_size / sizeof(Elf64_Sym); in bpf_object__init_user_maps() 1930 Elf64_Sym *sym = elf_sym_by_idx(obj, i); in bpf_object__init_user_maps() 1951 Elf64_Sym *sym = elf_sym_by_idx(obj, i); in bpf_object__init_user_maps() 3341 static bool sym_is_extern(const Elf64_Sym *sym) in sym_is_extern() 3569 Elf64_Sym *sym = elf_sym_by_idx(obj, i); in bpf_object__collect_externs() 4033 Elf64_Sym *sym; in bpf_object__collect_prog_relos() 6163 Elf64_Sym *sym; in bpf_object__collect_map_relos() [all …]
|
/linux/arch/alpha/kernel/ |
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/arch/x86/um/asm/ |
A D | module.h | 19 #define Elf_Sym Elf64_Sym
|
/linux/include/asm-generic/ |
A D | module.h | 18 #define Elf_Sym Elf64_Sym
|
/linux/arch/s390/boot/ |
A D | startup.c | 84 Elf64_Sym *dynsym; in handle_relocs() 88 dynsym = (Elf64_Sym *) vmlinux.dynsym_start; in handle_relocs()
|
/linux/arch/arm64/include/asm/ |
A D | module.h | 28 Elf64_Sym *sym);
|
/linux/arch/x86/kernel/ |
A D | module.c | 139 Elf64_Sym *sym; in __apply_relocate_add() 152 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in __apply_relocate_add()
|
A D | machine_kexec_64.c | 405 Elf64_Sym *sym; in arch_kexec_apply_relocations_add()
|
/linux/arch/mips/include/asm/ |
A D | module.h | 58 #define Elf_Sym Elf64_Sym
|
/linux/tools/perf/util/ |
A D | genelf.h | 56 #define Elf_Sym Elf64_Sym
|
/linux/scripts/mod/ |
A D | modpost.h | 40 #define Elf_Sym Elf64_Sym
|
/linux/include/uapi/linux/ |
A D | elf.h | 200 } Elf64_Sym; typedef
|
/linux/scripts/ |
A D | sorttable.h | 50 # define Elf_Sym Elf64_Sym
|
A D | insert-sys-cert.c | 46 #define Elf_Sym Elf64_Sym
|
A D | recordmcount.h | 83 # define Elf_Sym Elf64_Sym
|
/linux/arch/parisc/kernel/ |
A D | module.c | 671 Elf64_Sym *sym; in apply_relocate_add() 689 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux/arch/ia64/kernel/ |
A D | module.c | 619 do_reloc (struct module *mod, uint8_t r_type, Elf64_Sym *sym, uint64_t addend, in do_reloc() 830 ((Elf64_Sym *) sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux/kernel/livepatch/ |
A D | core.c | 221 sym = (Elf64_Sym *)sechdrs[symndx].sh_addr + ELF_R_SYM(relas[i].r_info); in klp_resolve_symbols()
|