1 --- busybox-1.2.0/modutils/insmod.c.orig 2006-07-01 00:42:04.000000000 +0200
2 +++ busybox-1.2.0/modutils/insmod.c 2006-07-20 19:42:23.188629500 +0200
8 +#if defined(__s390x__)
9 +#define MATCH_MACHINE(x) (x == EM_S390)
10 +#define SHT_RELM SHT_RELA
11 +#define Elf64_RelM Elf64_Rela
12 +#define ELFCLASSM ELFCLASS64
13 +#define CONFIG_USE_PLT_ENTRIES
14 +#define CONFIG_PLT_ENTRY_SIZE 8
15 +#define CONFIG_USE_GOT_ENTRIES
16 +#define CONFIG_GOT_ENTRY_SIZE 8
17 +#define CONFIG_USE_SINGLE
18 +#elif defined(__s390__)
19 #define MATCH_MACHINE(x) (x == EM_S390)
20 #define SHT_RELM SHT_RELA
21 #define Elf32_RelM Elf32_Rela
25 #if defined(__sparc__)
26 +# if defined(__arch64__)
27 +#define MATCH_MACHINE(x) (x == EM_SPARCV9)
28 +#define SHT_RELM SHT_RELA
29 +#define Elf64_RelM Elf64_Rela
30 +#define ELFCLASSM ELFCLASS64
32 #define MATCH_MACHINE(x) (x == EM_SPARC)
33 #define SHT_RELM SHT_RELA
34 #define Elf32_RelM Elf32_Rela
35 #define ELFCLASSM ELFCLASS32