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