Lines Matching refs:section
24 struct section { struct
26 struct section *link; argument
32 static struct section *secs; argument
108 static struct section *sec_lookup(const char *secname) in sec_lookup()
265 secs = calloc(ehdr.e_shnum, sizeof(struct section)); in read_shdrs()
273 struct section *sec = &secs[i]; in read_shdrs()
299 struct section *sec = &secs[i]; in read_strtabs()
324 struct section *sec = &secs[i]; in read_symtabs()
358 struct section *sec = sec_lookup(".text"); in read_relocs()
367 struct section *sec = &secs[i]; in read_relocs()
413 struct section *sec = &secs[i]; in remove_relocs()
467 static void walk_relocs(int (*process)(struct section *sec, Elf_Rel *rel, in walk_relocs()
471 struct section *extab_sec = sec_lookup("__ex_table"); in walk_relocs()
478 struct section *sec_applies, *sec_symtab; in walk_relocs()
480 struct section *sec = &secs[i]; in walk_relocs()
505 static int do_reloc(struct section *sec, Elf_Rel *rel, Elf_Sym *sym, in do_reloc()
583 struct section *sec_reloc; in emit_relocs()
641 static int do_reloc_info(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym, in do_reloc_info()