Last active
September 22, 2019 12:24
-
-
Save eblot/b4adff9922a19efc7f7cbce83c5da482 to your computer and use it in GitHub Desktop.
Workaround for https://bugs.llvm.org/show_bug.cgi?id=43382
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/newlib/libc/machine/arm/strlen-thumb2-Os.S b/newlib/libc/machine/arm/strlen-thumb2-Os.S | |
index 961f41a0a..7a8b3d93b 100644 | |
--- a/newlib/libc/machine/arm/strlen-thumb2-Os.S | |
+++ b/newlib/libc/machine/arm/strlen-thumb2-Os.S | |
@@ -45,7 +45,7 @@ | |
def_fn strlen p2align=1 | |
mov r3, r0 | |
-1: ldrb.w r2, [r3], #1 | |
+1: ldrb r2, [r3], #1 | |
cmp r2, #0 | |
bne 1b | |
subs r0, r3, r0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment