about summary refs log tree commit diff
path: root/sysdeps/i386
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/i386
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/i386')
-rw-r--r--sysdeps/i386/i686/memcmp.S1
-rw-r--r--sysdeps/i386/memcmp.S3
2 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/i386/i686/memcmp.S b/sysdeps/i386/i686/memcmp.S
index f382e807fa..ef57acdee8 100644
--- a/sysdeps/i386/i686/memcmp.S
+++ b/sysdeps/i386/i686/memcmp.S
@@ -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))
diff --git a/sysdeps/i386/memcmp.S b/sysdeps/i386/memcmp.S
index c38c372589..a795911094 100644
--- a/sysdeps/i386/memcmp.S
+++ b/sysdeps/i386/memcmp.S
@@ -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))