Home
last modified time | relevance | path

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

/openbmc/linux/tools/objtool/arch/x86/
H A Dspecial.c91 struct reloc *text_reloc, *rodata_reloc; in arch_find_switch_table() local
96 text_reloc = find_reloc_by_dest_range(file->elf, insn->sec, in arch_find_switch_table()
98 if (!text_reloc || text_reloc->sym->type != STT_SECTION || in arch_find_switch_table()
99 !text_reloc->sym->sec->rodata) in arch_find_switch_table()
102 table_offset = reloc_addend(text_reloc); in arch_find_switch_table()
103 table_sec = text_reloc->sym->sec; in arch_find_switch_table()
105 if (reloc_type(text_reloc) == R_X86_64_PC32) in arch_find_switch_table()
135 if (reloc_type(text_reloc) == R_X86_64_PC32) in arch_find_switch_table()