summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/generic-2.6/patches/005-gcc4_fix.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2006-02-03 08:11:53 +0000
committerNicolas Thill <nico@openwrt.org>2006-02-03 08:11:53 +0000
commit1d2c69b522a347fa22aad2018638cd2833cb8df8 (patch)
tree22b42622d26ebf30df8f8dde0bcd40f6ce912376 /openwrt/target/linux/generic-2.6/patches/005-gcc4_fix.patch
parent25c3e17436068c7d949bcbd5b3fe6e623e683215 (diff)
downloadmtk-20170518-1d2c69b522a347fa22aad2018638cd2833cb8df8.zip
mtk-20170518-1d2c69b522a347fa22aad2018638cd2833cb8df8.tar.gz
mtk-20170518-1d2c69b522a347fa22aad2018638cd2833cb8df8.tar.bz2
fix x86-2.6 build
SVN-Revision: 3118
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.patch12
1 files changed, 12 insertions, 0 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 ff1f4be..91da40a 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
@@ -1,3 +1,15 @@
+diff -ruN linux-2.6.15.1/include/asm-i386/libgcc.h linux-2.6.15.1-openwrt/include/asm-i386/libgcc.h
+--- linux-2.6.15.1/include/asm-i386/libgcc.h 1970-01-01 01:00:00.000000000 +0100
++++ linux-2.6.15.1-openwrt/include/asm-i386/libgcc.h 2006-02-01 15:47:53.000000000 +0100
+@@ -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 */
diff -Nur linux-2.6.15.1/include/asm-mips/libgcc.h linux-2.6.15.1-openwrt/include/asm-mips/libgcc.h
--- linux-2.6.15.1/include/asm-mips/libgcc.h 1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.15.1-openwrt/include/asm-mips/libgcc.h 2006-01-20 10:32:28.000000000 +0100