Searched refs:elf32_to_cpu (Results 1 – 4 of 4) sorted by relevance
| /linux/kernel/ |
| H A D | kexec_elf.c | 39 static uint32_t elf32_to_cpu(const struct elfhdr *ehdr, uint32_t value) in elf32_to_cpu() function 152 ehdr->e_version = elf32_to_cpu(ehdr, buf_ehdr->e_version); in elf_read_ehdr() 153 ehdr->e_flags = elf32_to_cpu(ehdr, buf_ehdr->e_flags); in elf_read_ehdr() 168 ehdr->e_entry = elf32_to_cpu(ehdr, buf_ehdr->e_entry); in elf_read_ehdr() 169 ehdr->e_phoff = elf32_to_cpu(ehdr, buf_ehdr->e_phoff); in elf_read_ehdr() 170 ehdr->e_shoff = elf32_to_cpu(ehdr, buf_ehdr->e_shoff); in elf_read_ehdr() 215 phdr->p_type = elf32_to_cpu(elf_info->ehdr, buf_phdr->p_type); in elf_read_phdr() 216 phdr->p_flags = elf32_to_cpu(elf_info->ehdr, buf_phdr->p_flags); in elf_read_phdr() 229 phdr->p_offset = elf32_to_cpu(ehdr, buf_phdr->p_offset); in elf_read_phdr() 230 phdr->p_paddr = elf32_to_cpu(ehdr, buf_phdr->p_paddr); in elf_read_phdr() [all …]
|
| /linux/arch/mips/boot/tools/ |
| H A D | relocs.c | 170 static uint32_t elf32_to_cpu(uint32_t val) in elf32_to_cpu() function 187 #define elf_word_to_cpu(x) elf32_to_cpu(x) 201 #define elf_addr_to_cpu(x) elf32_to_cpu(x) 202 #define elf_off_to_cpu(x) elf32_to_cpu(x) 203 #define elf_xword_to_cpu(x) elf32_to_cpu(x) 399 ELF_R_SYM(rel->r_info) = elf32_to_cpu(ELF_R_SYM(rel->r_info)); in read_relocs()
|
| /linux/arch/x86/tools/ |
| H A D | relocs.c | 307 static uint32_t elf32_to_cpu(uint32_t val) in elf32_to_cpu() function 313 #define elf_word_to_cpu(x) elf32_to_cpu(x) 324 # define elf_addr_to_cpu(x) elf32_to_cpu(x) 325 # define elf_off_to_cpu(x) elf32_to_cpu(x) 326 # define elf_xword_to_cpu(x) elf32_to_cpu(x) 343 return elf32_to_cpu(xsymtab[index]); in sym_index()
|
| /linux/arch/s390/tools/ |
| H A D | relocs.c | 88 static uint32_t elf32_to_cpu(uint32_t val) in elf32_to_cpu() function 97 #define elf_word_to_cpu(x) elf32_to_cpu(x)
|