summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/generic-2.6/patches
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2006-04-14 10:23:54 +0000
committerImre Kaloz <kaloz@openwrt.org>2006-04-14 10:23:54 +0000
commit25bba9554f1383e9c76a1a63eec4659c32b947cf (patch)
treec6dea87c99b5cdc72da3811f3f95227c64f5fb3c /openwrt/target/linux/generic-2.6/patches
parent9b93a39c2c52142e7200f9aee8735d5a2b7793d5 (diff)
downloadmtk-20170518-25bba9554f1383e9c76a1a63eec4659c32b947cf.zip
mtk-20170518-25bba9554f1383e9c76a1a63eec4659c32b947cf.tar.gz
mtk-20170518-25bba9554f1383e9c76a1a63eec4659c32b947cf.tar.bz2
add preliminary support for the XScale port, generic endianness indication
SVN-Revision: 3648
Diffstat (limited to 'openwrt/target/linux/generic-2.6/patches')
-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 91da40a..21d09b6 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
@@ -183,3 +183,15 @@ diff -Nur linux-2.6.15.1/lib/Makefile linux-2.6.15.1-openwrt/lib/Makefile
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 */