summaryrefslogtreecommitdiff
path: root/sysdeps/sparc/sparc64/strncpy.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/sparc64/strncpy.S')
-rw-r--r--sysdeps/sparc/sparc64/strncpy.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/sparc/sparc64/strncpy.S b/sysdeps/sparc/sparc64/strncpy.S
index d0c30c0544..da408b9a6f 100644
--- a/sysdeps/sparc/sparc64/strncpy.S
+++ b/sysdeps/sparc/sparc64/strncpy.S
@@ -2,7 +2,7 @@
null-terminated string from SRC to DST. If SRC does not cover all of
COUNT, the balance is zeroed.
For SPARC v9.
- Copyright (C) 1998-2013 Free Software Foundation, Inc.
+ Copyright (C) 1998-2014 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jan Vondrak <jvon4518@ss1000.ms.mff.cuni.cz> and
Jakub Jelinek <jj@ultra.linux.cz>.
@@ -227,7 +227,7 @@ ENTRY(strncpy)
subcc %o2, 1, %o2 /* IEU1 */
be,pn %XCC, 19f /* CTI */
srlx %o3, 16, %g5 /* IEU0 Group */
-
+
andcc %g5, 0xff, %g0 /* IEU1 Group */
be,pn %icc, 20f /* CTI */
stb %g5, [%o0] /* Store */
@@ -236,7 +236,7 @@ ENTRY(strncpy)
subcc %o2, 1, %o2 /* IEU1 */
be,pn %XCC, 19f /* CTI */
srlx %o3, 8, %g5 /* IEU0 Group */
- stb %g5, [%o0] /* Store */
+ stb %g5, [%o0] /* Store */
19: retl /* CTI+IEU1 Group */
mov %g6, %o0 /* IEU0 */