Home
last modified time | relevance | path

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

/Linux-v6.6/arch/arm64/kvm/hyp/nvhe/
Dgen-hyprel.c135 Elf64_Shdr *sh_table;
216 static inline const char *section_name(Elf64_Shdr *shdr) in section_name()
222 static inline const char *section_begin(Elf64_Shdr *shdr) in section_begin()
228 static inline Elf64_Shdr *section_by_off(Elf64_Off off) in section_by_off()
231 return elf_ptr(Elf64_Shdr, off); in section_by_off()
235 static inline Elf64_Shdr *section_by_idx(uint16_t idx) in section_by_idx()
360 static void emit_rela_section(Elf64_Shdr *sh_rela) in emit_rela_section()
362 Elf64_Shdr *sh_orig = &elf.sh_table[elf32toh(sh_rela->sh_info)]; in emit_rela_section()
428 Elf64_Shdr *shdr; in emit_all_relocs()
/Linux-v6.6/arch/arm64/include/asm/
Dmodule.h24 u64 module_emit_plt_entry(struct module *mod, Elf64_Shdr *sechdrs,
28 u64 module_emit_veneer_for_adrp(struct module *mod, Elf64_Shdr *sechdrs,
/Linux-v6.6/arch/powerpc/kernel/
Dmodule_64.c208 const Elf64_Shdr *sechdrs) in get_stubs_size()
258 static int count_pcpu_relocs(const Elf64_Shdr *sechdrs, in count_pcpu_relocs()
289 const Elf64_Shdr *sechdrs, in get_got_size()
378 static Elf64_Sym *find_dot_toc(Elf64_Shdr *sechdrs, in find_dot_toc()
404 Elf64_Shdr *sechdrs, in module_frob_arch_sections()
580 static inline unsigned long my_r2(const Elf64_Shdr *sechdrs, struct module *me) in my_r2()
590 static inline int create_stub(const Elf64_Shdr *sechdrs, in create_stub()
667 static unsigned long stub_for_addr(const Elf64_Shdr *sechdrs, in stub_for_addr()
695 static unsigned long got_for_addr(const Elf64_Shdr *sechdrs, in got_for_addr()
764 int apply_relocate_add(Elf64_Shdr *sechdrs, in apply_relocate_add()
/Linux-v6.6/arch/x86/kernel/
Dmodule.c132 static int __write_relocate_add(Elf64_Shdr *sechdrs, in __write_relocate_add()
225 static int write_relocate_add(Elf64_Shdr *sechdrs, in write_relocate_add()
252 int apply_relocate_add(Elf64_Shdr *sechdrs, in apply_relocate_add()
262 void clear_relocate_add(Elf64_Shdr *sechdrs, in clear_relocate_add()
/Linux-v6.6/tools/testing/selftests/kvm/lib/
Delf.c88 TEST_ASSERT(hdrp->e_shentsize == sizeof(Elf64_Shdr), in elfhdr_get()
92 hdrp->e_shentsize, sizeof(Elf64_Shdr)); in elfhdr_get()
/Linux-v6.6/arch/alpha/kernel/
Dmodule.c64 module_frob_arch_sections(Elf64_Ehdr *hdr, Elf64_Shdr *sechdrs, in module_frob_arch_sections()
69 Elf64_Shdr *esechdrs, *symtab, *s, *got; in module_frob_arch_sections()
133 apply_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, in apply_relocate_add()
/Linux-v6.6/arch/x86/um/asm/
Dmodule.h18 #define Elf_Shdr Elf64_Shdr
/Linux-v6.6/arch/arm64/kernel/
Dmodule-plts.c69 u64 module_emit_plt_entry(struct module *mod, Elf64_Shdr *sechdrs, in module_emit_plt_entry()
101 u64 module_emit_veneer_for_adrp(struct module *mod, Elf64_Shdr *sechdrs, in module_emit_veneer_for_adrp()
324 Elf64_Shdr *dstsec = sechdrs + sechdrs[i].sh_info; in module_frob_arch_sections()
Dmodule.c317 static int reloc_insn_adrp(struct module *mod, Elf64_Shdr *sechdrs, in reloc_insn_adrp()
344 int apply_relocate_add(Elf64_Shdr *sechdrs, in apply_relocate_add()
/Linux-v6.6/include/asm-generic/
Dmodule.h16 #define Elf_Shdr Elf64_Shdr
/Linux-v6.6/arch/mips/include/asm/
Dmodule.h57 #define Elf_Shdr Elf64_Shdr
/Linux-v6.6/tools/perf/util/
Dgenelf.h65 #define Elf_Shdr Elf64_Shdr
/Linux-v6.6/scripts/mod/
Dmodpost.h40 #define Elf_Shdr Elf64_Shdr
/Linux-v6.6/arch/ia64/kernel/
Dmodule.c427 Elf64_Shdr *s, *sechdrs_end = sechdrs + ehdr->e_shnum; in module_frob_arch_sections()
620 Elf64_Shdr *sec, void *location) in do_reloc()
790 apply_relocate_add (Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, in apply_relocate_add()
795 Elf64_Shdr *target_sec; in apply_relocate_add()
/Linux-v6.6/arch/mips/tools/
Dloongson3-llsc-check.c240 Elf64_Shdr *sh; in main()
/Linux-v6.6/scripts/
Dsorttable.c345 r2(&ghdr->e_shentsize) != sizeof(Elf64_Shdr)) { in do_file()
Dinsert-sys-cert.c45 #define Elf_Shdr Elf64_Shdr
Dsorttable.h53 # define Elf_Shdr Elf64_Shdr
Drecordmcount.c637 || w2(ghdr->e_shentsize) != sizeof(Elf64_Shdr)) { in do_file()
Drecordmcount.h80 # define Elf_Shdr Elf64_Shdr
/Linux-v6.6/include/uapi/linux/
Delf.h332 } Elf64_Shdr; typedef
/Linux-v6.6/tools/lib/bpf/
Dlinker.c42 Elf64_Shdr *shdr;
111 Elf64_Shdr *shdr;
481 Elf64_Shdr *shdr = sec->shdr; in is_ignored_sec()
553 Elf64_Shdr *shdr; in linker_load_obj_file()
982 Elf64_Shdr *shdr; in init_sec()
2622 Elf64_Shdr *shdr; in emit_elf_data_sec()
Dlibbpf.c604 Elf64_Shdr *shdr;
693 static Elf64_Shdr *elf_sec_hdr(const struct bpf_object *obj, Elf_Scn *scn);
2686 Elf64_Shdr *sh; in section_have_execinstr()
3260 static Elf64_Shdr *elf_sec_hdr(const struct bpf_object *obj, Elf_Scn *scn) in elf_sec_hdr()
3262 Elf64_Shdr *shdr; in elf_sec_hdr()
3280 Elf64_Shdr *sh; in elf_sec_name()
3339 static bool ignore_elf_section(Elf64_Shdr *hdr, const char *name) in ignore_elf_section()
3395 Elf64_Shdr *sh; in bpf_object__elf_collect()
3780 Elf64_Shdr *sh; in bpf_object__collect_externs()
4235 bpf_object__collect_prog_relos(struct bpf_object *obj, Elf64_Shdr *shdr, Elf_Data *data) in bpf_object__collect_prog_relos()
[all …]
/Linux-v6.6/tools/testing/selftests/sgx/
Dload.c139 Elf64_Shdr *sections; in encl_get_entry()
/Linux-v6.6/arch/sparc/vdso/
Dvma.c72 Elf64_Shdr *shdrs; in one_section64()