summaryrefslogtreecommitdiff
path: root/tools/objtool/arch/x86/include/arch/endianness.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/objtool/arch/x86/include/arch/endianness.h')
-rw-r--r--tools/objtool/arch/x86/include/arch/endianness.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/objtool/arch/x86/include/arch/endianness.h b/tools/objtool/arch/x86/include/arch/endianness.h
new file mode 100644
index 000000000000..7c362527da20
--- /dev/null
+++ b/tools/objtool/arch/x86/include/arch/endianness.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+#ifndef _ARCH_ENDIANNESS_H
+#define _ARCH_ENDIANNESS_H
+
+#include <endian.h>
+
+#define __TARGET_BYTE_ORDER __LITTLE_ENDIAN
+
+#endif /* _ARCH_ENDIANNESS_H */