Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/objtool/arch/x86/
H A Dspecial.c97 struct reloc *text_reloc, *rodata_reloc; in arch_find_switch_table() local
102 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()
/kernel/linux/linux-6.6/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()

Completed in 2 milliseconds