diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-09-12 09:19:40 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-09-12 09:19:40 +0000 |
commit | 70de57f60a39d167870f3f59f2fa3f606e965239 (patch) | |
tree | ca2f4e2b5c896545c3b701b0e50a9da2deb7d586 | |
parent | 08ea11ab0749a7977e6d47cd0fa7b3c9cc10af32 (diff) | |
download | busybox-w32-70de57f60a39d167870f3f59f2fa3f606e965239.tar.gz busybox-w32-70de57f60a39d167870f3f59f2fa3f606e965239.tar.bz2 busybox-w32-70de57f60a39d167870f3f59f2fa3f606e965239.zip |
Kill off bogus #error's for big endian SH targets, these work fine.
-rw-r--r-- | modutils/insmod.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c index 80dbfd78e..f1bb4cdec 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c | |||
@@ -257,15 +257,6 @@ static int insmod_ng_main(int argc, char **argv); | |||
257 | #define USE_GOT_ENTRIES | 257 | #define USE_GOT_ENTRIES |
258 | #define GOT_ENTRY_SIZE 4 | 258 | #define GOT_ENTRY_SIZE 4 |
259 | #define USE_SINGLE | 259 | #define USE_SINGLE |
260 | /* the SH changes have only been tested in =little endian= mode */ | ||
261 | /* I'm not sure about big endian, so let's warn: */ | ||
262 | #if defined(__sh__) && BB_BIG_ENDIAN | ||
263 | # error insmod.c may require changes for use on big endian SH | ||
264 | #endif | ||
265 | /* it may or may not work on the SH1/SH2... Error on those also */ | ||
266 | #if ((!(defined(__SH3__) || defined(__SH4__) || defined(__SH5__)))) && (defined(__sh__)) | ||
267 | #error insmod.c may require changes for SH1 or SH2 use | ||
268 | #endif | ||
269 | #endif | 260 | #endif |
270 | 261 | ||
271 | /* Sparc */ | 262 | /* Sparc */ |