Lines Matching refs:secs
47 static struct section *secs; variable
261 sec_strtab = secs[shstrndx].strtab; in sec_name()
265 name = sec_strtab + secs[shndx].shdr.sh_name; in sec_name()
292 struct section *sec = &secs[i]; in sym_lookup()
356 Elf_Sym *symtab = secs[shsymtabndx].symtab; in sym_index()
357 Elf32_Word *xsymtab = secs[shxsymtabndx].xsymtab; in sym_index()
441 secs = calloc(shnum, sizeof(struct section)); in read_shdrs()
442 if (!secs) in read_shdrs()
449 struct section *sec = &secs[i]; in read_shdrs()
465 sec->link = &secs[sec->shdr.sh_link]; in read_shdrs()
475 struct section *sec = &secs[i]; in read_strtabs()
497 struct section *sec = &secs[i]; in read_symtabs()
551 struct section *sec = &secs[i]; in read_relocs()
593 struct section *sec = &secs[i]; in print_absolute_symbols()
634 struct section *sec = &secs[i]; in print_absolute_relocs()
644 sec_applies = &secs[sec->shdr.sh_info]; in print_absolute_relocs()
732 struct section *sec = &secs[i]; in walk_relocs()
738 sec_applies = &secs[sec->shdr.sh_info]; in walk_relocs()
799 if (secs[i].shdr.sh_addr != 0) /* non SMP kernel */ in percpu_init()