Lines Matching refs:scn
295 static int compressed_section_fix(Elf *elf, Elf_Scn *scn, GElf_Shdr *sh) in compressed_section_fix() argument
310 if (gelf_update_shdr(scn, sh) == 0) { in compressed_section_fix()
320 Elf_Scn *scn = NULL; in elf_collect() local
357 while ((scn = elf_nextscn(elf, scn)) != NULL) { in elf_collect()
363 if (gelf_getshdr(scn, &sh) != &sh) { in elf_collect()
374 data = elf_getdata(scn, 0); in elf_collect()
396 if (compressed_section_fix(elf, scn, &sh)) in elf_collect()
405 Elf_Scn *scn = NULL; in symbols_collect() local
410 scn = elf_getscn(obj->efile.elf, obj->efile.symbols_shndx); in symbols_collect()
411 if (!scn) in symbols_collect()
414 if (gelf_getshdr(scn, &sh) != &sh) in symbols_collect()