Lines Matching refs:elf
80 struct elf { struct
81 Elf *elf; argument
123 struct elf *elf_open_read(const char *name, int flags);
124 struct section *elf_create_section(struct elf *elf, const char *name, unsigned int sh_flags, size_t…
125 struct section *elf_create_reloc_section(struct elf *elf, struct section *base, int reltype);
126 void elf_add_reloc(struct elf *elf, struct reloc *reloc);
127 int elf_write_insn(struct elf *elf, struct section *sec,
130 int elf_write_reloc(struct elf *elf, struct reloc *reloc);
131 int elf_write(struct elf *elf);
132 void elf_close(struct elf *elf);
134 struct section *find_section_by_name(const struct elf *elf, const char *name);
137 struct symbol *find_symbol_by_name(const struct elf *elf, const char *name);
139 struct reloc *find_reloc_by_dest(const struct elf *elf, struct section *sec, unsigned long offset);
140 struct reloc *find_reloc_by_dest_range(const struct elf *elf, struct section *sec,
143 int elf_rebuild_reloc_section(struct elf *elf, struct section *sec);
146 list_for_each_entry(sec, &file->elf->sections, list)