Searched refs:sym_base_addr (Results 1 – 6 of 6) sorted by relevance
/Zephyr-latest/arch/riscv/core/ |
D | elf.c | 95 const intptr_t sym_base_addr = (intptr_t)sym_base_addr_unsigned; in arch_elf_relocate() local 98 sym_name, (void *)loc, (void *)sym_base_addr, (void *)load_bias, in arch_elf_relocate() 107 jump_target = sym_base_addr + rel->r_addend; /* S + A */ in arch_elf_relocate() 112 UNALIGNED_PUT(sym_base_addr + rel->r_addend, loc64); /* S + A */ in arch_elf_relocate() 120 UNALIGNED_PUT(sym_base_addr, loc_word); /* S */ in arch_elf_relocate() 123 jump_target = sym_base_addr + rel->r_addend - loc; /* S + A - P */ in arch_elf_relocate() 132 jump_target = sym_base_addr + rel->r_addend - loc; /* S + A - P */ in arch_elf_relocate() 144 jump_target = sym_base_addr + rel->r_addend - loc; /* S + A - P */ in arch_elf_relocate() 210 jump_target = sym_base_addr + rel->r_addend; /* S + A */ in arch_elf_relocate() 227 jump_target = sym_base_addr + rel->r_addend; /* S + A */ in arch_elf_relocate() [all …]
|
/Zephyr-latest/arch/arm/core/ |
D | elf.c | 102 uint32_t sym_base_addr, const char *sym_name, int32_t *offset) in prel31_decode() argument 107 *offset += sym_base_addr - loc; in prel31_decode() 110 sym_name, loc, sym_base_addr); in prel31_decode() 126 uint32_t sym_base_addr, const char *sym_name) in prel31_handler() argument 131 ret = prel31_decode(reloc_type, loc, sym_base_addr, sym_name, &offset); in prel31_handler() 140 uint32_t sym_base_addr, const char *sym_name, int32_t *offset) in jumps_decode() argument 147 *offset += sym_base_addr - loc; in jumps_decode() 150 sym_name, loc, sym_base_addr); in jumps_decode() 169 uint32_t sym_base_addr, const char *sym_name) in jumps_handler() argument 174 ret = jumps_decode(reloc_type, loc, sym_base_addr, sym_name, &offset); in jumps_handler() [all …]
|
/Zephyr-latest/arch/arm64/core/ |
D | elf.c | 100 static uint64_t reloc(enum aarch64_reloc_type reloc_type, uintptr_t loc, uintptr_t sym_base_addr, in reloc() argument 105 return sym_base_addr + addend; in reloc() 107 return sym_base_addr + addend - loc; in reloc() 109 return AARCH64_PAGE(sym_base_addr + addend) - AARCH64_PAGE(loc); in reloc() 129 uintptr_t sym_base_addr) in data_reloc_handler() argument 135 *(int64_t *)loc = reloc(AARCH64_RELOC_TYPE_ABS, loc, sym_base_addr, rel->r_addend); in data_reloc_handler() 139 x = reloc(AARCH64_RELOC_TYPE_ABS, loc, sym_base_addr, rel->r_addend); in data_reloc_handler() 147 x = reloc(AARCH64_RELOC_TYPE_ABS, loc, sym_base_addr, rel->r_addend); in data_reloc_handler() 155 *(int64_t *)loc = reloc(AARCH64_RELOC_TYPE_PREL, loc, sym_base_addr, rel->r_addend); in data_reloc_handler() 159 x = reloc(AARCH64_RELOC_TYPE_PREL, loc, sym_base_addr, rel->r_addend); in data_reloc_handler() [all …]
|
/Zephyr-latest/arch/arc/core/ |
D | elf.c | 34 int arch_elf_relocate(elf_rela_t *rel, uintptr_t loc, uintptr_t sym_base_addr, const char *sym_name, in arch_elf_relocate() argument 41 sym_base_addr += rel->r_addend; in arch_elf_relocate() 48 UNALIGNED_PUT(sym_base_addr, (uint32_t *)loc); in arch_elf_relocate() 56 value = (sym_base_addr + rel->r_addend - (loc & ~0x3)) >> 2; in arch_elf_relocate() 71 UNALIGNED_PUT(ME(sym_base_addr), (uint32_t *)loc); in arch_elf_relocate()
|
/Zephyr-latest/include/zephyr/llext/ |
D | llext.h | 344 uintptr_t sym_base_addr, const char *sym_name, uintptr_t load_bias);
|
/Zephyr-latest/subsys/llext/ |
D | llext_link.c | 30 uintptr_t sym_base_addr, const char *sym_name, uintptr_t load_bias) in arch_elf_relocate() argument
|