Home
last modified time | relevance | path

Searched refs:rsec (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/tools/objtool/
H A Delf.c275 rsec = sec->rsec; in find_reloc_by_dest_range()
276 if (!rsec) in find_reloc_by_dest_range()
859 __func__, reloc_idx, rsec->name, sec_num_entries(rsec)); in elf_init_reloc()
871 reloc->sec = rsec; in elf_init_reloc()
951 rsec->base = find_section_by_index(elf, rsec->sh.sh_info); in read_relocs()
958 rsec->base->rsec = rsec; in read_relocs()
961 rsec->relocs = calloc(sec_num_entries(rsec), sizeof(*reloc)); in read_relocs()
1187 if (!rsec) in elf_create_rela_section()
1203 sec->rsec = rsec; in elf_create_rela_section()
1204 rsec->base = sec; in elf_create_rela_section()
[all …]
H A Dcheck.c593 if (!rsec) in add_dead_ends()
632 if (!rsec) in add_dead_ends()
1029 if (!rsec) in add_ignores()
1270 if (!rsec) in add_ignore_alternatives()
2302 if (!rsec) in read_noendbr_hints()
2326 if (!rsec) in read_retpoline_hints()
2362 if (!rsec) in read_instr_hints()
2381 if (!rsec) in read_instr_hints()
2409 if (!rsec) in read_validate_unret_hints()
2437 if (!rsec) in read_intra_function_calls()
[all …]
/openbmc/linux/tools/objtool/include/objtool/
H A Delf.h40 struct section *base, *rsec; member
205 struct section *rsec = reloc->sec; in reloc_rel() local
207 return rsec->data->d_buf + (reloc_idx(reloc) * rsec->sh.sh_entsize); in reloc_rel()
310 #define for_each_reloc(rsec, reloc) \ argument
312 for (reloc = rsec->relocs; \
313 __i < sec_num_entries(rsec); \
316 #define for_each_reloc_from(rsec, reloc) \ argument
318 __i < sec_num_entries(rsec); \