Home
last modified time | relevance | path

Searched refs:shnum (Results 1 – 4 of 4) sorted by relevance

/openbmc/openbmc/poky/meta/recipes-devtools/elfutils/files/
H A D0003-fixheadercheck.patch27 @@ -355,8 +355,8 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum)
/openbmc/qemu/linux-user/
H A Dgen-vdso-elfn.c.inc114 unsigned phnum, shnum;
129 shnum = ehdr->e_shnum;
131 for (unsigned i = 0; i < shnum; ++i) {
225 for (unsigned i = 0; i < shnum; ++i) {
H A Delfload.c2242 static void bswap_shdr(struct elf_shdr *shdr, int shnum) in bswap_shdr() argument
2248 for (int i = 0; i < shnum; ++i, ++shdr) { in bswap_shdr()
3728 int i, shnum, nsyms, sym_idx = 0, str_idx = 0; in load_symbols() local
3735 shnum = hdr->e_shnum; in load_symbols()
3736 shdr = imgsrc_read_alloc(hdr->e_shoff, shnum * sizeof(struct elf_shdr), in load_symbols()
3742 bswap_shdr(shdr, shnum); in load_symbols()
3743 for (i = 0; i < shnum; ++i) { in load_symbols()
/openbmc/qemu/bsd-user/
H A Delfload.c81 static void bswap_shdr(struct elf_shdr *shdr, int shnum) in bswap_shdr() argument
85 for (i = 0; i < shnum; i++, shdr++) { in bswap_shdr()
118 static void bswap_shdr(struct elf_shdr *shdr, int shnum) { } in bswap_shdr() argument