Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/kernel/
Dkexec_elf_64.c36 #define elf_addr_to_cpu elf64_to_cpu macro
183 ehdr->e_entry = elf_addr_to_cpu(ehdr, buf_ehdr->e_entry); in elf_read_ehdr()
184 ehdr->e_phoff = elf_addr_to_cpu(ehdr, buf_ehdr->e_phoff); in elf_read_ehdr()
185 ehdr->e_shoff = elf_addr_to_cpu(ehdr, buf_ehdr->e_shoff); in elf_read_ehdr()
229 phdr->p_offset = elf_addr_to_cpu(elf_info->ehdr, buf_phdr->p_offset); in elf_read_phdr()
230 phdr->p_paddr = elf_addr_to_cpu(elf_info->ehdr, buf_phdr->p_paddr); in elf_read_phdr()
231 phdr->p_vaddr = elf_addr_to_cpu(elf_info->ehdr, buf_phdr->p_vaddr); in elf_read_phdr()
238 phdr->p_filesz = elf_addr_to_cpu(elf_info->ehdr, buf_phdr->p_filesz); in elf_read_phdr()
239 phdr->p_memsz = elf_addr_to_cpu(elf_info->ehdr, buf_phdr->p_memsz); in elf_read_phdr()
240 phdr->p_align = elf_addr_to_cpu(elf_info->ehdr, buf_phdr->p_align); in elf_read_phdr()
[all …]
/Linux-v4.19/arch/mips/boot/tools/
Drelocs.c196 #define elf_addr_to_cpu(x) elf64_to_cpu(x) macro
200 #define elf_addr_to_cpu(x) elf32_to_cpu(x) macro
227 ehdr.e_entry = elf_addr_to_cpu(ehdr.e_entry); in read_ehdr()
282 sec->shdr.sh_addr = elf_addr_to_cpu(shdr.sh_addr); in read_shdrs()
345 sym->st_value = elf_addr_to_cpu(sym->st_value); in read_symtabs()
388 rel->r_offset = elf_addr_to_cpu(rel->r_offset); in read_relocs()
/Linux-v4.19/arch/x86/tools/
Drelocs.c326 #define elf_addr_to_cpu(x) elf64_to_cpu(x) macro
330 #define elf_addr_to_cpu(x) elf32_to_cpu(x) macro
357 ehdr.e_entry = elf_addr_to_cpu(ehdr.e_entry); in read_ehdr()
413 sec->shdr.sh_addr = elf_addr_to_cpu(shdr.sh_addr); in read_shdrs()
476 sym->st_value = elf_addr_to_cpu(sym->st_value); in read_symtabs()
508 rel->r_offset = elf_addr_to_cpu(rel->r_offset); in read_relocs()