d1152b
--- binutils.orig/libiberty/sha1.c	2021-05-07 10:47:11.572773217 +0100
d1152b
+++ binutils-2.35.2/libiberty/sha1.c	2021-05-07 10:47:16.014741009 +0100
d1152b
@@ -258,7 +258,7 @@ sha1_process_bytes (const void *buffer,
d1152b
 	{
d1152b
 	  sha1_process_block (ctx->buffer, 64, ctx);
d1152b
 	  left_over -= 64;
d1152b
-	  memcpy (ctx->buffer, &ctx->buffer[16], left_over);
d1152b
+	  memmove (ctx->buffer, &ctx->buffer[16], left_over);
d1152b
 	}
d1152b
       ctx->buflen = left_over;
d1152b
     }