Chromium Code Reviews| Index: newlib/libc/machine/arm/strcpy.c |
| diff --git a/newlib/libc/machine/arm/strcpy.c b/newlib/libc/machine/arm/strcpy.c |
| index 6ab3dbd7e9c5d98571410e3ea0f6d35ea25bdd8d..91f6959ec9957b31db777e1dbeecb6f4ccff62f2 100644 |
| --- a/newlib/libc/machine/arm/strcpy.c |
| +++ b/newlib/libc/machine/arm/strcpy.c |
| @@ -142,7 +142,9 @@ strcpy (char* dst, const char* src) |
| "tstne r2, #0xff\n\t" |
| #else |
| "tst r2, #0xff\n\t" |
| +#ifdef __thumb2__ |
|
JF
2014/12/16 17:17:00
This should be the same guard as SFI_BREG, since i
Derek Schuff
2014/12/16 18:44:34
Done.
|
| "itet ne\n\t" |
| +#endif |
| SFI_BREG (ip) |
| "strneh r2, [ip], #2\n\t" |
| SFI_BREG (ip) |