Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/boot/tools/
H A Drelocs.c185 #define elf_half_to_cpu(x) elf16_to_cpu(x) macro
224 ehdr.e_type = elf_half_to_cpu(ehdr.e_type); in read_ehdr()
225 ehdr.e_machine = elf_half_to_cpu(ehdr.e_machine); in read_ehdr()
231 ehdr.e_ehsize = elf_half_to_cpu(ehdr.e_ehsize); in read_ehdr()
232 ehdr.e_phentsize = elf_half_to_cpu(ehdr.e_phentsize); in read_ehdr()
233 ehdr.e_phnum = elf_half_to_cpu(ehdr.e_phnum); in read_ehdr()
234 ehdr.e_shentsize = elf_half_to_cpu(ehdr.e_shentsize); in read_ehdr()
235 ehdr.e_shnum = elf_half_to_cpu(ehdr.e_shnum); in read_ehdr()
236 ehdr.e_shstrndx = elf_half_to_cpu(ehdr.e_shstrndx); in read_ehdr()
347 sym->st_shndx = elf_half_to_cpu(sym->st_shndx); in read_symtabs()
/openbmc/linux/arch/x86/tools/
H A Drelocs.c332 #define elf_half_to_cpu(x) elf16_to_cpu(x) macro
385 ehdr.e_type = elf_half_to_cpu(ehdr.e_type); in read_ehdr()
386 ehdr.e_machine = elf_half_to_cpu(ehdr.e_machine); in read_ehdr()
392 ehdr.e_ehsize = elf_half_to_cpu(ehdr.e_ehsize); in read_ehdr()
393 ehdr.e_phentsize = elf_half_to_cpu(ehdr.e_phentsize); in read_ehdr()
394 ehdr.e_phnum = elf_half_to_cpu(ehdr.e_phnum); in read_ehdr()
395 ehdr.e_shentsize = elf_half_to_cpu(ehdr.e_shentsize); in read_ehdr()
396 ehdr.e_shnum = elf_half_to_cpu(ehdr.e_shnum); in read_ehdr()
397 ehdr.e_shstrndx = elf_half_to_cpu(ehdr.e_shstrndx); in read_ehdr()
546 sym->st_shndx = elf_half_to_cpu(sym->st_shndx); in read_symtabs()