patch-1.3.50 linux/arch/alpha/lib/memcpy.c

Next file: linux/arch/alpha/lib/memset.c
Previous file: linux/arch/alpha/lib/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.49/linux/arch/alpha/lib/memcpy.c linux/arch/alpha/lib/memcpy.c
@@ -123,3 +123,9 @@
 	__memcpy(dest, src, n);
 	return dest;
 }
+
+/*
+ * gcc-2.7.1 and newer generate calls to memset and memcpy.  So we
+ * need to define that here:
+ */
+asm (".weakext memcpy, __memcpy");

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this