summaryrefslogtreecommitdiffstats
path: root/meta/packages/modutils/files/armeb.patch
blob: a26a3a24eb0180d63b7e260312bfd863e70594d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- modutils-2.4.27/include/elf_arm.h.orig	2004-09-21 18:37:00.000000000 -0400
+++ modutils-2.4.27/include/elf_arm.h	2004-09-21 18:38:18.000000000 -0400
@@ -1,7 +1,11 @@
 /* Machine-specific elf macros for ARM.  */
 
 #define ELFCLASSM	ELFCLASS32
+#ifdef __ARMEB__
+#define ELFDATAM	ELFDATA2MSB
+#else
 #define ELFDATAM	ELFDATA2LSB
+#endif
 
 #define MATCH_MACHINE(x)  (x == EM_ARM)