summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorEric Andersen2001-05-24 14:16:28 +0000
committerEric Andersen2001-05-24 14:16:28 +0000
commit5a9d441b2cfb4f3614971f918bb69b5e7a5ea2c9 (patch)
treeb6b30a570093f5a6a57b5bd8317687b5ee9ee0b3 /modutils
parent1c1f5d30477e9c845c1d08b2390bd889f6b1d018 (diff)
downloadbusybox-5a9d441b2cfb4f3614971f918bb69b5e7a5ea2c9.zip
busybox-5a9d441b2cfb4f3614971f918bb69b5e7a5ea2c9.tar.gz
Fix up some signed char vs int issues that show up on powerpc.
Diffstat (limited to 'modutils')
-rw-r--r--modutils/insmod.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 5e51fcb..4ca28bb 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -130,7 +130,7 @@
#ifndef MODUTILS_MODULE_H
static const int MODUTILS_MODULE_H = 1;
-#ident "$Id: insmod.c,v 1.64 2001/05/21 16:09:18 andersen Exp $"
+#ident "$Id: insmod.c,v 1.65 2001/05/24 14:16:28 andersen Exp $"
/* This file contains the structures used by the 2.0 and 2.1 kernels.
We do not use the kernel headers directly because we do not wish
@@ -347,7 +347,7 @@ int delete_module(const char *);
#ifndef MODUTILS_OBJ_H
static const int MODUTILS_OBJ_H = 1;
-#ident "$Id: insmod.c,v 1.64 2001/05/21 16:09:18 andersen Exp $"
+#ident "$Id: insmod.c,v 1.65 2001/05/24 14:16:28 andersen Exp $"
/* The relocatable object is manipulated using elfin types. */
@@ -374,8 +374,6 @@ static const int MODUTILS_OBJ_H = 1;
#if (defined(__m68k__))
#define ELFDATAM ELFDATA2MSB
-#else
-#define ELFDATAM ELFDATA2LSB
#endif
@@ -399,7 +397,7 @@ static const int MODUTILS_OBJ_H = 1;
#define MATCH_MACHINE(x) (x == EM_PPC)
#define SHT_RELM SHT_RELA
#define Elf32_RelM Elf32_Rela
-#define ELFDATAM ELFDATA2MSB
+#define ELFDATAM ELFDATA2MSB
#elif defined(__mips__)