Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dgen-hyprel.c143 #define elf64toh(x) le64toh(x) macro
151 #define elf64toh(x) be64toh(x) macro
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++)
224 return elf_ptr(char, elf64toh(shdr->sh_offset)); in section_begin()
292 elf.sh_table = section_by_off(elf64toh(elf.ehdr->e_shoff)); in init_elf()
342 elf64toh(rela->r_offset)); in emit_rela_abs64()
373 uint32_t type = (uint32_t)elf64toh(rela->r_info); in emit_rela_section()
376 assert_lt(elf64toh(rela->r_offset), elf64toh(sh_orig->sh_size), "0x%lx"); in emit_rela_section()