summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Beeler <sparksco@gmail.com>2013-08-04 21:42:38 -0600
committerPaul Beeler <sparksco@gmail.com>2013-08-04 22:04:11 -0600
commitbdc251dafdee7b1191e2f0a826e2993582dd925d (patch)
treef6f861254a7ceb6413e284301e373ffb06241d2b
parentce133c000a8eb44f6f1ea1a3006d57c55c1876e5 (diff)
downloadbionic-cm-10.1.3.zip
bionic-cm-10.1.3.tar.gz
bionic-cm-10.1.3.tar.bz2
libc: arch-arm: strlen: Illegal ARM registry entries fixedcm-10.1.3-RC2cm-10.1.3-RC1cm-10.1.3
Signed-off-by: Paul Beeler <sparksco@gmail.com> Change-Id: I52d7e95a8afb8b26f55fe0bc01853a15a95e90c2
-rw-r--r--libc/arch-arm/bionic/strlen.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/libc/arch-arm/bionic/strlen.c b/libc/arch-arm/bionic/strlen.c
index 01632e3..ca0669d 100644
--- a/libc/arch-arm/bionic/strlen.c
+++ b/libc/arch-arm/bionic/strlen.c
@@ -60,52 +60,52 @@ size_t strlen(const char *s)
// We need to process 32 bytes per loop to schedule PLD properly
// and achieve the maximum bus speed.
asm(
- "ldr %[v], [ %[s] ], #4 \n"
+ "ldr %[v], [%[s]], #4 \n"
"sub %[l], %[l], %[s] \n"
"0: \n"
#if __ARM_HAVE_PLD
- "pld [ %[s], #64 ] \n"
+ "pld [%[s], #64] \n"
#endif
"sub %[t], %[v], %[mask], lsr #7\n"
"and %[t], %[t], %[mask] \n"
"bics %[t], %[t], %[v] \n"
- "ldreq %[v], [ %[s] ], #4 \n"
+ "ldreq %[v], [%[s]], #4 \n"
#if !defined(__OPTIMIZE_SIZE__)
"bne 1f \n"
"sub %[t], %[v], %[mask], lsr #7\n"
"and %[t], %[t], %[mask] \n"
"bics %[t], %[t], %[v] \n"
- "ldreq %[v], [ %[s] ], #4 \n"
+ "ldreq %[v], [%[s]], #4 \n"
"bne 1f \n"
"sub %[t], %[v], %[mask], lsr #7\n"
"and %[t], %[t], %[mask] \n"
"bics %[t], %[t], %[v] \n"
- "ldreq %[v], [ %[s] ], #4 \n"
+ "ldreq %[v], [%[s]], #4 \n"
"bne 1f \n"
"sub %[t], %[v], %[mask], lsr #7\n"
"and %[t], %[t], %[mask] \n"
"bics %[t], %[t], %[v] \n"
- "ldreq %[v], [ %[s] ], #4 \n"
+ "ldreq %[v], [%[s]], #4 \n"
"bne 1f \n"
"sub %[t], %[v], %[mask], lsr #7\n"
"and %[t], %[t], %[mask] \n"
"bics %[t], %[t], %[v] \n"
- "ldreq %[v], [ %[s] ], #4 \n"
+ "ldreq %[v], [%[s]], #4 \n"
"bne 1f \n"
"sub %[t], %[v], %[mask], lsr #7\n"
"and %[t], %[t], %[mask] \n"
"bics %[t], %[t], %[v] \n"
- "ldreq %[v], [ %[s] ], #4 \n"
+ "ldreq %[v], [%[s]], #4 \n"
"bne 1f \n"
"sub %[t], %[v], %[mask], lsr #7\n"
"and %[t], %[t], %[mask] \n"
"bics %[t], %[t], %[v] \n"
- "ldreq %[v], [ %[s] ], #4 \n"
+ "ldreq %[v], [%[s]], #4 \n"
"bne 1f \n"
"sub %[t], %[v], %[mask], lsr #7\n"
"and %[t], %[t], %[mask] \n"
"bics %[t], %[t], %[v] \n"
- "ldreq %[v], [ %[s] ], #4 \n"
+ "ldreq %[v], [%[s]], #4 \n"
#endif
"beq 0b \n"
"1: \n"