Searched refs:shnum (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/arch/x86/tools/ |
H A D | relocs.c | 15 static unsigned long shnum; variable 259 if (shndx < shnum) { in sec_name() 287 for (i = 0; i < shnum; i++) { in sym_lookup() 399 shnum = ehdr.e_shnum; in read_ehdr() 416 if (shnum == SHN_UNDEF || shstrndx == SHN_XINDEX) { in read_ehdr() 425 if (shnum == SHN_UNDEF) in read_ehdr() 426 shnum = elf_xword_to_cpu(shdr.sh_size); in read_ehdr() 432 if (shstrndx >= shnum) in read_ehdr() 441 secs = calloc(shnum, sizeof(struct section)); in read_shdrs() 444 shnum); in read_shdrs() [all …]
|
/openbmc/linux/scripts/ |
H A D | sorttable.h | 284 unsigned int shnum; in do_sort() local 302 shnum = r2(&ehdr->e_shnum); in do_sort() 303 if (shnum == SHN_UNDEF) in do_sort() 304 shnum = _r(&shdr[0].sh_size); in do_sort() 306 for (i = 0, s = shdr; s < shdr + shnum; i++, s++) { in do_sort()
|
/openbmc/linux/drivers/remoteproc/ |
H A D | remoteproc_coredump.c | 356 int shnum; in rproc_coredump_using_sections() local 376 shnum = 2; in rproc_coredump_using_sections() 386 shnum++; in rproc_coredump_using_sections() 407 elf_hdr_set_e_shnum(class, ehdr, shnum); in rproc_coredump_using_sections()
|
H A D | remoteproc_elf_loader.c | 258 u16 shnum = elf_hdr_get_e_shnum(class, ehdr); local 270 for (i = 0; i < shnum; i++, shdr += elf_shdr_get_size) {
|
H A D | pru_rproc.c | 876 u16 shnum = ehdr->e_shnum; in pru_rproc_find_interrupt_map() local 887 for (i = 0; i < shnum; i++, shdr++) { in pru_rproc_find_interrupt_map()
|
/openbmc/qemu/linux-user/ |
H A D | gen-vdso-elfn.c.inc | 114 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 D | elfload.c | 2155 static void bswap_shdr(struct elf_shdr *shdr, int shnum) in bswap_shdr() argument 2158 for (i = 0; i < shnum; ++i, ++shdr) { in bswap_shdr() 2193 static inline void bswap_shdr(struct elf_shdr *shdr, int shnum) { } in bswap_shdr() argument 3639 int i, shnum, nsyms, sym_idx = 0, str_idx = 0; in load_symbols() local 3646 shnum = hdr->e_shnum; in load_symbols() 3647 shdr = imgsrc_read_alloc(hdr->e_shoff, shnum * sizeof(struct elf_shdr), in load_symbols() 3653 bswap_shdr(shdr, shnum); in load_symbols() 3654 for (i = 0; i < shnum; ++i) { in load_symbols()
|
/openbmc/openbmc/poky/meta/recipes-devtools/elfutils/files/ |
H A D | 0003-fixheadercheck.patch | 27 @@ -355,8 +355,8 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum)
|
/openbmc/qemu/bsd-user/ |
H A D | elfload.c | 81 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
|
/openbmc/linux/kernel/module/ |
H A D | kallsyms.c | 79 unsigned int shnum, unsigned int pcpundx) in is_core_symbol() argument 85 src->st_shndx >= shnum || in is_core_symbol()
|