Searched refs:shnum (Results 1 – 4 of 4) sorted by relevance
15 static unsigned long shnum; variable248 if (shndx < shnum) { in sec_name()276 for (i = 0; i < shnum; i++) { in sym_lookup()371 shnum = ehdr.e_shnum; in read_ehdr()388 if (shnum == SHN_UNDEF || shstrndx == SHN_XINDEX) { in read_ehdr()397 if (shnum == SHN_UNDEF) in read_ehdr()398 shnum = elf_xword_to_cpu(shdr.sh_size); in read_ehdr()404 if (shstrndx >= shnum) in read_ehdr()413 secs = calloc(shnum, sizeof(struct section)); in read_shdrs()416 shnum); in read_shdrs()[all …]
218 unsigned int shnum; in do_sort() local231 shnum = r2(&ehdr->e_shnum); in do_sort()232 if (shnum == SHN_UNDEF) in do_sort()233 shnum = _r(&shdr[0].sh_size); in do_sort()235 for (i = 0, s = shdr; s < shdr + shnum; i++, s++) { in do_sort()
245 u16 shnum = elf_hdr_get_e_shnum(class, ehdr); local257 for (i = 0; i < shnum; i++, shdr += elf_shdr_get_size) {
2686 unsigned int shnum, unsigned int pcpundx) in is_core_symbol() argument2691 || src->st_shndx >= shnum in is_core_symbol()