Searched refs:text_reloc (Results 1 – 1 of 1) sorted by relevance
114 struct reloc *text_reloc, *rodata_reloc; in arch_find_switch_table() local119 text_reloc = find_reloc_by_dest_range(file->elf, insn->sec, in arch_find_switch_table()121 if (!text_reloc || text_reloc->sym->type != STT_SECTION || in arch_find_switch_table()122 !text_reloc->sym->sec->rodata) in arch_find_switch_table()125 table_offset = reloc_addend(text_reloc); in arch_find_switch_table()126 table_sec = text_reloc->sym->sec; in arch_find_switch_table()128 if (reloc_type(text_reloc) == R_X86_64_PC32) in arch_find_switch_table()158 if (reloc_type(text_reloc) == R_X86_64_PC32) in arch_find_switch_table()