/linux-6.12.1/arch/powerpc/kernel/ |
D | module_32.c | 27 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()
|
D | module_64.c | 164 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/ |
D | module.c | 24 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/ |
D | module.c | 68 *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/ |
D | module.c | 250 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/ |
D | module-plts.c | 78 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/ |
D | module.c | 87 *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/ |
D | module.c | 83 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/ |
D | module-sections.c | 60 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/ |
D | relocate.c | 22 *(u64 *)(rela->r_offset + offset) = rela->r_addend + offset; in relocate_kernel()
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | module-sections.c | 66 return x->r_info == y->r_info && x->r_addend == y->r_addend; in is_rela_equal()
|
D | module.c | 467 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/ |
D | module.c | 37 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
|
/linux-6.12.1/arch/openrisc/kernel/ |
D | module.c | 39 value = sym->st_value + rel[i].r_addend; in apply_relocate_add()
|
/linux-6.12.1/arch/mips/include/asm/ |
D | module.h | 35 Elf64_Sxword r_addend; /* Addend. */ member
|
/linux-6.12.1/arch/sh/kernel/ |
D | module.c | 47 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add()
|
/linux-6.12.1/include/uapi/linux/ |
D | elf.h | 179 Elf32_Sword r_addend; member 185 Elf64_Sxword r_addend; /* Constant addend used to compute value */ member
|
/linux-6.12.1/arch/nios2/kernel/ |
D | module.c | 44 uint32_t v = sym->st_value + rela[i].r_addend; in apply_relocate_add()
|
/linux-6.12.1/arch/x86/kernel/ |
D | module.c | 113 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/ |
D | elf.h | 251 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/ |
D | module.c | 93 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
|
/linux-6.12.1/arch/xtensa/kernel/ |
D | module.c | 67 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
|
/linux-6.12.1/tools/objtool/ |
D | orc_dump.c | 147 printf("%s+%llx:", name, (unsigned long long)rela.r_addend); in orc_dump()
|
/linux-6.12.1/arch/s390/tools/ |
D | relocs.c | 245 rel->r_addend = elf_xword_to_cpu(rel->r_addend); in read_relocs()
|
/linux-6.12.1/arch/sparc/kernel/ |
D | module.c | 81 v = sym->st_value + rel[i].r_addend; in apply_relocate_add()
|