Lines Matching defs:elf
130 struct section *find_section_by_name(const struct elf *elf, const char *name) in find_section_by_name()
141 static struct section *find_section_by_index(struct elf *elf, in find_section_by_index()
153 static struct symbol *find_symbol_by_index(struct elf *elf, unsigned int idx) in find_symbol_by_index()
220 struct symbol *find_symbol_by_name(const struct elf *elf, const char *name) in find_symbol_by_name()
231 struct reloc *find_reloc_by_dest_range(const struct elf *elf, struct section *sec, in find_reloc_by_dest_range()
260 struct reloc *find_reloc_by_dest(const struct elf *elf, struct section *sec, unsigned long offset) in find_reloc_by_dest()
265 static int read_sections(struct elf *elf) in read_sections()
344 static int read_symbols(struct elf *elf) in read_symbols()
491 void elf_add_reloc(struct elf *elf, struct reloc *reloc) in elf_add_reloc()
525 static int read_relocs(struct elf *elf) in read_relocs()
593 struct elf *elf; in elf_open_read() local
654 struct section *elf_create_section(struct elf *elf, const char *name, in elf_create_section()
757 static struct section *elf_create_rel_reloc_section(struct elf *elf, struct section *base) in elf_create_rel_reloc_section()
787 static struct section *elf_create_rela_reloc_section(struct elf *elf, struct section *base) in elf_create_rela_reloc_section()
817 struct section *elf_create_reloc_section(struct elf *elf, in elf_create_reloc_section()
887 int elf_rebuild_reloc_section(struct elf *elf, struct section *sec) in elf_rebuild_reloc_section()
906 int elf_write_insn(struct elf *elf, struct section *sec, in elf_write_insn()
925 int elf_write_reloc(struct elf *elf, struct reloc *reloc) in elf_write_reloc()
953 int elf_write(struct elf *elf) in elf_write()
989 void elf_close(struct elf *elf) in elf_close()