Package: modutils Version: 2.4.27.0-3 Severity: wishlist Tags: patch The attached patch teaches the modutils package about the armeb (big-endian arm) architecture, allowing it to load kernel modules on linux 2.4 armeb systems.
-- System Information: Debian Release: 3.1 Architecture: armeb (armv5teb) Kernel: Linux 2.6.13 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages modutils depends on: ii libc6 2.3.5-6 GNU C Library: Shared libraries an ii sysvinit 2.86.ds1-1 System-V like init -- no debconf information
--- modutils-2.4.27.0/include/elf_arm.h.orig 2002-03-01 01:39:06.000000000 +0100 +++ modutils-2.4.27.0/include/elf_arm.h 2005-10-12 21:44:03.000000000 +0200 @@ -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)

