Lines Matching refs:secs
46 static struct section *secs; variable
256 sec_strtab = secs[shstrndx].strtab; in sec_name()
259 name = sec_strtab + secs[shndx].shdr.sh_name; in sec_name()
287 struct section *sec = &secs[i]; in sym_lookup()
350 Elf_Sym *symtab = secs[shsymtabndx].symtab; in sym_index()
351 Elf32_Word *xsymtab = secs[shxsymtabndx].xsymtab; in sym_index()
440 secs = calloc(shnum, sizeof(struct section)); in read_shdrs()
441 if (!secs) { in read_shdrs()
450 struct section *sec = &secs[i]; in read_shdrs()
465 sec->link = &secs[sec->shdr.sh_link]; in read_shdrs()
474 struct section *sec = &secs[i]; in read_strtabs()
500 struct section *sec = &secs[i]; in read_symtabs()
561 struct section *sec = &secs[i]; in read_relocs()
604 struct section *sec = &secs[i]; in print_absolute_symbols()
642 struct section *sec = &secs[i]; in print_absolute_relocs()
651 sec_applies = &secs[sec->shdr.sh_info]; in print_absolute_relocs()
730 struct section *sec = &secs[i]; in walk_relocs()
736 sec_applies = &secs[sec->shdr.sh_info]; in walk_relocs()
786 if (secs[i].shdr.sh_addr != 0) /* non SMP kernel */ in percpu_init()