summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2013-02-22 11:53:43 -0800
committerSteve Kondik <shade@chemlab.org>2013-02-22 11:53:43 -0800
commitc8c796633fa81a94899f1966ef74d026b41ab2fe (patch)
tree59c3848d306f0ab9f3dc924f982d8e07d6415001
parent5b11f41dcefa665fff2764c0e7d32b4354db677b (diff)
downloadbionic-c8c796633fa81a94899f1966ef74d026b41ab2fe.zip
bionic-c8c796633fa81a94899f1966ef74d026b41ab2fe.tar.gz
bionic-c8c796633fa81a94899f1966ef74d026b41ab2fe.tar.bz2
libc: Fix invalid macro
Change-Id: Ia0c1d81cecb2f05834842bf3e6a3cc9cb06e00c9
-rw-r--r--libc/arch-arm/bionic/strcmp.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/libc/arch-arm/bionic/strcmp.S b/libc/arch-arm/bionic/strcmp.S
index 31f6123..8f1b725 100644
--- a/libc/arch-arm/bionic/strcmp.S
+++ b/libc/arch-arm/bionic/strcmp.S
@@ -83,7 +83,7 @@ strcmp:
cmpcs r2, r3
beq 1b
subs r0, r2, r3
- RETURN
+ bx lr
#elif (__ARM_ARCH__ >= 6)
@@ -504,7 +504,7 @@ compute_return_value:
#ifndef __thumb2__
ldr r4, [sp], #4
#endif
- RETURN
+ bx lr
strcmp_unaligned:
@@ -622,7 +622,7 @@ strcmp_unaligned:
cmpcs r2, r3
beq 1b
sub r0, r2, r3
- RETURN
+ bx lr
2:
str r5, [sp, #-4]!
@@ -766,7 +766,7 @@ strcmp_unaligned:
//ldmfd sp!, {r4, r5}
ldr r4, [sp], #4
ldr r5, [sp], #4
- RETURN
+ bx lr
8:
and r2, t1, LSB
and r0, w2, LSB
@@ -781,7 +781,7 @@ strcmp_unaligned:
//ldmfd sp!, {r4, r5}
ldr r4, [sp], #4
ldr r5, [sp], #4
- RETURN
+ bx lr
#endif /* !(defined (_ISA_THUMB_2) || defined (_ISA_ARM_6)
defined (__OPTIMIZE_SIZE__) || defined (PREFER_SIZE_OVER_SPEED) ||