/linux/arch/powerpc/kernel/ |
A D | module_32.c | 26 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 D | module_64.c | 144 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 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() 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 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/arch/s390/kernel/ |
A D | module.c | 262 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 D | module-plts.c | 81 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 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/arch/arc/kernel/ |
A 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/scripts/mod/ |
A D | modpost.c | 1593 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 D | module-sections.c | 60 return x->r_info == y->r_info && x->r_addend == y->r_addend; in is_rela_equal()
|
A D | module.c | 356 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 D | module.c | 157 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 D | module.c | 39 value = sym->st_value + rel[i].r_addend; in apply_relocate_add()
|
/linux/include/uapi/linux/ |
A D | elf.h | 175 Elf32_Sword r_addend; member 181 Elf64_Sxword r_addend; /* Constant addend used to compute value */ member
|
/linux/arch/microblaze/kernel/ |
A D | module.c | 37 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
|
/linux/arch/h8300/kernel/ |
A D | module.c | 29 uint32_t v = sym->st_value + rela[i].r_addend; in apply_relocate_add()
|
/linux/arch/mips/include/asm/ |
A D | module.h | 35 Elf64_Sxword r_addend; /* Addend. */ member
|
/linux/arch/sh/kernel/ |
A D | module.c | 47 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add()
|
/linux/arch/nios2/kernel/ |
A D | module.c | 64 uint32_t v = sym->st_value + rela[i].r_addend; in apply_relocate_add()
|
/linux/arch/xtensa/kernel/ |
A D | module.c | 67 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
|
/linux/arch/hexagon/kernel/ |
A D | module.c | 93 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
|
/linux/tools/objtool/ |
A D | orc_dump.c | 192 printf("%s+%llx:", name, (unsigned long long)rela.r_addend); in orc_dump()
|
/linux/arch/sparc/kernel/ |
A D | module.c | 111 v = sym->st_value + rel[i].r_addend; in apply_relocate_add()
|
/linux/arch/ia64/kernel/ |
A D | module.c | 326 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 D | module.c | 148 v = sym->st_value + rel->r_addend; in apply_relocate_add()
|