• Home
  • Raw
  • Download

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 void elf_add_symbol(struct elf *elf, struct symbol *sym) in elf_add_symbol()
375 static int read_symbols(struct elf *elf) in read_symbols()
512 int elf_add_reloc(struct elf *elf, struct section *sec, unsigned long offset, in elf_add_reloc()
546 static void elf_dirty_reloc_sym(struct elf *elf, struct symbol *sym) in elf_dirty_reloc_sym()
573 static int elf_update_symbol(struct elf *elf, struct section *symtab, in elf_update_symbol()
692 elf_create_section_symbol(struct elf *elf, struct section *sec) in elf_create_section_symbol()
760 int elf_add_reloc_to_insn(struct elf *elf, struct section *sec, in elf_add_reloc_to_insn()
810 static int read_relocs(struct elf *elf) in read_relocs()
880 struct elf *elf; in elf_open_read() local
941 static int elf_add_string(struct elf *elf, struct section *strtab, char *str) in elf_add_string()
978 struct section *elf_create_section(struct elf *elf, const char *name, in elf_create_section()
1061 static struct section *elf_create_rel_reloc_section(struct elf *elf, struct section *base) in elf_create_rel_reloc_section()
1091 static struct section *elf_create_rela_reloc_section(struct elf *elf, struct section *base) in elf_create_rela_reloc_section()
1121 static struct section *elf_create_reloc_section(struct elf *elf, in elf_create_reloc_section()
1191 static int elf_rebuild_reloc_section(struct elf *elf, struct section *sec) in elf_rebuild_reloc_section()
1207 int elf_write_insn(struct elf *elf, struct section *sec, in elf_write_insn()
1226 int elf_write_reloc(struct elf *elf, struct reloc *reloc) in elf_write_reloc()
1254 int elf_write(struct elf *elf) in elf_write()
1297 void elf_close(struct elf *elf) in elf_close()