Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H 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()
216 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
H A Dmodule_64.c152 unsigned int i, r_info, r_addend, _count_relocs; in count_relocs() local
157 r_addend = 0; in count_relocs()
162 r_addend != rela[i].r_addend)) { in count_relocs()
165 r_addend = rela[i].r_addend; in count_relocs()
186 else if (x->r_addend < y->r_addend) in relacmp()
188 else if (x->r_addend > y->r_addend) in relacmp()
556 (long)rela[i].r_addend); in apply_relocate_add()
559 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/OK3568_Linux_fs/kernel/arch/alpha/kernel/
H 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()
/OK3568_Linux_fs/u-boot/tools/
H A Drelocate-rela.c122 swrela.r_addend = cpu_to_le64(rela.r_addend); in main()
128 swrela.r_offset, swrela.r_info, swrela.r_addend); in main()
144 if (fwrite(&rela.r_addend, sizeof(rela.r_addend), 1, f) != 1) { in main()
/OK3568_Linux_fs/kernel/arch/csky/kernel/
H 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()
/OK3568_Linux_fs/kernel/arch/s390/kernel/
H A Dmodule.c252 val += rela->r_addend; in apply_rela()
271 val += rela->r_addend - loc; in apply_rela()
303 val = info->got_offset + rela->r_addend; in apply_rela()
361 info->plt_offset + rela->r_addend; in apply_rela()
370 val += rela->r_addend - loc; in apply_rela()
388 val = val + rela->r_addend - in apply_rela()
400 rela->r_addend - loc; in apply_rela()
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dmodule-plts.c82 u64 val = sym->st_value + rela->r_addend; in module_emit_plt_entry()
147 i = cmp_3way(x->r_addend, y->r_addend); in cmp_rela()
205 if (rela[i].r_addend != 0 || !duplicate_rel(rela, i)) in count_plts()
/OK3568_Linux_fs/kernel/arch/arc/kernel/
H 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()
/OK3568_Linux_fs/kernel/arch/m68k/kernel/
H 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()
/OK3568_Linux_fs/kernel/scripts/mod/
H A Dmodpost.c1601 to = find_elf_symbol(elf, r->r_addend, sym); in default_mismatch_handler()
1666 Elf_Sym* tosym = find_elf_symbol(elf, r->r_addend, sym); in report_extable_warnings()
1762 r->r_addend = TO_NATIVE(*location); in addend_386_rel()
1765 r->r_addend = TO_NATIVE(*location) + 4; in addend_386_rel()
1768 r->r_addend += r->r_offset; in addend_386_rel()
1798 r->r_addend = (int)(long) in addend_arm_rel()
1808 r->r_addend = (int)(long)(elf->hdr + in addend_arm_rel()
1829 r->r_addend = inst & 0xffff; in addend_mips_rel()
1832 r->r_addend = (inst & 0x03ffffff) << 2; in addend_mips_rel()
1835 r->r_addend = inst; in addend_mips_rel()
[all …]
/OK3568_Linux_fs/kernel/arch/riscv/kernel/
H A Dmodule-sections.c60 return x->r_info == y->r_info && x->r_addend == y->r_addend; in is_rela_equal()
H A Dmodule.c367 v = sym->st_value + rel[i].r_addend; in apply_relocate_add()
388 + rel[j].r_addend; in apply_relocate_add()
/OK3568_Linux_fs/u-boot/arch/arm/lib/
H A Dreloc_aarch64_efi.c78 *addr = ldbase + rel->r_addend; in _relocate()
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Delf.h175 Elf32_Sword r_addend; member
181 Elf64_Sxword r_addend; /* Constant addend used to compute value */ member
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H 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()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Delf.h174 Elf32_Sword r_addend; member
180 Elf64_Sxword r_addend; /* Constant addend used to compute value */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Delf.h174 Elf32_Sword r_addend; member
180 Elf64_Sxword r_addend; /* Constant addend used to compute value */ member
/OK3568_Linux_fs/kernel/arch/openrisc/kernel/
H A Dmodule.c39 value = sym->st_value + rel[i].r_addend; in apply_relocate_add()
/OK3568_Linux_fs/kernel/arch/h8300/kernel/
H A Dmodule.c29 uint32_t v = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/OK3568_Linux_fs/kernel/arch/mips/include/asm/
H A Dmodule.h35 Elf64_Sxword r_addend; /* Addend. */ member
/OK3568_Linux_fs/u-boot/include/
H A Delf.h390 Elf32_Sword r_addend; member
401 Elf64_Sxword r_addend; /* Constant addend used to compute value */ member
/OK3568_Linux_fs/kernel/arch/sh/kernel/
H A Dmodule.c47 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add()
/OK3568_Linux_fs/kernel/arch/microblaze/kernel/
H A Dmodule.c40 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/OK3568_Linux_fs/kernel/arch/nios2/kernel/
H A Dmodule.c64 uint32_t v = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/OK3568_Linux_fs/kernel/arch/c6x/kernel/
H A Dmodule.c68 v = sym->st_value + rel[i].r_addend; in apply_relocate_add()

123