Lines Matching defs:sec
88 struct section *sec; in find_section_by_name() local
101 struct section *sec; in find_section_by_index() local
123 struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset) in find_symbol_by_offset()
137 struct symbol *find_func_by_offset(struct section *sec, unsigned long offset) in find_func_by_offset()
151 struct symbol *find_symbol_containing(const struct section *sec, unsigned long offset) in find_symbol_containing()
165 struct symbol *find_func_containing(struct section *sec, unsigned long offset) in find_func_containing()
191 struct reloc *find_reloc_by_dest_range(const struct elf *elf, struct section *sec, in find_reloc_by_dest_range()
220 struct reloc *find_reloc_by_dest(const struct elf *elf, struct section *sec, unsigned long offset) in find_reloc_by_dest()
228 struct section *sec; in read_sections() local
343 struct section *symtab, *symtab_shndx, *sec; in read_symbols() local
487 int elf_add_reloc(struct elf *elf, struct section *sec, unsigned long offset, in elf_add_reloc()
517 int elf_add_reloc_to_insn(struct elf *elf, struct section *sec, in elf_add_reloc_to_insn()
553 static int read_rel_reloc(struct section *sec, int i, struct reloc *reloc, unsigned int *symndx) in read_rel_reloc()
566 static int read_rela_reloc(struct section *sec, int i, struct reloc *reloc, unsigned int *symndx) in read_rela_reloc()
581 struct section *sec; in read_relocs() local
831 struct section *sec, *shstrtab; in elf_create_section() local
913 struct section *sec; in elf_create_rel_reloc_section() local
943 struct section *sec; in elf_create_rela_reloc_section() local
981 static int elf_rebuild_rel_reloc_section(struct section *sec) in elf_rebuild_rel_reloc_section()
1012 static int elf_rebuild_rela_reloc_section(struct section *sec) in elf_rebuild_rela_reloc_section()
1044 static int elf_rebuild_reloc_section(struct elf *elf, struct section *sec) in elf_rebuild_reloc_section()
1053 int elf_write_insn(struct elf *elf, struct section *sec, in elf_write_insn()
1074 struct section *sec = reloc->sec; in elf_write_reloc() local
1102 struct section *sec; in elf_write() local
1145 struct section *sec, *tmpsec; in elf_close() local