• Home
  • Raw
  • Download

Lines Matching refs:scn

197 compress_section (Elf_Scn *scn, size_t orig_size, const char *name,  in compress_section()  argument
204 res = elf_compress_gnu (scn, compress ? 1 : 0, flags); in compress_section()
206 res = elf_compress (scn, compress ? ELFCOMPRESS_ZLIB : 0, flags); in compress_section()
229 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in compress_section()
451 Elf_Scn *scn = NULL; in process_file() local
452 while ((scn = elf_nextscn (elf, scn)) != NULL) in process_file()
454 size_t ndx = elf_ndxscn (scn); in process_file()
463 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
681 scn = NULL; in process_file()
682 while ((scn = elf_nextscn (elf, scn)) != NULL) in process_file()
684 size_t ndx = elf_ndxscn (scn); in process_file()
693 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
725 if (compress_section (scn, size, sname, NULL, ndx, in process_file()
734 if (compress_section (scn, size, sname, newname, ndx, in process_file()
749 if (compress_section (scn, size, sname, NULL, ndx, in process_file()
778 int res = compress_section (scn, size, sname, newname, in process_file()
806 if (compress_section (scn, size, sname, NULL, ndx, in process_file()
834 else if (compress_section (scn, size, sname, newname, ndx, in process_file()
854 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
873 Elf_Data *data = elf_getdata (scn, NULL); in process_file()
994 scn = elf_getscn (elfnew, shdrstrndx); in process_file()
995 if (scn == NULL) in process_file()
1002 Elf_Data *data = elf_newdata (scn); in process_file()
1016 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
1037 if (gelf_update_shdr (scn, shdr) == 0) in process_file()
1086 if (compress_section (scn, shstrtab_size, shstrtab_name, in process_file()
1114 scn = NULL; in process_file()
1115 while ((scn = elf_nextscn (elfnew, scn)) != NULL) in process_file()
1117 size_t ndx = elf_ndxscn (scn); in process_file()
1120 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); in process_file()
1143 if (gelf_update_shdr (scn, shdr) == 0) in process_file()
1154 Elf_Data *symd = elf_getdata (scn, NULL); in process_file()
1228 if (compress_section (scn, symtab_size, symtab_name, in process_file()