From 765c2f192cc06b4870a31fa5a028c4302001279c Mon Sep 17 00:00:00 2001 From: florian Date: Thu, 8 Oct 2009 09:09:45 +0000 Subject: [uml] remove the mempcy patch, fixes build failures on most x86_64 hosts git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17989 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/uml/patches/003-memcpy_x86_64_fix.patch | 26 ---------------------- 1 file changed, 26 deletions(-) delete mode 100644 target/linux/uml/patches/003-memcpy_x86_64_fix.patch (limited to 'target/linux/uml') diff --git a/target/linux/uml/patches/003-memcpy_x86_64_fix.patch b/target/linux/uml/patches/003-memcpy_x86_64_fix.patch deleted file mode 100644 index d7920059b..000000000 --- a/target/linux/uml/patches/003-memcpy_x86_64_fix.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- a/arch/um/os-Linux/user_syms.c -+++ b/arch/um/os-Linux/user_syms.c -@@ -23,10 +23,8 @@ extern int printf(const char *, ...); - EXPORT_SYMBOL(strstr); - #endif - --#ifndef __x86_64__ - extern void *memcpy(void *, const void *, size_t); - EXPORT_SYMBOL(memcpy); --#endif - - EXPORT_SYMBOL(memmove); - EXPORT_SYMBOL(memset); ---- a/arch/um/sys-x86_64/ksyms.c -+++ b/arch/um/sys-x86_64/ksyms.c -@@ -2,10 +2,5 @@ - #include - #include - --/*XXX: we need them because they would be exported by x86_64 */ --#if (__GNUC__ == 4 && __GNUC_MINOR__ >= 3) || __GNUC__ > 4 --EXPORT_SYMBOL(memcpy); --#else - EXPORT_SYMBOL(__memcpy); --#endif - EXPORT_SYMBOL(csum_partial); -- cgit v1.2.3