Lines Matching defs:elf

133 struct section *find_section_by_name(const struct elf *elf, const char *name)  in find_section_by_name()
145 static struct section *find_section_by_index(struct elf *elf, in find_section_by_index()
158 static struct symbol *find_symbol_by_index(struct elf *elf, unsigned int idx) in find_symbol_by_index()
277 struct symbol *find_symbol_by_name(const struct elf *elf, const char *name) in find_symbol_by_name()
290 static struct symbol *find_local_symbol_by_file_and_name(const struct elf *elf, in find_local_symbol_by_file_and_name()
306 struct symbol *find_global_symbol_by_name(const struct elf *elf, const char *name) in find_global_symbol_by_name()
318 struct reloc *find_reloc_by_dest_range(const struct elf *elf, struct section *sec, in find_reloc_by_dest_range()
348 struct reloc *find_reloc_by_dest(const struct elf *elf, struct section *sec, unsigned long offset) in find_reloc_by_dest()
358 static int read_sections(struct elf *elf) in read_sections()
474 static int elf_add_symbol(struct elf *elf, struct symbol *sym) in elf_add_symbol()
539 static int read_symbols(struct elf *elf) in read_symbols()
682 static int mark_group_syms(struct elf *elf) in mark_group_syms()
713 static int elf_update_sym_relocs(struct elf *elf, struct symbol *sym) in elf_update_sym_relocs()
731 static int elf_update_symbol(struct elf *elf, struct section *symtab, in elf_update_symbol()
860 struct symbol *elf_create_symbol(struct elf *elf, const char *name, in elf_create_symbol()
966 struct symbol *elf_create_section_symbol(struct elf *elf, struct section *sec) in elf_create_section_symbol()
979 struct reloc *elf_init_reloc(struct elf *elf, struct section *rsec, in elf_init_reloc()
1014 struct reloc *elf_init_reloc_text_sym(struct elf *elf, struct section *sec, in elf_init_reloc_text_sym()
1044 struct reloc *elf_init_reloc_data_sym(struct elf *elf, struct section *sec, in elf_init_reloc_data_sym()
1059 static int read_relocs(struct elf *elf) in read_relocs()
1124 struct elf *elf; in elf_open_read() local
1193 struct elf *elf; in elf_create_file() local
1305 unsigned int elf_add_string(struct elf *elf, struct section *strtab, const char *str) in elf_add_string()
1329 void *elf_add_data(struct elf *elf, struct section *sec, const void *data, size_t size) in elf_add_data()
1371 struct section *elf_create_section(struct elf *elf, const char *name, in elf_create_section()
1464 static int elf_alloc_reloc(struct elf *elf, struct section *rsec) in elf_alloc_reloc()
1572 struct section *elf_create_rela_section(struct elf *elf, struct section *sec, in elf_create_rela_section()
1613 struct reloc *elf_create_reloc(struct elf *elf, struct section *sec, in elf_create_reloc()
1640 struct section *elf_create_section_pair(struct elf *elf, const char *name, in elf_create_section_pair()
1657 int elf_write_insn(struct elf *elf, struct section *sec, in elf_write_insn()
1684 static int elf_truncate_section(struct elf *elf, struct section *sec) in elf_truncate_section()
1728 int elf_write(struct elf *elf) in elf_write()
1769 int elf_close(struct elf *elf) in elf_close()