Searched refs:scncnt (Results 1 – 2 of 2) sorted by relevance
282 size_t scncnt = get_shnum (map_address, e_ident, fildes, offset, maxsize); in file_read_elf() local283 if (scncnt == (size_t) -1l) in file_read_elf()289 ELF_K_ELF, scncnt * sizeof (Elf_Scn)); in file_read_elf()306 assert ((unsigned int) scncnt == scncnt); in file_read_elf()307 elf->state.elf32.scns.cnt = elf->state.elf32.scns.max = scncnt; in file_read_elf()328 for (size_t cnt = 0; cnt < scncnt; ++cnt) in file_read_elf()344 && elf->state.elf32.shdr[cnt].sh_link < scncnt) in file_read_elf()377 for (size_t cnt = 0; cnt < scncnt; ++cnt) in file_read_elf()394 assert ((unsigned int) scncnt == scncnt); in file_read_elf()395 elf->state.elf64.scns.cnt = elf->state.elf64.scns.max = scncnt; in file_read_elf()[all …]
1100 size_t scncnt; in add_relocatable_file() local1120 if (unlikely (elf_getshnum (fileinfo->elf, &scncnt) < 0)) in add_relocatable_file()1126 obstack_calloc (&ld_state.smem, scncnt * sizeof (struct scninfo)); in add_relocatable_file()1133 for (cnt = 0; cnt < scncnt; ++cnt) in add_relocatable_file()1327 if (grpdata[inner] >= scncnt) in add_relocatable_file()