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

Message ID 20191227134409.45340-1-zhangxuelei4@huawei.com
State Committed
Headers

Commit Message

Xuelei Zhang Dec. 27, 2019, 1:44 p.m. UTC
  ---
 sysdeps/aarch64/strcpy.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Adhemerval Zanella Dec. 27, 2019, 2:11 p.m. UTC | #1
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]