| H A D | elf.c | 121 struct section *sec; 123 elf_hash_for_each_possible(elf, section_name, sec, name_hash, str_hash(name)) { 124 if (!strcmp(sec->name, name)) in symbol_hole_by_offset() 125 return sec; in symbol_hole_by_offset() 134 struct section *sec; in symbol_hole_by_offset() 136 elf_hash_for_each_possible(elf, section, sec, hash, idx) { in symbol_hole_by_offset() 137 if (sec->idx == idx) in symbol_hole_by_offset() 138 return sec; in symbol_hole_by_offset() 156 struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset) in find_section_by_index() 158 struct rb_root_cached *tree = (struct rb_root_cached *)&sec in find_section_by_index() 142 struct section *sec; find_section_by_name() local 155 struct section *sec; find_section_by_index() local 177 find_symbol_by_offset(struct section * sec,unsigned long offset) find_symbol_by_offset() argument 190 find_func_by_offset(struct section * sec,unsigned long offset) find_func_by_offset() argument 203 find_symbol_containing(const struct section * sec,unsigned long offset) find_symbol_containing() argument 234 find_symbol_hole_containing(const struct section * sec,unsigned long offset) find_symbol_hole_containing() argument 271 find_func_containing(struct section * sec,unsigned long offset) find_func_containing() argument 338 find_reloc_by_dest_range(const struct elf * elf,struct section * sec,unsigned long offset,unsigned int len) find_reloc_by_dest_range() argument 368 find_reloc_by_dest(const struct elf * elf,struct section * sec,unsigned long offset) find_reloc_by_dest() argument 373 is_dwarf_section(struct section * sec) is_dwarf_section() argument 381 struct section *sec; read_sections() local 594 struct section *symtab, *symtab_shndx, *sec; read_symbols() local 737 struct section *symtab, *sec; mark_group_syms() local 914 elf_create_symbol(struct elf * elf,const char * name,struct section * sec,unsigned int bind,unsigned int type,unsigned long offset,size_t size) elf_create_symbol() argument 1019 elf_create_section_symbol(struct elf * elf,struct section * sec) elf_create_section_symbol() argument 1067 elf_init_reloc_text_sym(struct elf * elf,struct section * sec,unsigned long offset,unsigned int reloc_idx,struct section * insn_sec,unsigned long insn_off) elf_init_reloc_text_sym() argument 1097 elf_init_reloc_data_sym(struct elf * elf,struct section * sec,unsigned long offset,unsigned int reloc_idx,struct symbol * sym,s64 addend) elf_init_reloc_data_sym() argument 1382 elf_add_data(struct elf * elf,struct section * sec,const void * data,size_t size) elf_add_data() argument 1429 struct section *sec, *shstrtab; elf_create_section() local 1625 elf_create_rela_section(struct elf * elf,struct section * sec,unsigned int nr_relocs) elf_create_rela_section() argument 1666 elf_create_reloc(struct elf * elf,struct section * sec,unsigned long offset,struct symbol * sym,s64 addend,unsigned int type) elf_create_reloc() argument 1697 struct section *sec; elf_create_section_pair() local 1710 elf_write_insn(struct elf * elf,struct section * sec,unsigned long offset,unsigned int len,const char * insn) elf_write_insn() argument 1737 elf_truncate_section(struct elf * elf,struct section * sec) elf_truncate_section() argument 1783 struct section *sec; elf_write() local [all...] |