/openbmc/u-boot/tools/ |
H A D | relocate-rela.c | 36 static bool supported_rela(Elf64_Rela *rela) in supported_rela() 91 (rela_end - rela_start) % sizeof(Elf64_Rela)) { in main() 99 num = (rela_end - rela_start) / sizeof(Elf64_Rela); in main() 102 Elf64_Rela rela, swrela; in main() 103 uint64_t pos = rela_start + sizeof(Elf64_Rela) * i; in main()
|
H A D | mips-relocs.c | 165 const Elf64_Rela *rel = _rel; in parse_mips64_rela()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | module-plts.c | 70 void *loc, const Elf64_Rela *rela, in module_emit_plt_entry() 135 const Elf64_Rela *x = a, *y = b; in cmp_rela() 147 static bool duplicate_rel(const Elf64_Rela *rela, int num) in duplicate_rel() 157 static unsigned int count_plts(Elf64_Sym *syms, Elf64_Rela *rela, int num, in count_plts() 250 static bool branch_rela_needs_plt(Elf64_Sym *syms, Elf64_Rela *rela, in branch_rela_needs_plt() 264 static int partition_branch_plt_relas(Elf64_Sym *syms, Elf64_Rela *rela, in partition_branch_plt_relas() 316 Elf64_Rela *rels = (void *)ehdr + sechdrs[i].sh_offset; in module_frob_arch_sections() 317 int nents, numrels = sechdrs[i].sh_size / sizeof(Elf64_Rela); in module_frob_arch_sections() 334 sort(rels, nents, sizeof(Elf64_Rela), cmp_rela, NULL); in module_frob_arch_sections()
|
H A D | module.c | 356 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
|
/openbmc/u-boot/arch/arm/lib/ |
H A D | reloc_aarch64_efi.c | 44 Elf64_Rela *rel = 0; in _relocate() 51 rel = (Elf64_Rela *)((ulong)dyn[i].d_un.d_ptr + ldbase); in _relocate() 82 rel = (Elf64_Rela *)((char *)rel + relent); in _relocate()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | module_64.c | 161 static unsigned int count_relocs(const Elf64_Rela *rela, unsigned int num, in count_relocs() 185 const Elf64_Rela *x, *y; in relacmp() 187 y = (Elf64_Rela *)_x; in relacmp() 188 x = (Elf64_Rela *)_y; in relacmp() 220 sechdrs[i].sh_size / sizeof(Elf64_Rela)); in get_stubs_size() 228 sechdrs[i].sh_size / sizeof(Elf64_Rela), in get_stubs_size() 229 sizeof(Elf64_Rela), relacmp, NULL); in get_stubs_size() 233 / sizeof(Elf64_Rela), in get_stubs_size() 238 / sizeof(Elf64_Rela), in get_stubs_size() 259 const Elf64_Rela *rela, unsigned int num, in count_pcpu_relocs() [all …]
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | module.c | 29 process_reloc_for_got(Elf64_Rela *rela, in process_reloc_for_got() 68 Elf64_Rela *rela; in module_frob_arch_sections() 112 nrela = s->sh_size / sizeof(Elf64_Rela); in module_frob_arch_sections() 137 Elf64_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | relocate.c | 27 Elf64_Rela *rela, *rela_end; in relocate_relative() 28 rela = (Elf64_Rela *)&__rela_dyn_begin; in relocate_relative() 29 rela_end = (Elf64_Rela *)&__rela_dyn_end; in relocate_relative()
|
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | gen-hyprel.c | 206 for (var = elf_ptr(Elf64_Rela, elf64toh(shdr->sh_offset)); \ 207 var < elf_ptr(Elf64_Rela, elf64toh(shdr->sh_offset) + elf64toh(shdr->sh_size)); var++) 326 static void emit_rela_abs64(Elf64_Rela *rela, const char *sh_orig_name) in emit_rela_abs64() 364 Elf64_Rela *rela; in emit_rela_section()
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | module.c | 321 duplicate_reloc (const Elf64_Rela *rela, unsigned int num) in duplicate_reloc() 334 count_gots (const Elf64_Rela *rela, unsigned int num) in count_gots() 361 count_plts (const Elf64_Rela *rela, unsigned int num) in count_plts() 387 count_fdescs (const Elf64_Rela *rela, unsigned int num) in count_fdescs() 452 const Elf64_Rela *rels = (void *)ehdr + s->sh_offset; in module_frob_arch_sections() 453 unsigned long numrels = s->sh_size/sizeof(Elf64_Rela); in module_frob_arch_sections() 793 unsigned int i, n = sechdrs[relsec].sh_size / sizeof(Elf64_Rela); in apply_relocate_add() 794 Elf64_Rela *rela = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add()
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | relocate.c | 50 Elf64_Rela *re_src, Elf64_Rela *re_end) in do_elf_reloc_fixups64()
|
/openbmc/linux/arch/s390/boot/ |
H A D | startup.c | 102 Elf64_Rela *rela_start, *rela_end, *rela; in handle_relocs() 107 rela_start = (Elf64_Rela *) vmlinux.rela_dyn_start; in handle_relocs() 108 rela_end = (Elf64_Rela *) vmlinux.rela_dyn_end; in handle_relocs()
|
/openbmc/linux/arch/x86/tools/ |
H A D | relocs_64.c | 9 #define Elf_Rel Elf64_Rela
|
/openbmc/linux/tools/objtool/include/objtool/ |
H A D | elf.h | 163 return elf_addr_size(elf) == 4 ? sizeof(Elf32_Rela) : sizeof(Elf64_Rela); in elf_rela_size() 225 ((Elf64_Rela *)reloc_rel(reloc))->field; \ 233 ((Elf64_Rela *)reloc_rel(reloc))->field = val; \
|
/openbmc/linux/arch/mips/boot/tools/ |
H A D | relocs_64.c | 9 #define Elf_Rel Elf64_Rela
|
/openbmc/linux/include/asm-generic/ |
H A D | module.h | 26 #define Elf_Rela Elf64_Rela
|
/openbmc/u-boot/arch/riscv/lib/ |
H A D | reloc_riscv_efi.c | 45 #define Elf_Rela Elf64_Rela
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | module.h | 25 void *loc, const Elf64_Rela *rela,
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | module.h | 62 #define Elf_Rela Elf64_Rela
|
/openbmc/linux/scripts/mod/ |
H A D | modpost.h | 49 #define Elf_Rela Elf64_Rela
|
/openbmc/linux/include/uapi/linux/ |
H A D | elf.h | 186 } Elf64_Rela; typedef
|
/openbmc/linux/arch/x86/kernel/ |
H A D | module.c | 141 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in __write_relocate_add()
|
/openbmc/linux/arch/riscv/mm/ |
H A D | init.c | 868 Elf64_Rela *rela = (Elf64_Rela *)&__rela_dyn_start; in relocate_kernel() 880 for ( ; rela < (Elf64_Rela *)&__rela_dyn_end; rela++) { in relocate_kernel()
|
/openbmc/qemu/include/ |
H A D | elf.h | 1471 } Elf64_Rela; typedef 1792 # define ELF_RELOC Elf64_Rela
|
/openbmc/u-boot/include/ |
H A D | elf.h | 423 } Elf64_Rela; typedef
|