svn commit: branches/busybox_1_00_stable/busybox/modutils

vapier at busybox.net vapier at busybox.net
Wed Sep 14 00:03:25 UTC 2005


Author: vapier
Date: 2005-09-13 17:03:23 -0700 (Tue, 13 Sep 2005)
New Revision: 11452

Log:
merge alpha/parisc support from trunk

Modified:
   branches/busybox_1_00_stable/busybox/modutils/insmod.c


Changeset:
Modified: branches/busybox_1_00_stable/busybox/modutils/insmod.c
===================================================================
--- branches/busybox_1_00_stable/busybox/modutils/insmod.c	2005-09-13 22:20:37 UTC (rev 11451)
+++ branches/busybox_1_00_stable/busybox/modutils/insmod.c	2005-09-14 00:03:23 UTC (rev 11452)
@@ -109,6 +109,14 @@
 #endif
 
 
+/* Alpha */
+#if defined(__alpha__)   
+#define MATCH_MACHINE(x) (x == EM_ALPHA)
+#define SHT_RELM       SHT_RELA
+#define Elf64_RelM     Elf64_Rela
+#define ELFCLASSM      ELFCLASS64
+#endif
+
 /* ARM support */
 #if defined(__arm__)
 #define MATCH_MACHINE(x) (x == EM_ARM)
@@ -135,6 +143,19 @@
 #endif
 #endif
 
+/* PA-RISC / HP-PA */
+#if defined(__hppa__)
+#define MATCH_MACHINE(x) (x == EM_PARISC)
+#define SHT_RELM       SHT_RELA
+#if defined(__LP64__)
+#define Elf64_RelM     Elf64_Rela
+#define ELFCLASSM      ELFCLASS64
+#else
+#define Elf32_RelM     Elf32_Rela
+#define ELFCLASSM      ELFCLASS32
+#endif
+#endif
+
 /* H8/300 */
 #if defined(__H8300H__) || defined(__H8300S__)
 #define MATCH_MACHINE(x) (x == EM_H8_300)




More information about the busybox-cvs mailing list