aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-19 12:17:04 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-19 12:17:04 +0000
commit9e458f5b7a3a8c96dd801f8bdfcba5c8f67991ab (patch)
tree942e40798bd90a4de7e432b97254ffa47ce7d647 /modutils
parent16451a07b44773af945b52324c5c2a5c25b4e228 (diff)
downloadbusybox-9e458f5b7a3a8c96dd801f8bdfcba5c8f67991ab.tar.gz
Add missing ELFCLASSM for m68k
Diffstat (limited to 'modutils')
-rw-r--r--modutils/insmod.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index da475c968..455b1c10c 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -159,6 +159,7 @@ extern int insmod_ng_main( int argc, char **argv);
#define MATCH_MACHINE(x) (x == EM_68K)
#define SHT_RELM SHT_RELA
#define Elf32_RelM Elf32_Rela
+#define ELFCLASSM ELFCLASS32
#endif
#if defined(__mips__)
@@ -281,7 +282,7 @@ extern int insmod_ng_main( int argc, char **argv);
#ifndef MODUTILS_MODULE_H
static const int MODUTILS_MODULE_H = 1;
-#ident "$Id: insmod.c,v 1.114 2004/03/19 12:16:18 andersen Exp $"
+#ident "$Id: insmod.c,v 1.115 2004/03/19 12:17:04 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
@@ -502,7 +503,7 @@ int delete_module(const char *);
#ifndef MODUTILS_OBJ_H
static const int MODUTILS_OBJ_H = 1;
-#ident "$Id: insmod.c,v 1.114 2004/03/19 12:16:18 andersen Exp $"
+#ident "$Id: insmod.c,v 1.115 2004/03/19 12:17:04 andersen Exp $"
/* The relocatable object is manipulated using elfin types. */