Searched refs:text_reloc (Results 1 – 1 of 1) sorted by relevance
97 struct reloc *text_reloc, *rodata_reloc; in arch_find_switch_table() local102 text_reloc = find_reloc_by_dest_range(file->elf, insn->sec, in arch_find_switch_table()104 if (!text_reloc || text_reloc->sym->type != STT_SECTION || in arch_find_switch_table()105 !text_reloc->sym->sec->rodata) in arch_find_switch_table()108 table_offset = text_reloc->addend; in arch_find_switch_table()109 table_sec = text_reloc->sym->sec; in arch_find_switch_table()111 if (text_reloc->type == R_X86_64_PC32) in arch_find_switch_table()141 if (text_reloc->type == R_X86_64_PC32) in arch_find_switch_table()