patch-2.0.11 linux/arch/alpha/lib/memcpy.c
Next file: linux/arch/alpha/lib/memset.S
Previous file: linux/arch/alpha/kernel/process.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sun Aug 4 13:37:59 1996
- Orig file:
v2.0.10/linux/arch/alpha/lib/memcpy.c
- Orig date:
Fri Dec 22 08:22:05 1995
diff -u --recursive --new-file v2.0.10/linux/arch/alpha/lib/memcpy.c linux/arch/alpha/lib/memcpy.c
@@ -128,4 +128,8 @@
* gcc-2.7.1 and newer generate calls to memset and memcpy. So we
* need to define that here:
*/
-asm (".weakext memcpy, __memcpy");
+#ifdef __ELF__
+ asm (".weak memcpy; memcpy = __memcpy");
+#else
+ asm (".weakext memcpy, __memcpy");
+#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov