diff options
author | Richard Henderson <rth@cygnus.com> | 1999-01-17 13:06:36 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-01-17 13:06:36 -0800 |
commit | b3c9dc1aead8d6085fd8cdd314bdd9a35aa09815 (patch) | |
tree | 553506c5c57dc22cc538c94df3d6fc6626ad8d12 /gcc | |
parent | ef2b940d6c50420bea962f022bfc7218eec612ed (diff) | |
download | gcc-b3c9dc1aead8d6085fd8cdd314bdd9a35aa09815.zip gcc-b3c9dc1aead8d6085fd8cdd314bdd9a35aa09815.tar.gz gcc-b3c9dc1aead8d6085fd8cdd314bdd9a35aa09815.tar.bz2 |
* system.h (bcopy): Implement with memmove not memcpy.
From-SVN: r24727
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/system.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2bc44a9..ce3514b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -2,6 +2,8 @@ Sun Jan 17 21:04:31 1999 Richard Henderson <rth@cygnus.com> * 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 12c0a77..4e11218 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 |