Home
last modified time | relevance | path

Searched refs:elf_shdr (Results 1 – 10 of 10) sorted by relevance

/openbmc/qemu/include/hw/
H A Delf_ops.h30 static void glue(bswap_shdr, SZ)(struct elf_shdr *shdr) in glue()
59 static struct elf_shdr *glue(find_section, SZ)(struct elf_shdr *shdr_table, in glue()
110 struct elf_shdr *symtab, *strtab; in glue()
111 g_autofree struct elf_shdr *shdr_table = NULL; in glue()
118 sizeof(struct elf_shdr) * ehdr->e_shnum); in glue()
206 struct elf_shdr *reltab, *shdr_table = NULL; in glue()
213 sizeof(struct elf_shdr) * ehdr->e_shnum); in glue()
/openbmc/linux/include/linux/
H A Delf.h43 #define elf_shdr elf32_shdr macro
55 #define elf_shdr elf64_shdr macro
/openbmc/linux/fs/
H A Dcompat_binfmt_elf.c30 #undef elf_shdr
36 #define elf_shdr elf32_shdr macro
H A Dbinfmt_elf_fdpic.c1420 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
1474 struct elf_shdr *shdr4extnum = NULL; in elf_fdpic_core_dump()
H A Dbinfmt_elf.c2003 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
2034 struct elf_shdr *shdr4extnum = NULL; in elf_core_dump()
/openbmc/linux/kernel/
H A Dkexec_elf.c69 ehdr->e_shentsize != sizeof(struct elf_shdr)) { in elf_is_ehdr_sane()
104 shdr_size = sizeof(struct elf_shdr) * ehdr->e_shnum; in elf_is_ehdr_sane()
/openbmc/qemu/bsd-user/
H A Delfload.c81 static void bswap_shdr(struct elf_shdr *shdr, int shnum) in bswap_shdr()
118 static void bswap_shdr(struct elf_shdr *shdr, int shnum) { } in bswap_shdr()
399 struct elf_shdr sechdr, symtab, strtab; in load_symbols()
/openbmc/qemu/include/
H A Delf.h1770 #define elf_shdr elf32_shdr macro
1786 #define elf_shdr elf64_shdr macro
/openbmc/qemu/hw/core/
H A Dloader.c312 #undef elf_shdr
323 #define elf_shdr elf64_shdr macro
/openbmc/qemu/linux-user/
H A Delfload.c2214 static void bswap_shdr(struct elf_shdr *shdr, int shnum) in bswap_shdr()
2252 static inline void bswap_shdr(struct elf_shdr *shdr, int shnum) { } in bswap_shdr()
3685 g_autofree struct elf_shdr *shdr = NULL; in load_symbols()
3692 shdr = imgsrc_read_alloc(hdr->e_shoff, shnum * sizeof(struct elf_shdr), in load_symbols()