aboutsummaryrefslogtreecommitdiff
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
parent757361f9f58e120ddb9855fa0f50e12b921c37f0 (diff)
downloadbusybox-w32-09ce45fd10c53b27023ebad7e9bc25cb68b3f06b.tar.gz
busybox-w32-09ce45fd10c53b27023ebad7e9bc25cb68b3f06b.tar.bz2
busybox-w32-09ce45fd10c53b27023ebad7e9bc25cb68b3f06b.zip
insmod: users report that "|| defined(__powerpc__)" is missing
-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,
840 ElfW(RelM) *rel, ElfW(Addr) v) 840 ElfW(RelM) *rel, ElfW(Addr) v)
841{ 841{
842#if defined(__arm__) || defined(__i386__) || defined(__mc68000__) \ 842#if defined(__arm__) || defined(__i386__) || defined(__mc68000__) \
843 || defined(__sh__) || defined(__s390__) || defined(__x86_64__) 843 || defined(__sh__) || defined(__s390__) || defined(__x86_64__) \
844 || defined(__powerpc__)
844 struct arch_file *ifile = (struct arch_file *) f; 845 struct arch_file *ifile = (struct arch_file *) f;
845#endif 846#endif
846 enum obj_reloc ret = obj_reloc_ok; 847 enum obj_reloc ret = obj_reloc_ok;