Searched refs:reloc_idx (Results 1 – 2 of 2) sorted by relevance
/tools/objtool/include/objtool/ |
D | elf.h | 119 unsigned int reloc_idx, 125 unsigned int reloc_idx, 198 static inline unsigned int reloc_idx(struct reloc *reloc) in reloc_idx() function 207 return rsec->data->d_buf + (reloc_idx(reloc) * rsec->sh.sh_entsize); in reloc_rel() 317 for (int __i = reloc_idx(reloc); \
|
/tools/objtool/ |
D | elf.c | 851 unsigned int reloc_idx, in elf_init_reloc() argument 857 if (reloc_idx >= sec_num_entries(rsec)) { in elf_init_reloc() 859 __func__, reloc_idx, rsec->name, sec_num_entries(rsec)); in elf_init_reloc() 863 reloc = &rsec->relocs[reloc_idx]; in elf_init_reloc() 867 __func__, rsec->name, reloc_idx); in elf_init_reloc() 888 unsigned int reloc_idx, in elf_init_reloc_text_sym() argument 915 return elf_init_reloc(elf, sec->rsec, reloc_idx, offset, sym, addend, in elf_init_reloc_text_sym() 921 unsigned int reloc_idx, in elf_init_reloc_data_sym() argument 931 return elf_init_reloc(elf, sec->rsec, reloc_idx, offset, sym, addend, in elf_init_reloc_data_sym()
|