patch-1.3.50 linux/arch/alpha/lib/memset.c
Next file: linux/arch/alpha/math-emu/Makefile
Previous file: linux/arch/alpha/lib/memcpy.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Fri Dec 22 08:22:05 1995
- Orig file:
v1.3.49/linux/arch/alpha/lib/memset.c
- Orig date:
Fri Jul 7 08:54:44 1995
diff -u --recursive --new-file v1.3.49/linux/arch/alpha/lib/memset.c linux/arch/alpha/lib/memset.c
@@ -38,3 +38,9 @@
__constant_c_memset(s,0x0101010101010101UL * (unsigned char) c, count);
return s;
}
+
+/*
+ * gcc-2.7.1 and newer generate calls to memset and memcpy. So we
+ * need to define that here:
+ */
+asm (".weakext memset, __memset");
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