blob: 8c90ea6002c928c8caf24dc5e8742b8135ccc79e [file] [log] [blame]
#include <endian.h>
#if __BYTE_ORDER == __LITTLE_ENDIAN
#define HOST_ELFDATA ELFDATA2LSB
#elif __BYTE_ORDER == __BIG_ENDIAN
#define HOST_ELFDATA ELFDATA2MSB
#endif