Lines Matching refs:sec
768 Elf_Scn *sec = NULL;
771 while ((sec = elf_nextscn(elf, sec)) != NULL) {
774 gelf_getshdr(sec, shp);
784 return sec;
964 Elf_Scn *sec = NULL;
968 while ((sec = elf_nextscn(elf, sec)) != NULL) {
969 gelf_getshdr(sec, &shdr);
996 Elf_Scn *sec, *sec_strndx, *opdsec;
1024 sec = elf_section_by_name(elf, &ehdr, &shdr, ".symtab", NULL);
1025 if (sec == NULL) {
1029 sec = elf_section_by_name(elf, &ehdr, &shdr, ".dynsym", NULL);
1030 if (sec == NULL)
1038 syms = elf_getdata(sec, NULL);
1042 sec = elf_getscn(elf, shdr.sh_link);
1043 if (sec == NULL)
1046 symstrs = elf_getdata(sec, NULL);
1099 sec = elf_getscn(elf, sym.st_shndx);
1100 if (!sec)
1103 gelf_getshdr(sec, &shdr);
1244 Elf_Scn *sec;
1260 sec = elf_section_by_name(elf, &ehdr, &shdr,
1262 if (sec == NULL) {
1263 sec = elf_section_by_name(elf, &ehdr, &shdr,
1265 if (sec == NULL)
1269 data = elf_getdata(sec, NULL);