Lines Matching refs:secs
32 static struct section *secs; variable
96 sec_strtab = secs[ehdr.e_shstrndx].strtab; in sec_name()
98 name = sec_strtab + secs[shndx].shdr.sh_name; in sec_name()
114 return &secs[i]; in sec_lookup()
265 secs = calloc(ehdr.e_shnum, sizeof(struct section)); in read_shdrs()
266 if (!secs) in read_shdrs()
273 struct section *sec = &secs[i]; in read_shdrs()
290 sec->link = &secs[sec->shdr.sh_link]; in read_shdrs()
299 struct section *sec = &secs[i]; in read_strtabs()
324 struct section *sec = &secs[i]; in read_symtabs()
367 struct section *sec = &secs[i]; in read_relocs()
413 struct section *sec = &secs[i]; in remove_relocs()
478 struct section *sec = &secs[i]; in walk_relocs()
484 sec_applies = &secs[sec->shdr.sh_info]; in walk_relocs()