summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/modutils/files/armeb.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/modutils/files/armeb.patch')
-rw-r--r--meta/recipes-kernel/modutils/files/armeb.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/recipes-kernel/modutils/files/armeb.patch b/meta/recipes-kernel/modutils/files/armeb.patch
new file mode 100644
index 0000000000..a26a3a24eb
--- /dev/null
+++ b/meta/recipes-kernel/modutils/files/armeb.patch
@@ -0,0 +1,14 @@
1--- modutils-2.4.27/include/elf_arm.h.orig 2004-09-21 18:37:00.000000000 -0400
2+++ modutils-2.4.27/include/elf_arm.h 2004-09-21 18:38:18.000000000 -0400
3@@ -1,7 +1,11 @@
4 /* Machine-specific elf macros for ARM. */
5
6 #define ELFCLASSM ELFCLASS32
7+#ifdef __ARMEB__
8+#define ELFDATAM ELFDATA2MSB
9+#else
10 #define ELFDATAM ELFDATA2LSB
11+#endif
12
13 #define MATCH_MACHINE(x) (x == EM_ARM)
14