Lines Matching refs:scn
305 static int compressed_section_fix(Elf *elf, Elf_Scn *scn, GElf_Shdr *sh)
320 if (gelf_update_shdr(scn, sh) == 0) {
330 Elf_Scn *scn = NULL;
375 while ((scn = elf_nextscn(elf, scn)) != NULL) {
381 if (gelf_getshdr(scn, &sh) != &sh) {
392 data = elf_getdata(scn, 0);
414 if (compressed_section_fix(elf, scn, &sh))
423 Elf_Scn *scn = NULL;
428 scn = elf_getscn(obj->efile.elf, obj->efile.symbols_shndx);
429 if (!scn)
432 if (gelf_getshdr(scn, &sh) != &sh)