Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A 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()
/openbmc/linux/arch/arm64/include/asm/
H A 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,
/openbmc/linux/arch/powerpc/kernel/
H A 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()
/openbmc/u-boot/cmd/
H A Delf.c79 Elf64_Shdr *shdr; /* Section header structure pointer */ in load_elf64_image_shdr()
87 shdr = (Elf64_Shdr *)(addr + (ulong)ehdr->e_shoff + in load_elf64_image_shdr()
88 (ehdr->e_shstrndx * sizeof(Elf64_Shdr))); in load_elf64_image_shdr()
95 shdr = (Elf64_Shdr *)(addr + (ulong)ehdr->e_shoff + in load_elf64_image_shdr()
96 (i * sizeof(Elf64_Shdr))); in load_elf64_image_shdr()
/openbmc/linux/arch/x86/kernel/
H A 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()
/openbmc/linux/arch/alpha/kernel/
H A 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()
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Delf.c88 TEST_ASSERT(hdrp->e_shentsize == sizeof(Elf64_Shdr), in elfhdr_get()
92 hdrp->e_shentsize, sizeof(Elf64_Shdr)); in elfhdr_get()
/openbmc/linux/arch/x86/um/asm/
H A Dmodule.h18 #define Elf_Shdr Elf64_Shdr
/openbmc/linux/arch/arm64/kernel/
H A 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()
318 Elf64_Shdr *dstsec = sechdrs + sechdrs[i].sh_info; in module_frob_arch_sections()
H A 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()
/openbmc/linux/include/asm-generic/
H A Dmodule.h16 #define Elf_Shdr Elf64_Shdr
/openbmc/linux/arch/mips/include/asm/
H A Dmodule.h57 #define Elf_Shdr Elf64_Shdr
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/
H A D567.patch31 +#define ELF_Shdr Elf64_Shdr
/openbmc/linux/tools/perf/util/
H A Dgenelf.h65 #define Elf_Shdr Elf64_Shdr
/openbmc/linux/arch/ia64/kernel/
H A 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()
/openbmc/linux/scripts/mod/
H A Dmodpost.h41 #define Elf_Shdr Elf64_Shdr
/openbmc/qemu/dump/
H A Ddump.c159 elf_header->e_shentsize = cpu_to_dump16(s, sizeof(Elf64_Shdr)); in prepare_elf64_header()
388 Elf64_Shdr *shdr64 = s->elf_section_hdrs; in prepare_elf_section_hdr_zero()
403 Elf64_Shdr shdr64 = {}; in prepare_elf_section_hdr_string()
409 shdr_size = sizeof(Elf64_Shdr); in prepare_elf_section_hdr_string()
437 sizeof_shdr = dump_is_64bit(s) ? sizeof(Elf64_Shdr) : sizeof(Elf32_Shdr); in prepare_elf_section_hdrs()
480 size_t sizeof_shdr = dump_is_64bit(s) ? sizeof(Elf64_Shdr) : sizeof(Elf32_Shdr); in write_elf_section_headers()
1999 s->phdr_offset = s->shdr_offset + sizeof(Elf64_Shdr) * s->shdr_num; in dump_init()
/openbmc/linux/arch/mips/tools/
H A Dloongson3-llsc-check.c240 Elf64_Shdr *sh; in main()
/openbmc/linux/scripts/
H A Dsorttable.c345 r2(&ghdr->e_shentsize) != sizeof(Elf64_Shdr)) { in do_file()
H A Dinsert-sys-cert.c45 #define Elf_Shdr Elf64_Shdr
/openbmc/linux/include/uapi/linux/
H A Delf.h332 } Elf64_Shdr; typedef
/openbmc/linux/tools/lib/bpf/
H A Dlinker.c42 Elf64_Shdr *shdr;
111 Elf64_Shdr *shdr;
483 Elf64_Shdr *shdr = sec->shdr; in is_ignored_sec()
555 Elf64_Shdr *shdr; in linker_load_obj_file()
984 Elf64_Shdr *shdr; in init_sec()
2631 Elf64_Shdr *shdr; in emit_elf_data_sec()
/openbmc/u-boot/tools/
H A Dmips-relocs.c206 Elf64_Shdr *shdr64; in main()
/openbmc/linux/tools/testing/selftests/sgx/
H A Dload.c141 Elf64_Shdr *sections; in encl_get_entry()
/openbmc/u-boot/include/
H A Delf.h256 } Elf64_Shdr; typedef

12