Lines Matching refs:section
28 struct section {
36 struct section *base, *reloc;
51 struct section *sec;
74 struct section *sec;
109 static inline u32 sec_offset_hash(struct section *sec, unsigned long offset)
129 struct section *elf_create_section(struct elf *elf, const char *name, unsigned int sh_flags, size_t entsize, int nr);
131 int elf_add_reloc(struct elf *elf, struct section *sec, unsigned long offset,
133 int elf_add_reloc_to_insn(struct elf *elf, struct section *sec,
135 struct section *insn_sec, unsigned long insn_off);
137 int elf_write_insn(struct elf *elf, struct section *sec,
144 struct section *find_section_by_name(const struct elf *elf, const char *name);
145 struct symbol *find_func_by_offset(struct section *sec, unsigned long offset);
146 struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset);
148 struct symbol *find_symbol_containing(const struct section *sec, unsigned long offset);
149 struct reloc *find_reloc_by_dest(const struct elf *elf, struct section *sec, unsigned long offset);
150 struct reloc *find_reloc_by_dest_range(const struct elf *elf, struct section *sec,
152 struct symbol *find_func_containing(struct section *sec, unsigned long offset);