svn commit: trunk/busybox/modutils

vapier at busybox.net vapier at busybox.net
Wed Sep 14 00:07:34 UTC 2005


Author: vapier
Date: 2005-09-13 17:07:26 -0700 (Tue, 13 Sep 2005)
New Revision: 11453

Log:
initial ppc64 support

Modified:
   trunk/busybox/modutils/insmod.c


Changeset:
Modified: trunk/busybox/modutils/insmod.c
===================================================================
--- trunk/busybox/modutils/insmod.c	2005-09-14 00:03:23 UTC (rev 11452)
+++ trunk/busybox/modutils/insmod.c	2005-09-14 00:07:26 UTC (rev 11453)
@@ -218,7 +218,12 @@
 #endif
 
 /* PowerPC */
-#if defined(__powerpc__)
+#if defined(__powerpc64__)
+#define MATCH_MACHINE(x) (x == EM_PPC64)
+#define SHT_RELM	SHT_RELA
+#define Elf64_RelM	Elf64_Rela
+#define ELFCLASSM	ELFCLASS64
+#elif defined(__powerpc__)
 #define MATCH_MACHINE(x) (x == EM_PPC)
 #define SHT_RELM	SHT_RELA
 #define Elf32_RelM	Elf32_Rela




More information about the busybox-cvs mailing list