diff options
author | Pat Galizia <pgalizia@codeaurora.org> | 2011-02-28 11:22:03 -0500 |
---|---|---|
committer | Jessica Gonzalez <jgaona@codeaurora.org> | 2011-03-10 16:22:01 -0800 |
commit | c6758d220d5ac0cb5c6506ace11ae3ed1b11abde (patch) | |
tree | 523d3b1849215f68b8ee7de98ac9a2e669e505a9 | |
parent | f8f5d10c2346d93acd5f05e0923f2792a8e55c98 (diff) | |
download | bionic-M7630AABBQMLZA404007.zip bionic-M7630AABBQMLZA404007.tar.gz bionic-M7630AABBQMLZA404007.tar.bz2 |
Fix issue with bcopy.M8660AAABQNLYA109005M8660AAABQNLYA109003M8660AAABQNLYA109002M8660AAABQNLYA10900020M8660AAABQNLYA1090M8660AAABQNLYA1088M8655AABBQVLZA31360502M76XXTSNCJNLYA6160M76XXTSNCJNLYA6150M76XXTSNCJNLYA6140M7630AABBQMLZA404007M7630AABBQMLZA404006M7630AABBQMLZA404005M7630AABBQMLZA404004M7630AABBQMLZA404003
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.
(cherry picked from commit 99c655226468ff12c5cdf5563f74cd36962b8d60)
Change-Id: I482b2261318e18e6e2392d2f26d350c032f798b0
-rw-r--r-- | libc/arch-arm/bionic/memmove.S | 2 |
1 files changed, 1 insertions, 1 deletions
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: |