Home
last modified time | relevance | path

Searched refs:r_addend (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.12.1/arch/powerpc/kernel/
Dmodule_32.c27 unsigned int i, r_info, r_addend, _count_relocs; in count_relocs() local
31 r_addend = 0; in count_relocs()
36 r_addend != rela[i].r_addend)) { in count_relocs()
39 r_addend = rela[i].r_addend; in count_relocs()
63 else if (x->r_addend < y->r_addend) in relacmp()
65 else if (x->r_addend > y->r_addend) in relacmp()
219 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
Dmodule_64.c164 unsigned int i, r_info, r_addend, _count_relocs; in count_relocs() local
169 r_addend = 0; in count_relocs()
174 r_addend != rela[i].r_addend)) { in count_relocs()
177 r_addend = rela[i].r_addend; in count_relocs()
198 else if (x->r_addend < y->r_addend) in relacmp()
200 else if (x->r_addend > y->r_addend) in relacmp()
262 unsigned int i, r_info, r_addend, _count_relocs; in count_pcpu_relocs() local
266 r_addend = 0; in count_pcpu_relocs()
277 r_addend != rela[i].r_addend)) { in count_pcpu_relocs()
280 r_addend = rela[i].r_addend; in count_pcpu_relocs()
[all …]
/linux-6.12.1/arch/alpha/kernel/
Dmodule.c24 Elf64_Sxword r_addend; member
34 Elf64_Sxword r_addend = rela->r_addend; in process_reloc_for_got() local
41 if (g->r_addend == r_addend) { in process_reloc_for_got()
51 g->r_addend = r_addend; in process_reloc_for_got()
165 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
201 *(u16 *)(location + rela[i].r_addend) = lo; in apply_relocate_add()
/linux-6.12.1/arch/csky/kernel/
Dmodule.c68 *location = rel[i].r_addend + sym->st_value; in apply_relocate_add()
72 *location = rel[i].r_addend + sym->st_value in apply_relocate_add()
83 ((rel[i].r_addend + sym->st_value) >> 16); in apply_relocate_add()
88 ((rel[i].r_addend + sym->st_value) & 0xffff); in apply_relocate_add()
/linux-6.12.1/arch/s390/kernel/
Dmodule.c250 val += rela->r_addend; in apply_rela()
269 val += rela->r_addend - loc; in apply_rela()
301 val = info->got_offset + rela->r_addend; in apply_rela()
360 info->plt_offset + rela->r_addend; in apply_rela()
369 val += rela->r_addend - loc; in apply_rela()
387 val = val + rela->r_addend - in apply_rela()
399 rela->r_addend - loc; in apply_rela()
/linux-6.12.1/arch/arm64/kernel/
Dmodule-plts.c78 u64 val = sym->st_value + rela->r_addend; in module_emit_plt_entry()
143 i = cmp_3way(x->r_addend, y->r_addend); in cmp_rela()
198 if (rela[i].r_addend != 0 || !duplicate_rel(rela, i)) in count_plts()
/linux-6.12.1/arch/m68k/kernel/
Dmodule.c87 *location = rel[i].r_addend + sym->st_value; in apply_relocate_add()
91 *location = rel[i].r_addend + sym->st_value - (uint32_t)location; in apply_relocate_add()
/linux-6.12.1/arch/arc/kernel/
Dmodule.c83 relocation = sym_entry->st_value + rel_entry[i].r_addend; in apply_relocate_add()
92 rel_entry[i].r_offset, rel_entry[i].r_addend, in apply_relocate_add()
/linux-6.12.1/arch/riscv/kernel/
Dmodule-sections.c60 return x->r_info == y->r_info && x->r_addend == y->r_addend; in is_rela_equal()
/linux-6.12.1/arch/arm64/kernel/pi/
Drelocate.c22 *(u64 *)(rela->r_offset + offset) = rela->r_addend + offset; in relocate_kernel()
/linux-6.12.1/arch/loongarch/kernel/
Dmodule-sections.c66 return x->r_info == y->r_info && x->r_addend == y->r_addend; in is_rela_equal()
Dmodule.c467 sym->st_value, rel[i].r_addend, (u64)location); in apply_relocate_add()
469 v = sym->st_value + rel[i].r_addend; in apply_relocate_add()
/linux-6.12.1/arch/microblaze/kernel/
Dmodule.c37 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/linux-6.12.1/arch/openrisc/kernel/
Dmodule.c39 value = sym->st_value + rel[i].r_addend; in apply_relocate_add()
/linux-6.12.1/arch/mips/include/asm/
Dmodule.h35 Elf64_Sxword r_addend; /* Addend. */ member
/linux-6.12.1/arch/sh/kernel/
Dmodule.c47 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add()
/linux-6.12.1/include/uapi/linux/
Delf.h179 Elf32_Sword r_addend; member
185 Elf64_Sxword r_addend; /* Constant addend used to compute value */ member
/linux-6.12.1/arch/nios2/kernel/
Dmodule.c44 uint32_t v = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/linux-6.12.1/arch/x86/kernel/
Dmodule.c113 sym->st_value, rel[i].r_addend, (u64)loc); in __write_relocate_add()
115 val = sym->st_value + rel[i].r_addend; in __write_relocate_add()
/linux-6.12.1/tools/objtool/include/objtool/
Delf.h251 return __get_reloc_field(reloc, r_addend); in reloc_addend()
256 __set_reloc_field(reloc, r_addend, addend); in set_reloc_addend()
/linux-6.12.1/arch/hexagon/kernel/
Dmodule.c93 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/linux-6.12.1/arch/xtensa/kernel/
Dmodule.c67 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/linux-6.12.1/tools/objtool/
Dorc_dump.c147 printf("%s+%llx:", name, (unsigned long long)rela.r_addend); in orc_dump()
/linux-6.12.1/arch/s390/tools/
Drelocs.c245 rel->r_addend = elf_xword_to_cpu(rel->r_addend); in read_relocs()
/linux-6.12.1/arch/sparc/kernel/
Dmodule.c81 v = sym->st_value + rel[i].r_addend; in apply_relocate_add()

12