diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2bc44a9ef4bd..ce3514b41fcc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -2,6 +2,8 @@ Sun Jan 17 21:04:31 1999 Richard Henderson * jump.c (rtx_renumbered_equal_p): Special case CODE_LABEL. + * system.h (bcopy): Implement with memmove not memcpy. + Sun Jan 17 19:23:20 1999 Jeffrey A Law (law@cygnus.com) * Makefile.in (cppulp.o): Add dependencies. diff --git a/gcc/system.h b/gcc/system.h index 12c0a775d6ee..4e11218c77f9 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -220,7 +220,7 @@ extern int errno; extern void bcopy (); # endif # else /* ! HAVE_BCOPY */ -# define bcopy(src,dst,len) memcpy ((dst),(src),(len)) +# define bcopy(src,dst,len) memmove((dst),(src),(len)) # endif #endif