Home
last modified time | relevance | path

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

12

/linux/arch/powerpc/kernel/
A Dmodule_32.c26 unsigned int i, r_info, r_addend, _count_relocs; in count_relocs() local
30 r_addend = 0; in count_relocs()
35 r_addend != rela[i].r_addend)) { in count_relocs()
38 r_addend = rela[i].r_addend; in count_relocs()
62 else if (x->r_addend < y->r_addend) in relacmp()
64 else if (x->r_addend > y->r_addend) in relacmp()
209 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
A Dmodule_64.c144 unsigned int i, r_info, r_addend, _count_relocs; in count_relocs() local
149 r_addend = 0; in count_relocs()
154 r_addend != rela[i].r_addend)) { in count_relocs()
157 r_addend = rela[i].r_addend; in count_relocs()
178 else if (x->r_addend < y->r_addend) in relacmp()
180 else if (x->r_addend > y->r_addend) in relacmp()
562 (long)rela[i].r_addend); in apply_relocate_add()
565 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/linux/arch/alpha/kernel/
A 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()
167 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
203 *(u16 *)(location + rela[i].r_addend) = lo; in apply_relocate_add()
/linux/arch/csky/kernel/
A 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/arch/s390/kernel/
A Dmodule.c262 val += rela->r_addend; in apply_rela()
281 val += rela->r_addend - loc; in apply_rela()
313 val = info->got_offset + rela->r_addend; in apply_rela()
372 info->plt_offset + rela->r_addend; in apply_rela()
381 val += rela->r_addend - loc; in apply_rela()
399 val = val + rela->r_addend - in apply_rela()
411 rela->r_addend - loc; in apply_rela()
/linux/arch/arm64/kernel/
A Dmodule-plts.c81 u64 val = sym->st_value + rela->r_addend; in module_emit_plt_entry()
146 i = cmp_3way(x->r_addend, y->r_addend); in cmp_rela()
204 if (rela[i].r_addend != 0 || !duplicate_rel(rela, i)) in count_plts()
/linux/arch/m68k/kernel/
A 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/arch/arc/kernel/
A 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/scripts/mod/
A Dmodpost.c1593 to = find_elf_symbol(elf, r->r_addend, sym); in default_mismatch_handler()
1754 r->r_addend = TO_NATIVE(*location); in addend_386_rel()
1757 r->r_addend = TO_NATIVE(*location) + 4; in addend_386_rel()
1760 r->r_addend += r->r_offset; in addend_386_rel()
1790 r->r_addend = (int)(long) in addend_arm_rel()
1800 r->r_addend = (int)(long)(elf->hdr + in addend_arm_rel()
1821 r->r_addend = inst & 0xffff; in addend_mips_rel()
1824 r->r_addend = (inst & 0x03ffffff) << 2; in addend_mips_rel()
1827 r->r_addend = inst; in addend_mips_rel()
1868 r.r_addend = TO_NATIVE(rela->r_addend); in section_rela()
[all …]
/linux/arch/riscv/kernel/
A Dmodule-sections.c60 return x->r_info == y->r_info && x->r_addend == y->r_addend; in is_rela_equal()
A Dmodule.c356 v = sym->st_value + rel[i].r_addend; in apply_relocate_add()
377 + rel[j].r_addend; in apply_relocate_add()
/linux/arch/x86/kernel/
A Dmodule.c157 sym->st_value, rel[i].r_addend, (u64)loc); in __apply_relocate_add()
159 val = sym->st_value + rel[i].r_addend; in __apply_relocate_add()
/linux/arch/openrisc/kernel/
A Dmodule.c39 value = sym->st_value + rel[i].r_addend; in apply_relocate_add()
/linux/include/uapi/linux/
A Delf.h175 Elf32_Sword r_addend; member
181 Elf64_Sxword r_addend; /* Constant addend used to compute value */ member
/linux/arch/microblaze/kernel/
A Dmodule.c37 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/linux/arch/h8300/kernel/
A Dmodule.c29 uint32_t v = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/linux/arch/mips/include/asm/
A Dmodule.h35 Elf64_Sxword r_addend; /* Addend. */ member
/linux/arch/sh/kernel/
A Dmodule.c47 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add()
/linux/arch/nios2/kernel/
A Dmodule.c64 uint32_t v = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/linux/arch/xtensa/kernel/
A Dmodule.c67 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/linux/arch/hexagon/kernel/
A Dmodule.c93 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/linux/tools/objtool/
A Dorc_dump.c192 printf("%s+%llx:", name, (unsigned long long)rela.r_addend); in orc_dump()
/linux/arch/sparc/kernel/
A Dmodule.c111 v = sym->st_value + rel[i].r_addend; in apply_relocate_add()
/linux/arch/ia64/kernel/
A Dmodule.c326 if (rela[i].r_info == rela[num].r_info && rela[i].r_addend == rela[num].r_addend) in duplicate_reloc()
832 rela[i].r_addend, target_sec, in apply_relocate_add()
/linux/arch/nds32/kernel/
A Dmodule.c148 v = sym->st_value + rel->r_addend; in apply_relocate_add()

Completed in 42 milliseconds

12