SOURCES: busybox-sparc64_fixes.patch (NEW) - EM_SPARC64 is not def...

sparky sparky at pld-linux.org
Sat Oct 28 17:55:46 CEST 2006


Author: sparky                       Date: Sat Oct 28 15:55:46 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- EM_SPARC64 is not defined, kill it

---- Files affected:
SOURCES:
   busybox-sparc64_fixes.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/busybox-sparc64_fixes.patch
diff -u /dev/null SOURCES/busybox-sparc64_fixes.patch:1.1
--- /dev/null	Sat Oct 28 17:55:46 2006
+++ SOURCES/busybox-sparc64_fixes.patch	Sat Oct 28 17:55:41 2006
@@ -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
================================================================


More information about the pld-cvs-commit mailing list