Patchwork [2/2] aarch64: Modify error-shown comments for strcpy

login
register
mail settings
Submitter Xuelei Zhang
Date Dec. 27, 2019, 1:44 p.m.
Message ID <20191227134409.45340-1-zhangxuelei4@huawei.com>
Download mbox | patch
Permalink /patch/37098/
State New
Headers show

Comments

Xuelei Zhang - Dec. 27, 2019, 1:44 p.m.
---
 sysdeps/aarch64/strcpy.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Adhemerval Zanella Netto - Dec. 27, 2019, 2:11 p.m.
LGTM, I will push it upstream.

On 27/12/2019 10:44, Xuelei Zhang wrote:
> ---
>  sysdeps/aarch64/strcpy.S | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sysdeps/aarch64/strcpy.S b/sysdeps/aarch64/strcpy.S
> index 791644c0b2c..0de307fbd98 100644
> --- a/sysdeps/aarch64/strcpy.S
> +++ b/sysdeps/aarch64/strcpy.S
> @@ -232,7 +232,7 @@ L(entry_no_page_cross):
>  #ifdef __AARCH64EB__
>  	rev64	datav.16b, datav.16b
>  #endif
> -	/* ���loc */
> +	/* calculate the loc value */
>  	cmeq	datav.16b, datav.16b, #0
>  	mov	data1, datav.d[0]
>  	mov	data2, datav.d[1]
>

Patch

diff --git a/sysdeps/aarch64/strcpy.S b/sysdeps/aarch64/strcpy.S
index 791644c0b2c..0de307fbd98 100644
--- a/sysdeps/aarch64/strcpy.S
+++ b/sysdeps/aarch64/strcpy.S
@@ -232,7 +232,7 @@  L(entry_no_page_cross):
 #ifdef __AARCH64EB__
 	rev64	datav.16b, datav.16b
 #endif
-	/* ���loc */
+	/* calculate the loc value */
 	cmeq	datav.16b, datav.16b, #0
 	mov	data1, datav.d[0]
 	mov	data2, datav.d[1]