Home
last modified time | relevance | path

Searched refs:sections_nr (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/tools/objtool/
H A Delf.c312 size_t shstrndx, sections_nr; in read_sections() local
315 if (elf_getshdrnum(elf->elf, &sections_nr)) { in read_sections()
325 if (!elf_alloc_hash(section, sections_nr) || in read_sections()
326 !elf_alloc_hash(section_name, sections_nr)) in read_sections()
329 elf->section_data = calloc(sections_nr, sizeof(*sec)); in read_sections()
334 for (i = 0; i < sections_nr; i++) { in read_sections()
381 printf("nr_sections: %lu\n", (unsigned long)sections_nr); in read_sections()
/kernel/linux/linux-5.10/tools/objtool/
H A Delf.c269 size_t shstrndx, sections_nr; in read_sections() local
272 if (elf_getshdrnum(elf->elf, &sections_nr)) { in read_sections()
282 for (i = 0; i < sections_nr; i++) { in read_sections()
333 printf("nr_sections: %lu\n", (unsigned long)sections_nr); in read_sections()

Completed in 4 milliseconds