mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
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>.
This commit is contained in:
@ -1,5 +1,14 @@
|
||||
2004-04-01 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* 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>.
|
||||
|
||||
* time/difftime.c (__difftime): New renamed. Make old name alias.
|
||||
Use __difftime in recursive call.
|
||||
|
||||
|
@ -83,6 +83,7 @@ libc_hidden_proto (__strxfrm_l)
|
||||
|
||||
libc_hidden_builtin_proto (memchr)
|
||||
libc_hidden_builtin_proto (memcpy)
|
||||
libc_hidden_builtin_proto (memcmp)
|
||||
libc_hidden_builtin_proto (memmove)
|
||||
libc_hidden_builtin_proto (memset)
|
||||
libc_hidden_builtin_proto (strcat)
|
||||
|
@ -1,4 +1,5 @@
|
||||
/* Copyright (C) 1991,1993,1995,1997,1998,2003 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991,1993,1995,1997,1998,2003,2004
|
||||
Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Torbjorn Granlund (tege@sics.se).
|
||||
|
||||
@ -381,7 +382,7 @@ memcmp (s1, s2, len)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
libc_hidden_builtin_def(memcmp)
|
||||
#ifdef weak_alias
|
||||
# undef bcmp
|
||||
weak_alias (memcmp, bcmp)
|
||||
|
@ -391,3 +391,4 @@ END (BP_SYM (memcmp))
|
||||
|
||||
#undef bcmp
|
||||
weak_alias (BP_SYM (memcmp), BP_SYM (bcmp))
|
||||
libc_hidden_builtin_def (BP_SYM (memcmp))
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Compare two memory blocks for differences in the first COUNT bytes.
|
||||
Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
|
||||
Copyright (C) 1995, 1996, 1997, 2000, 2004 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -73,3 +73,4 @@ END (BP_SYM (memcmp))
|
||||
|
||||
#undef bcmp
|
||||
weak_alias (BP_SYM (memcmp), BP_SYM (bcmp))
|
||||
libc_hidden_builtin_def (BP_SYM (memcmp))
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* Optimized version of the standard memcmp() function.
|
||||
This file is part of the GNU C Library.
|
||||
Copyright (C) 2000, 2001 Free Software Foundation, Inc.
|
||||
Copyright (C) 2000, 2001, 2004 Free Software Foundation, Inc.
|
||||
Contributed by Dan Pop <Dan.Pop@cern.ch>.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -162,3 +162,4 @@ ENTRY(memcmp)
|
||||
END(memcmp)
|
||||
|
||||
weak_alias (memcmp, bcmp)
|
||||
libc_hidden_builtin_def (BP_SYM (memcmp))
|
||||
|
@ -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>.
|
||||
@ -140,3 +140,4 @@ END(memcmp)
|
||||
|
||||
#undef bcmp
|
||||
weak_alias(memcmp, bcmp)
|
||||
libc_hidden_builtin_def (BP_SYM (memcmp))
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1997,1998,1999,2000,2001,2003 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1997-2001,2003,2004 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -18,6 +18,7 @@
|
||||
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
#include <string.h> /* Neede for string function builtin redirection. */
|
||||
#include <unistd.h>
|
||||
|
||||
#include <sysdep.h>
|
||||
|
Reference in New Issue
Block a user