/openbmc/u-boot/arch/riscv/lib/ |
H A D | reloc_riscv_efi.c | 45 #define Elf_Rela Elf64_Rela macro 49 #define Elf_Rela Elf32_Rela macro 56 Elf_Rela *rel = 0; in _relocate() 63 rel = (Elf_Rela *)((ulong)dyn[i].d_un.d_ptr + ldbase); in _relocate() 93 rel = (Elf_Rela *)((char *)rel + relent); in _relocate()
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | module-sections.c | 58 static int is_rela_equal(const Elf_Rela *x, const Elf_Rela *y) in is_rela_equal() 63 static bool duplicate_rela(const Elf_Rela *rela, int idx) in duplicate_rela() 73 static void count_max_entries(Elf_Rela *relas, int num, in count_max_entries() 124 Elf_Rela *relas = (void *)ehdr + sechdrs[i].sh_offset; in module_frob_arch_sections() 125 int num_rela = sechdrs[i].sh_size / sizeof(Elf_Rela); in module_frob_arch_sections()
|
H A D | module.c | 344 Elf_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add()
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | module-sections.c | 64 static int is_rela_equal(const Elf_Rela *x, const Elf_Rela *y) in is_rela_equal() 69 static bool duplicate_rela(const Elf_Rela *rela, int idx) in duplicate_rela() 81 static void count_max_entries(Elf_Rela *relas, int num, in count_max_entries() 139 int num_rela = sechdrs[i].sh_size / sizeof(Elf_Rela); in module_frob_arch_sections() 140 Elf_Rela *relas = (void *)ehdr + sechdrs[i].sh_offset; in module_frob_arch_sections()
|
H A D | module.c | 433 Elf_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add()
|
/openbmc/u-boot/tools/ |
H A D | prelink-riscv.inc | 20 #define Elf_Rela CONCAT3(Elf, PRELINK_INC_BITS, _Rela) 43 Elf_Rela *r; 61 Elf_Rela *rela_dyn = NULL; 70 rela_count = dyn->d_un.d_val / sizeof(Elf_Rela); 102 #undef Elf_Rela
|
/openbmc/linux/include/asm-generic/ |
H A D | module.h | 26 #define Elf_Rela Elf64_Rela macro 43 #define Elf_Rela Elf32_Rela macro
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | module.h | 44 #define Elf_Rela Elf32_Rela macro 62 #define Elf_Rela Elf64_Rela macro
|
/openbmc/linux/scripts/ |
H A D | recordmcount.h | 43 #undef Elf_Rela 82 # define Elf_Rela Elf64_Rela macro 120 # define Elf_Rela Elf32_Rela macro 269 char const *mc_name = (sizeof(Elf_Rela) == rel_entsize) in append_func() 307 mcsec.sh_name = w((sizeof(Elf_Rela) == rel_entsize) + strlen(".rel") in append_func() 322 mcsec.sh_type = (sizeof(Elf_Rela) == rel_entsize) in append_func() 432 if (rel_entsize == sizeof(Elf_Rela)) { in sift_rel_mcount() 433 ((Elf_Rela *)mrelp)->r_addend = addend; in sift_rel_mcount()
|
H A D | sorttable.h | 30 #undef Elf_Rela 55 # define Elf_Rela Elf64_Rela macro 79 # define Elf_Rela Elf32_Rela macro
|
/openbmc/linux/arch/s390/kernel/ |
H A D | module.c | 93 static void check_rela(Elf_Rela *rela, struct module *me) in check_rela() 147 Elf_Rela *rela; in module_frob_arch_sections() 190 nrela = sechdrs[i].sh_size / sizeof(Elf_Rela); in module_frob_arch_sections() 258 static int apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab, in apply_rela() 470 Elf_Rela *rela; in __apply_relocate_add() 478 rela = (Elf_Rela *) sechdrs[relsec].sh_addr; in __apply_relocate_add() 479 n = sechdrs[relsec].sh_size / sizeof(Elf_Rela); in __apply_relocate_add()
|
H A D | machine_kexec_file.c | 306 Elf_Rela *relas; in arch_kexec_apply_relocations_add()
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | module.c | 188 static inline unsigned long count_gots(const Elf_Rela *rela, unsigned long n) in count_gots() 193 static inline unsigned long count_fdescs(const Elf_Rela *rela, unsigned long n) in count_fdescs() 198 static inline unsigned long count_stubs(const Elf_Rela *rela, unsigned long n) in count_stubs() 214 static inline unsigned long count_gots(const Elf_Rela *rela, unsigned long n) in count_gots() 231 static inline unsigned long count_fdescs(const Elf_Rela *rela, unsigned long n) in count_fdescs() 246 static inline unsigned long count_stubs(const Elf_Rela *rela, unsigned long n) in count_stubs() 294 const Elf_Rela *rels = (void *)sechdrs[i].sh_addr; in module_frob_arch_sections()
|
/openbmc/linux/scripts/mod/ |
H A D | modpost.h | 35 #define Elf_Rela Elf32_Rela macro 49 #define Elf_Rela Elf64_Rela macro
|
H A D | modpost.c | 1400 Elf_Rela *rela; in section_rela() 1403 Elf_Rela *start = (void *)elf->hdr + sechdr->sh_offset; in section_rela() 1404 Elf_Rela *stop = (void *)start + sechdr->sh_size; in section_rela()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | module.c | 90 Elf_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
|
/openbmc/linux/kernel/livepatch/ |
H A D | core.c | 199 Elf_Rela *relas; in klp_resolve_symbols() 217 relas = (Elf_Rela *) relasec->sh_addr; in klp_resolve_symbols() 219 for (i = 0; i < relasec->sh_size / sizeof(Elf_Rela); i++) { in klp_resolve_symbols()
|