Lines Matching refs:secs
35 static struct section *secs; variable
241 sec_strtab = secs[ehdr.e_shstrndx].strtab; in sec_name()
244 name = sec_strtab + secs[shndx].shdr.sh_name; in sec_name()
272 struct section *sec = &secs[i]; in sym_lookup()
394 secs = calloc(ehdr.e_shnum, sizeof(struct section)); in read_shdrs()
395 if (!secs) { in read_shdrs()
404 struct section *sec = &secs[i]; in read_shdrs()
419 sec->link = &secs[sec->shdr.sh_link]; in read_shdrs()
428 struct section *sec = &secs[i]; in read_strtabs()
453 struct section *sec = &secs[i]; in read_symtabs()
486 struct section *sec = &secs[i]; in read_relocs()
529 struct section *sec = &secs[i]; in print_absolute_symbols()
567 struct section *sec = &secs[i]; in print_absolute_relocs()
576 sec_applies = &secs[sec->shdr.sh_info]; in print_absolute_relocs()
655 struct section *sec = &secs[i]; in walk_relocs()
661 sec_applies = &secs[sec->shdr.sh_info]; in walk_relocs()
711 if (secs[i].shdr.sh_addr != 0) /* non SMP kernel */ in percpu_init()