Searched refs:SwapHalf (Results 1 – 1 of 1) sorted by relevance
22 #define SwapHalf(a) (((a & 0x00ff) << 8) | ((a & 0xff00) >> 8)) macro26 #define SwapSection(a) SwapHalf(a)36 hdr->e_type = SwapHalf(hdr->e_type); in SwapElfHeader()37 hdr->e_machine = SwapHalf(hdr->e_machine); in SwapElfHeader()43 hdr->e_ehsize = SwapHalf(hdr->e_ehsize); in SwapElfHeader()44 hdr->e_phentsize = SwapHalf(hdr->e_phentsize); in SwapElfHeader()45 hdr->e_phnum = SwapHalf(hdr->e_phnum); in SwapElfHeader()46 hdr->e_shentsize = SwapHalf(hdr->e_shentsize); in SwapElfHeader()47 hdr->e_shnum = SwapHalf(hdr->e_shnum); in SwapElfHeader()48 hdr->e_shstrndx = SwapHalf(hdr->e_shstrndx); in SwapElfHeader()