]> git.pld-linux.org Git - packages/busybox.git/commitdiff
- EM_SPARC64 is not defined, kill it
authorsparky <sparky@pld-linux.org>
Sat, 28 Oct 2006 15:55:41 +0000 (15:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    busybox-sparc64_fixes.patch -> 1.1

busybox-sparc64_fixes.patch [new file with mode: 0644]

diff --git a/busybox-sparc64_fixes.patch b/busybox-sparc64_fixes.patch
new file mode 100644 (file)
index 0000000..1b7e344
--- /dev/null
@@ -0,0 +1,12 @@
+diff -Nur busybox-1.2.2/modutils/insmod.c busybox-1.2.2.sparc64_fixes/modutils/insmod.c
+--- busybox-1.2.2/modutils/insmod.c    2006-10-28 18:53:12.000000000 +0300
++++ busybox-1.2.2.sparc64_fixes/modutils/insmod.c      2006-10-28 18:53:13.000000000 +0300
+@@ -294,7 +294,7 @@
+ /* Sparc */
+ #if defined(__sparc__)
+ #  if defined(__arch64__)
+-#define MATCH_MACHINE(x) ((x) == EM_SPARCV9 || (x) == EM_SPARC64)
++#define MATCH_MACHINE(x) ((x) == EM_SPARCV9 )
+ #define SHT_RELM       SHT_RELA
+ #define Elf64_RelM     Elf64_Rela
+ #define ELFCLASSM      ELFCLASS64
This page took 0.046187 seconds and 4 git commands to generate.