Lines Matching defs:elf

132 struct section *find_section_by_name(const struct elf *elf, const char *name)  in find_section_by_name()
144 static struct section *find_section_by_index(struct elf *elf, in find_section_by_index()
157 static struct symbol *find_symbol_by_index(struct elf *elf, unsigned int idx) in find_symbol_by_index()
256 struct symbol *find_symbol_by_name(const struct elf *elf, const char *name) in find_symbol_by_name()
268 struct reloc *find_reloc_by_dest_range(const struct elf *elf, struct section *sec, in find_reloc_by_dest_range()
298 struct reloc *find_reloc_by_dest(const struct elf *elf, struct section *sec, unsigned long offset) in find_reloc_by_dest()
308 static int read_sections(struct elf *elf) in read_sections()
394 static void elf_add_symbol(struct elf *elf, struct symbol *sym) in elf_add_symbol()
435 static int read_symbols(struct elf *elf) in read_symbols()
579 static int elf_update_sym_relocs(struct elf *elf, struct symbol *sym) in elf_update_sym_relocs()
597 static int elf_update_symbol(struct elf *elf, struct section *symtab, in elf_update_symbol()
728 __elf_create_symbol(struct elf *elf, struct symbol *sym) in __elf_create_symbol()
794 elf_create_section_symbol(struct elf *elf, struct section *sec) in elf_create_section_symbol()
822 elf_create_prefix_symbol(struct elf *elf, struct symbol *orig, long size) in elf_create_prefix_symbol()
850 static struct reloc *elf_init_reloc(struct elf *elf, struct section *rsec, in elf_init_reloc()
886 struct reloc *elf_init_reloc_text_sym(struct elf *elf, struct section *sec, in elf_init_reloc_text_sym()
919 struct reloc *elf_init_reloc_data_sym(struct elf *elf, struct section *sec, in elf_init_reloc_data_sym()
935 static int read_relocs(struct elf *elf) in read_relocs()
998 struct elf *elf; in elf_open_read() local
1053 static int elf_add_string(struct elf *elf, struct section *strtab, char *str) in elf_add_string()
1090 struct section *elf_create_section(struct elf *elf, const char *name, in elf_create_section()
1170 static struct section *elf_create_rela_section(struct elf *elf, in elf_create_rela_section()
1209 struct section *elf_create_section_pair(struct elf *elf, const char *name, in elf_create_section_pair()
1225 int elf_write_insn(struct elf *elf, struct section *sec, in elf_write_insn()
1252 static int elf_truncate_section(struct elf *elf, struct section *sec) in elf_truncate_section()
1297 int elf_write(struct elf *elf) in elf_write()
1341 void elf_close(struct elf *elf) in elf_close()