diff options
author | Pat Galizia <pgalizia@codeaurora.org> | 2011-02-28 11:22:03 -0500 |
---|---|---|
committer | Pat Galizia <pgalizia@codeaurora.org> | 2011-02-28 11:22:03 -0500 |
commit | 99c655226468ff12c5cdf5563f74cd36962b8d60 (patch) | |
tree | 286dd28ed579e23ce9e796090ebde50c3a20da6a | |
parent | 77e312b6535456180f3b77a9d998a58d192ac07f (diff) | |
download | bionic-99c655226468ff12c5cdf5563f74cd36962b8d60.zip bionic-99c655226468ff12c5cdf5563f74cd36962b8d60.tar.gz bionic-99c655226468ff12c5cdf5563f74cd36962b8d60.tar.bz2 |
Fix issue with bcopy.M8660AAABQNLZA312001M7630AABBQMLZA4120
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
-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: |