Home
last modified time | relevance | path

Searched refs:jumpOffset (Results 1 – 2 of 2) sorted by relevance

/haiku/src/system/kernel/arch/sparc/
H A Darch_elf.cpp220 addr_t jumpOffset = S - (P + 8); in boot_arch_elf_relocate_rela() local
221 if ((jumpOffset & 0xc0000000) != 0 in boot_arch_elf_relocate_rela()
222 && (~jumpOffset & 0xc0000000) != 0) { in boot_arch_elf_relocate_rela()
229 dprintf("jumpOffset: %p\n", (void*)jumpOffset); in boot_arch_elf_relocate_rela()
242 instructions[2] = 0x40000000 | ((jumpOffset >> 2) & 0x3fffffff); in boot_arch_elf_relocate_rela()
/haiku/src/system/kernel/arch/ppc/
H A Darch_elf.cpp295 addr_t jumpOffset = S - P; in boot_arch_elf_relocate_rela() local
296 if ((jumpOffset & 0xfc000000) != 0 in boot_arch_elf_relocate_rela()
297 && (~jumpOffset & 0xfe000000) != 0) { in boot_arch_elf_relocate_rela()
303 dprintf("jumpOffset: %p\n", (void*)jumpOffset); in boot_arch_elf_relocate_rela()
310 *(uint32*)P = 0x48000000 | ((jumpOffset) & 0x03fffffc); in boot_arch_elf_relocate_rela()