Lines Matching refs:scn
276 static int compressed_section_fix(Elf *elf, Elf_Scn *scn, GElf_Shdr *sh) in compressed_section_fix() argument
291 if (gelf_update_shdr(scn, sh) == 0) { in compressed_section_fix()
301 Elf_Scn *scn = NULL; in elf_collect() local
337 while ((scn = elf_nextscn(elf, scn)) != NULL) { in elf_collect()
343 if (gelf_getshdr(scn, &sh) != &sh) { in elf_collect()
354 data = elf_getdata(scn, 0); in elf_collect()
376 if (compressed_section_fix(elf, scn, &sh)) in elf_collect()
385 Elf_Scn *scn = NULL; in symbols_collect() local
390 scn = elf_getscn(obj->efile.elf, obj->efile.symbols_shndx); in symbols_collect()
391 if (!scn) in symbols_collect()
394 if (gelf_getshdr(scn, &sh) != &sh) in symbols_collect()