about summary refs log tree commit diff
path: root/sysdeps/sparc/sparc64/memcmp.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-04-01 23:29:52 +0000
committerUlrich Drepper <drepper@redhat.com>2004-04-01 23:29:52 +0000
commit758b215383cde2389bc73d4483e6d3202bdc6520 (patch)
tree3f0d231798ee89beee63dec508652480f812f235 /sysdeps/sparc/sparc64/memcmp.S
parent47eb6e76dab25719319c5bdc2092cd3f23c87173 (diff)
downloadglibc-758b215383cde2389bc73d4483e6d3202bdc6520.tar.gz
glibc-758b215383cde2389bc73d4483e6d3202bdc6520.tar.xz
glibc-758b215383cde2389bc73d4483e6d3202bdc6520.zip
Update.
	* include/string.h: Add libc_hidden_builtin_proto for memcmp.
	* sysdeps/generic/memcmp.c: Add libc_hidden_builtin_def.
	* sysdeps/i386/memcmp.S: Likewise.
	* sysdeps/i386/i686/memcmp.S: Likewise.
	* sysdeps/ia64/memcmp.S: Likewise.
	* sysdeps/sparc/sparc64/memcmp.S: Likewise.

	* sysdeps/unix/sysv/linux/sigprocmask.c: Include <string.h>.
Diffstat (limited to 'sysdeps/sparc/sparc64/memcmp.S')
-rw-r--r--sysdeps/sparc/sparc64/memcmp.S7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/sparc/sparc64/memcmp.S b/sysdeps/sparc/sparc64/memcmp.S
index 176e26d7d2..dbc9921769 100644
--- a/sysdeps/sparc/sparc64/memcmp.S
+++ b/sysdeps/sparc/sparc64/memcmp.S
@@ -1,6 +1,6 @@
 /* Compare two memory blocks for differences in the first COUNT bytes.
    For SPARC v9.
-   Copyright (C) 1998,1999 Free Software Foundation, Inc.
+   Copyright (C) 1998,1999, 2004 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>.
@@ -49,7 +49,7 @@ ENTRY(memcmp)
 
 	ldx		[%o0 + %o1], %g2		/* Load		Group		*/
 	add		%o0, 8, %o0			/* IEU0				*/
-2:	mov		%g1, %o3			/* IEU0		Group		*/	
+2:	mov		%g1, %o3			/* IEU0		Group		*/
 	subcc		%o2, 8, %o2			/* IEU1				*/
 
 	bl,pn		%XCC, 5f			/* CTI				*/
@@ -122,7 +122,7 @@ ENTRY(memcmp)
 11:	sllx		%g4, %g2, %o4			/* IEU0		Group		*/
 	ldxa		[%o0 + %o1] ASI_PNF, %g4	/* Load				*/
 	srlx		%g4, %g3, %o5			/* IEU0		Group		*/
-	mov		%g5, %o3			/* IEU1				*/   
+	mov		%g5, %o3			/* IEU1				*/
 
 	ldxa		[%o0] ASI_PNF, %g5		/* Load				*/
 	subcc		%o2, 8, %o2			/* IEU1		Group		*/
@@ -140,3 +140,4 @@ END(memcmp)
 
 #undef bcmp
 weak_alias(memcmp, bcmp)
+libc_hidden_builtin_def (BP_SYM (memcmp))