svn commit: trunk/busybox/modutils

lethal at busybox.net lethal at busybox.net
Fri Sep 12 09:19:41 UTC 2008


Author: lethal
Date: 2008-09-12 02:19:40 -0700 (Fri, 12 Sep 2008)
New Revision: 23385

Log:
Kill off bogus #error's for big endian SH targets, these work fine.



Modified:
   trunk/busybox/modutils/insmod.c


Changeset:
Modified: trunk/busybox/modutils/insmod.c
===================================================================
--- trunk/busybox/modutils/insmod.c	2008-09-11 19:51:11 UTC (rev 23384)
+++ trunk/busybox/modutils/insmod.c	2008-09-12 09:19:40 UTC (rev 23385)
@@ -257,16 +257,7 @@
 #define USE_GOT_ENTRIES
 #define GOT_ENTRY_SIZE 4
 #define USE_SINGLE
-/* the SH changes have only been tested in =little endian= mode */
-/* I'm not sure about big endian, so let's warn: */
-#if defined(__sh__) && BB_BIG_ENDIAN
-# error insmod.c may require changes for use on big endian SH
 #endif
-/* it may or may not work on the SH1/SH2... Error on those also */
-#if ((!(defined(__SH3__) || defined(__SH4__) || defined(__SH5__)))) && (defined(__sh__))
-#error insmod.c may require changes for SH1 or SH2 use
-#endif
-#endif
 
 /* Sparc */
 #if defined(__sparc__)




More information about the busybox-cvs mailing list