summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-10-19 16:34:38 -0700
committerMathias Agopian <mathias@google.com>2009-10-19 16:34:38 -0700
commit7e7d6c48a064af82f0ec39f47b9eb803a6e1df4c (patch)
tree08bb1fdfb2b20de55936bec7bd3844cef997e955
parentff7b46b87c4d85881d88c2105a94be6c6accb628 (diff)
downloadbionic-7e7d6c48a064af82f0ec39f47b9eb803a6e1df4c.zip
bionic-7e7d6c48a064af82f0ec39f47b9eb803a6e1df4c.tar.gz
bionic-7e7d6c48a064af82f0ec39f47b9eb803a6e1df4c.tar.bz2
use local symbols in memset so it doesn't screw up profiling
-rw-r--r--libc/arch-arm/bionic/memset.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/arch-arm/bionic/memset.S b/libc/arch-arm/bionic/memset.S
index d52d622..93abe15 100644
--- a/libc/arch-arm/bionic/memset.S
+++ b/libc/arch-arm/bionic/memset.S
@@ -80,7 +80,7 @@ memset:
rsb r3, r0, #0
ands r3, r3, #0x1C
- beq aligned32
+ beq 3f
cmp r3, r2
andhi r3, r2, #0x1C
sub r2, r2, r3
@@ -93,7 +93,7 @@ memset:
movs r3, r3, lsl #2
strcs r1, [r0], #4
-aligned32:
+3:
subs r2, r2, #32
mov r3, r1
bmi 2f