From 7e7d6c48a064af82f0ec39f47b9eb803a6e1df4c Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Mon, 19 Oct 2009 16:34:38 -0700 Subject: [PATCH] use local symbols in memset so it doesn't screw up profiling --- libc/arch-arm/bionic/memset.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libc/arch-arm/bionic/memset.S b/libc/arch-arm/bionic/memset.S index d52d6224b..93abe15a2 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