Searched refs:reloc_type (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/arch/arm/core/ |
D | elf.c | 102 static inline int prel31_decode(elf_word reloc_type, uint32_t loc, in prel31_decode() argument 126 static int prel31_handler(elf_word reloc_type, uint32_t loc, in prel31_handler() argument 132 ret = prel31_decode(reloc_type, loc, sym_base_addr, sym_name, &offset); in prel31_handler() 140 static inline int jumps_decode(elf_word reloc_type, uint32_t loc, in jumps_decode() argument 169 static int jumps_handler(elf_word reloc_type, uint32_t loc, in jumps_handler() argument 175 ret = jumps_decode(reloc_type, loc, sym_base_addr, sym_name, &offset); in jumps_handler() 183 static void movs_handler(elf_word reloc_type, uint32_t loc, in movs_handler() argument 194 if (reloc_type == R_ARM_MOVT_PREL || reloc_type == R_ARM_MOVW_PREL_NC) { in movs_handler() 197 if (reloc_type == R_ARM_MOVT_ABS || reloc_type == R_ARM_MOVT_PREL) { in movs_handler() 207 static inline int thm_jumps_decode(elf_word reloc_type, uint32_t loc, in thm_jumps_decode() argument [all …]
|
/Zephyr-latest/arch/riscv/core/ |
D | elf.c | 47 elf_word reloc_type) in riscv_relocation_fits() argument 58 jump_target, (uint64_t)reloc_type, max_distance); in riscv_relocation_fits() 89 elf_word reloc_type; in llext_riscv_find_sym_pcrel() local 104 reloc_type = ELF32_R_TYPE(pcrel_lo12->r_info); in llext_riscv_find_sym_pcrel() 106 if (reloc_type != R_RISCV_PCREL_LO12_I && reloc_type != R_RISCV_PCREL_LO12_S) { in llext_riscv_find_sym_pcrel() 127 reloc_type = ELF32_R_TYPE(candidate.r_info); in llext_riscv_find_sym_pcrel() 136 if (candidate.r_offset == sym->st_value && reloc_type == R_RISCV_PCREL_HI20) { in llext_riscv_find_sym_pcrel() 204 elf_word reloc_type = ELF32_R_TYPE(rel->r_info); in arch_elf_relocate() local 265 (uint64_t)reloc_type); in arch_elf_relocate() 271 (uint64_t)reloc_type); in arch_elf_relocate() [all …]
|
/Zephyr-latest/arch/arm64/core/ |
D | elf.c | 101 static uint64_t reloc(enum aarch64_reloc_type reloc_type, uintptr_t loc, uintptr_t sym_base_addr, in reloc() argument 104 switch (reloc_type) { in reloc() 129 static int data_reloc_handler(elf_rela_t *rel, elf_word reloc_type, uintptr_t loc, in data_reloc_handler() argument 134 switch (reloc_type) { in data_reloc_handler() 193 static int movw_reloc_handler(elf_rela_t *rel, elf_word reloc_type, uintptr_t loc, in movw_reloc_handler() argument 203 switch (reloc_type) { in movw_reloc_handler() 297 static int imm_reloc_handler(elf_rela_t *rel, elf_word reloc_type, uintptr_t loc, in imm_reloc_handler() argument 310 switch (reloc_type) { in imm_reloc_handler() 439 elf_word reloc_type = ELF_R_TYPE(rel->r_info); in arch_elf_relocate() local 461 switch (reloc_type) { in arch_elf_relocate() [all …]
|
/Zephyr-latest/arch/arc/core/ |
D | elf.c | 64 int reloc_type = ELF32_R_TYPE(rel->r_info); in arch_elf_relocate() local 66 switch (reloc_type) { in arch_elf_relocate() 95 LOG_ERR("unknown relocation: %u\n", reloc_type); in arch_elf_relocate()
|