aboutsummaryrefslogtreecommitdiff
path: root/modutils/insmod.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-07-14 21:29:35 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-07-14 21:29:35 +0000
commit09ce45fd10c53b27023ebad7e9bc25cb68b3f06b (patch)
tree79c7e8bb7e3661f8ae4d32cee105f9d7fcc5aa2a /modutils/insmod.c
parent757361f9f58e120ddb9855fa0f50e12b921c37f0 (diff)
downloadbusybox-09ce45fd10c53b27023ebad7e9bc25cb68b3f06b.tar.gz
insmod: users report that "|| defined(__powerpc__)" is missing
Diffstat (limited to 'modutils/insmod.c')
-rw-r--r--modutils/insmod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 3b5545118..77d36e160 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -840,7 +840,8 @@ arch_apply_relocation(struct obj_file *f,
ElfW(RelM) *rel, ElfW(Addr) v)
{
#if defined(__arm__) || defined(__i386__) || defined(__mc68000__) \
- || defined(__sh__) || defined(__s390__) || defined(__x86_64__)
+ || defined(__sh__) || defined(__s390__) || defined(__x86_64__) \
+ || defined(__powerpc__)
struct arch_file *ifile = (struct arch_file *) f;
#endif
enum obj_reloc ret = obj_reloc_ok;