From 99c655226468ff12c5cdf5563f74cd36962b8d60 Mon Sep 17 00:00:00 2001 From: Pat Galizia Date: Mon, 28 Feb 2011 11:22:03 -0500 Subject: Fix issue with bcopy. The initial bcopy replacement copies the destination register to both arguments, so that the copy drops through and nothing is done. This modifies the register switch such that it now functions properly. Change-Id: I91da6bdbfd6295da32ec3131cc6fe5b18cd9e3ad --- libc/arch-arm/bionic/memmove.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc') diff --git a/libc/arch-arm/bionic/memmove.S b/libc/arch-arm/bionic/memmove.S index d68b142..1234195 100644 --- a/libc/arch-arm/bionic/memmove.S +++ b/libc/arch-arm/bionic/memmove.S @@ -63,7 +63,7 @@ .type bcopy, %function bcopy: - mov r12, r1 + mov r12, r0 mov r0, r1 mov r1, r12 memmove: -- cgit v1.1