summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/generic-2.6/patches/005-gcc4_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-05-30 19:38:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-05-30 19:38:38 +0000
commitaef3bd9e643498397c2ef33ba17d166e10518d85 (patch)
tree6c15064c011e398e88e169db7e9b3a0b5366aa93 /openwrt/target/linux/generic-2.6/patches/005-gcc4_fix.patch
parent5b05f4a5ee5fa1dd3246350b6672d05a1aaa7f4d (diff)
downloadmtk-20170518-aef3bd9e643498397c2ef33ba17d166e10518d85.zip
mtk-20170518-aef3bd9e643498397c2ef33ba17d166e10518d85.tar.gz
mtk-20170518-aef3bd9e643498397c2ef33ba17d166e10518d85.tar.bz2
resync with kamikaze
SVN-Revision: 3844
Diffstat (limited to 'openwrt/target/linux/generic-2.6/patches/005-gcc4_fix.patch')
-rw-r--r--openwrt/target/linux/generic-2.6/patches/005-gcc4_fix.patch14
1 files changed, 13 insertions, 1 deletions
diff --git a/openwrt/target/linux/generic-2.6/patches/005-gcc4_fix.patch b/openwrt/target/linux/generic-2.6/patches/005-gcc4_fix.patch
index 91da40a..72df581 100644
--- a/openwrt/target/linux/generic-2.6/patches/005-gcc4_fix.patch
+++ b/openwrt/target/linux/generic-2.6/patches/005-gcc4_fix.patch
@@ -179,7 +179,19 @@ diff -Nur linux-2.6.15.1/lib/Makefile linux-2.6.15.1-openwrt/lib/Makefile
sha1.o
lib-y += kobject.o kref.o kobject_uevent.o klist.o
-+lib-y += ashldi3.o ashrdi3.o lshrdi3.o
++obj-y += ashldi3.o ashrdi3.o lshrdi3.o
obj-y += sort.o parser.o halfmd4.o
+diff -Nur linux-2.6.15.1/include/asm-arm/libgcc.h linux-2.6.15.1-openwrt/include/asm-arm/libgcc.h
+--- linux-2.6.15.1/include/asm-arm/libgcc.h 1970-01-01 01:00:00.000000000 +0100
++++ linux-2.6.15.1-openwrt/include/asm-arm/libgcc.h 2006-04-12 23:01:18.000000000 +0200
+@@ -0,0 +1,8 @@
++#ifndef __ASM_LIBGCC_H
++#define __ASM_LIBGCC_H
++
++#undef ARCH_NEEDS_ashldi3
++#undef ARCH_NEEDS_ashrdi3
++#undef ARCH_NEEDS_lshrdi3
++
++#endif /* __ASM_LIBGCC_H */