]> git.pld-linux.org Git - packages/busybox.git/blob - busybox-insmod-morearchs.patch
rel 8; enable builtin sleep for initrd
[packages/busybox.git] / busybox-insmod-morearchs.patch
1 --- busybox-1.2.0/modutils/modutils-24.c.orig   2006-07-01 00:42:04.000000000 +0200
2 +++ busybox-1.2.0/modutils/modutils-24.c        2006-07-20 19:42:23.188629500 +0200
3 @@ -249,7 +249,17 @@
4  #endif
5  
6  /* S390 */
7 -#if defined(__s390__)
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
22 @@ -283,10 +293,17 @@
23  
24  /* Sparc */
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
31 +#  else
32  #define MATCH_MACHINE(x) (x == EM_SPARC)
33  #define SHT_RELM       SHT_RELA
34  #define Elf32_RelM     Elf32_Rela
35  #define ELFCLASSM      ELFCLASS32
36 +#  endif
37  #endif
38  
39  /* v850e */
This page took 0.143788 seconds and 3 git commands to generate.