From 758b215383cde2389bc73d4483e6d3202bdc6520 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 1 Apr 2004 23:29:52 +0000 Subject: 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 . --- sysdeps/sparc/sparc64/memcmp.S | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sysdeps/sparc/sparc64') 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 and Jakub Jelinek . @@ -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)) -- cgit v1.2.3